CVE-2016-10074

NameCVE-2016-10074
DescriptionThe mail transport (aka Swift_Transport_MailTransport) in Swift Mailer before 5.4.5 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted e-mail address in the (1) From, (2) ReturnPath, or (3) Sender header.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-792-1, DSA-3769-1
NVD severityhigh (attack range: remote)
Debian Bugs849626

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libphp-swiftmailer (PTS)wheezy4.1.5-1vulnerable
wheezy (security)4.1.5-1+deb7u1fixed
jessie (security), jessie5.2.2-1+deb8u1fixed
buster, stretch, sid5.4.2-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libphp-swiftmailersource(unstable)5.4.2-1.1high849626
libphp-swiftmailersourcejessie5.2.2-1+deb8u1highDSA-3769-1
libphp-swiftmailersourcewheezy4.1.5-1+deb7u1highDLA-792-1

Notes

https://legalhackers.com/advisories/SwiftMailer-Exploit-Remote-Code-Exec-CVE-2016-10074-Vuln.html
https://github.com/swiftmailer/swiftmailer/issues/844
Fixed by https://github.com/swiftmailer/swiftmailer/commit/e6ccf40d856af9598b76eb313b215eed25ae9e86

Search for package or bug name: Reporting problems