### [CVE-2016-10074](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-10074) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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. ### POC #### Reference - http://packetstormsecurity.com/files/140290/SwiftMailer-Remote-Code-Execution.html - http://seclists.org/fulldisclosure/2016/Dec/86 - 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/ #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/aklmtst/PHPMailer-Remote-Code-Execution-Exploit - https://github.com/pitecozz/RCE-VUL