Alerts This Week
Warning Icon 1 619
Alerts This Week
Warning Icon 1 619

Debian DSA-3104-1 Critical Vulnerability in Bsd-Mailx Execution Risk

debian
Calendar Grey December 16, 2014
Debian Logo
Uncover the Debian DSA-3105-1 notice concerning bsd-mailx, which tackles a severe execution flaw in managing emails.
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

Summary

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...

Read the Full Advisory

Severity
critical
Lowest
Low
Medium
High
Critical

Package: bsd-mailx
CVE ID: CVE-2014-7844

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here