CVE-2016-10074
Description
Swift Mailer mail transport Command Injection
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - 'AIO' 'PwnScriptum' Remote Code Execution
PHPMailer < 5.2.20 with Exim MTA - Remote Code Execution
SwiftMailer < 5.4.5-DEV - Remote Code Execution
OS impact
Debian Fixed 4 releases
| Version | Status | Fixed in |
|---|---|---|
| sid | Fixed | 5.4.2-1.1 |
| forky | Fixed | 5.4.2-1.1 |
| bullseye | Fixed | 5.4.2-1.1 |
| bookworm | Fixed | 5.4.2-1.1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | swiftmailer/swiftmailer | <5.4.5 | 5.4.5 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| swiftmailer | swiftmailer | {"endIncluding":"5.4.4"} | |
References
- http://packetstormsecurity.com/files/140290/SwiftMailer-Remote-Code-Execution.html
- http://seclists.org/fulldisclosure/2016/Dec/86
- http://www.debian.org/security/2017/dsa-3769
- http://www.securityfocus.com/bid/95140
- https://github.com/swiftmailer/swiftmailer/blob/5.x/CHANGES
- https://legalhackers.com/advisories/SwiftMailer-Exploit-Remote-Code-Exec-CVE-2016-10074-Vuln.html
- https://www.exploit-db.com/exploits/40972/
- https://www.exploit-db.com/exploits/40986/
- https://www.exploit-db.com/exploits/42221/
- https://security-tracker.debian.org/tracker/CVE-2016-10074
- https://nvd.nist.gov/vuln/detail/CVE-2016-10074
- https://github.com/FriendsOfPHP/security-advisories/blob/master/swiftmailer/swiftmailer/CVE-2016-10074.yaml
- https://www.exploit-db.com/exploits/40972
- https://www.exploit-db.com/exploits/40986
- https://www.exploit-db.com/exploits/42221
CWEs
CWE-77
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.