Debian: DSA-3104-1: bsd-mailx security update

    Date16 Dec 2014
    CategoryDebian
    63
    Posted ByLinuxSecurity Advisories
    It was discovered that bsd-mailx, an implementation of the "mail" command, had an undocumented feature which treats syntactically valid email addresses as shell commands to execute.
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1
    
    - -------------------------------------------------------------------------
    Debian Security Advisory DSA-3104-1                   This email address is being protected from spambots. You need JavaScript enabled to view it.
    http://www.debian.org/security/                            Florian Weimer
    December 16, 2014                      http://www.debian.org/security/faq
    - -------------------------------------------------------------------------
    
    Package        : bsd-mailx
    CVE ID         : CVE-2014-7844
    
    It was discovered that bsd-mailx, an implementation of the "mail"
    command, had an undocumented feature which treats syntactically valid
    email addresses as shell commands to execute.
    
    Users who need this feature can re-enable it using the "expandaddr" in
    an appropriate mailrc file.  This update also removes the obsolete -T
    option.  An older security vulnerability, CVE-2004-2771, had already
    been addressed in the Debian's bsd-mailx package.
    
    Note that this security update does not remove all mailx facilities
    for command execution, though.  Scripts which send mail to addresses
    obtained from an untrusted source (such as a web form) should use the
    "--" separator before the email addresses (which was fixed to work
    properly in this update), or they should be changed to invoke
    "mail -t" or "sendmail -i -t" instead, passing the recipient addresses
    as part of the mail header.
    
    For the stable distribution (wheezy), this problem has been fixed in
    version 8.1.2-0.20111106cvs-1+deb7u1.
    
    We recommend that you upgrade your bsd-mailx packages.
    
    Further information about Debian Security Advisories, how to apply
    these updates to your system and frequently asked questions can be
    found at: https://www.debian.org/security/
    
    Mailing list: This email address is being protected from spambots. You need JavaScript enabled to view it.
    
    You are not authorised to post comments.

    Comments powered by CComment

    LinuxSecurity Poll

    Do you read our distribution advisories on a regular basis?

    No answer selected. Please try again.
    Please select either existing option or enter your own, however not both.
    Please select minimum 0 answer(s) and maximum 3 answer(s).
    /component/communitypolls/?task=poll.vote&format=json
    23
    radio
    [{"id":"84","title":"Yes, for a single distribution","votes":"0","type":"x","order":"1","pct":0,"resources":[]},{"id":"85","title":"Yes, for multiple distributions","votes":"6","type":"x","order":"2","pct":60,"resources":[]},{"id":"86","title":"No","votes":"4","type":"x","order":"3","pct":40,"resources":[]}]["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"]["rgba(255,91,0,0.7)","rgba(74,192,242,0.7)","rgba(184,0,40,0.7)","rgba(238,246,108,0.7)","rgba(96,187,34,0.7)","rgba(185,106,154,0.7)","rgba(98,194,204,0.7)"]350
    bottom200

    We use cookies to provide and improve our services. By using our site, you consent to our Cookie Policy.