RCE in Swiftmailer
CVE-2016-10074
The 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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.438, 98.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (aklmtst/PHPMailer-Remote-Code-Execution-Exploit, ARPSyndicate/cvemon, ARPSyndicate/cve-scores, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.exploit-db.com/exploits/42221/ (exploit)
- legalhackers.com/advisories/SwiftMailer-Exploit-Remote-Code-Exec-CVE-2016-10074… (Technical Description, Exploit, Third Party Advisory)
- www.securityfocus.com/bid/95140 (Third Party Advisory, VDB Entry, vdb-entry)
- packetstormsecurity.com/files/140290/SwiftMailer-Remote-Code-Execution.html (Exploit, Third Party Advisory)
- 20161229 SwiftMailer <= 5.4.5-DEV Remote Code Execution (CVE-2016-10074) (mailing-list, Exploit, Mailing List)
- www.exploit-db.com/exploits/40972/ (Exploit, exploit, Third Party Advisory)
- www.exploit-db.com/exploits/40986/ (exploit)
- DSA-3769 (vendor-advisory)
- github.com/swiftmailer/swiftmailer/blob/5.x/CHANGES (Patch, Vendor Advisory)