==========================================================================
Ubuntu Security Notice USN-2455-1
January 07, 2015
bsd-mailx vulnerability
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
– Ubuntu 14.10
– Ubuntu 14.04 LTS
– Ubuntu 12.04 LTS
– Ubuntu 10.04 LTS
Summary:
bsd-mailx could be made to run programs if it parsed a specially crafted
email address.
Software Description:
– bsd-mailx: simple mail user agent
Details:
It was discovered that bsd-mailx contained a feature that allowed
syntactically valid email addresses to be treated as shell commands. A
remote attacker could possibly use this issue with a valid email address to
execute arbitrary commands.
This functionality has now been disabled by default, and can be re-enabled
with the “expandaddr” configuration option. This update alone does not
remove all possibilities of command execution. In environments where
scripts use mailx to process arbitrary email addresses, it is recommended
to modify them to use a “–” separator before the address to properly
handle those that begin with “-“.
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 14.10:
bsd-mailx 8.1.2-0.20131005cvs-1ubuntu0.14.10.1
Ubuntu 14.04 LTS:
bsd-mailx 8.1.2-0.20131005cvs-1ubuntu0.14.04.1
Ubuntu 12.04 LTS:
bsd-mailx 8.1.2-0.20111106cvs-1ubuntu0.1
Ubuntu 10.04 LTS:
bsd-mailx 8.1.2-0.20090911cvs-2ubuntu1.1
In general, a standard system update will make all the necessary changes.
References:
http://www.ubuntu.com/usn/usn-2455-1
CVE-2014-7844
Package Information:
https://launchpad.net/ubuntu/+source/bsd-mailx/8.1.2-0.20131005cvs-1ubuntu0.14.10.1
https://launchpad.net/ubuntu/+source/bsd-mailx/8.1.2-0.20131005cvs-1ubuntu0.14.04.1
https://launchpad.net/ubuntu/+source/bsd-mailx/8.1.2-0.20111106cvs-1ubuntu0.1
https://launchpad.net/ubuntu/+source/bsd-mailx/8.1.2-0.20090911cvs-2ubuntu1.1
—–BEGIN PGP SIGNATURE—–
Version: GnuPG v1
iQIcBAEBCgAGBQJUrYi1AAoJEGVp2FWnRL6TjtEP/2/1xA0/RtXtWy3ngMZAlx2X
o8a6v4QRfRtoPj0AhDkNzf3d1Mu65uNJ8861svKHNNx4cYzPiWrNmM5mJdsH8W+i
IWR3ZtUtMvrm2NlvX41dBjBejUKAIWFqf26FHal1AYRaDlgwMyr4K9Vpf1dxnYM8
PswQ5v1oq/1jZzP0084fMYRY6ULQxPb1tYLNDphAYA+HyrRS25LctmowS5bsQblN
JMB9dU3Vk7ZoexPmVjbpuB45ki0eOisELDHz/pG0ApGP01O0IuMiQXPBTfax1x+w
qjnJEn85zRPzlglb7u5Kby01xCFLivd/41b73/N3P4zV7tQZ3nnhXr0HkMzfpsWj
xsCN60lJJPxhRZtrEjUnKqbqpkRZ+pZ8fci8iDTZoThkd0nFOij0LwAHfe4BpZ1g
TJbla1Qj5AxDe24bkFEOIdktep/noeh3HUg2aySDpf+8bTqlk0Rui/LCKXzxlv0J
W8pSx6LRKA08SmwTxcdiAnJnBdF14fcBHZpdr3t8DhOkVhHfIDyO0te6o3RcHsTr
neZg0T81CGH4xgz/mdCj/frle047bPTpdhQoosrcodjDZk5AeBtgziDf2/cpGzaR
UxpI/JHM003AMnUZqJ3FmT/HRtgwx8kDCLgaGDZnmguo7eoQuQBFzZcX2+S8xcdN
wIgcfidqZs0JHHQP4tN4
=yi6I
—–END PGP SIGNATURE—–
—