CVE-2016-10045
Summary
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.
Impact & exploitability
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products we track (1)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Official patch: http://openwall.com/lists/oss-security/2016/12/28/1 ↗
Additional information
- NVD record
- http://openwall.com/lists/oss-security/2016/12/28/1Patch
- http://seclists.org/fulldisclosure/2016/Dec/81Patch
- http://www.securityfocus.com/archive/1/539967/100/0/threadedAdvisory
- http://www.securitytracker.com/id/1037533Advisory
- http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.htmlAdvisory
- http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.htmlAdvisory
- http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injectionAdvisory
- http://www.securityfocus.com/bid/95130Advisory