Bug 1412216 (CVE-2016-10045) - CVE-2016-10045 phpmailer: Parameter injection via mail() function
Summary: CVE-2016-10045 phpmailer: Parameter injection via mail() function
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: CVE-2016-10045
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-11 14:35 UTC by Andrej Nemec
Modified: 2021-02-04 00:51 UTC (History)
0 users

Fixed In Version: php-PHPMailer-5.2.20
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-11 14:40:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-01-11 14:35:21 UTC
The isMail transport in PHPMailer before 5.2.20, when the Sender property is not set, 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. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.

References:

http://seclists.org/oss-sec/2016/q4/771
https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html


Note You need to log in before you can comment on or make changes to this bug.