First published: Fri Dec 23 2016(Updated: )
### Impact The `mailSend` function in the default `isMail` transport in PHPMailer before 5.2.18 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 `Sender` property. ### Patches Fixed in 5.2.18 ### Workarounds Filter and validate user input before passing it to internal functions. ### References https://nvd.nist.gov/vuln/detail/CVE-2016-10033 Related to a follow-on issue in https://nvd.nist.gov/vuln/detail/CVE-2016-10045 ### For more information If you have any questions or comments about this advisory: * Open a private issue in [the PHPMailer project](https://github.com/PHPMailer/PHPMailer)
Credit: cve@mitre.org cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
composer/phpmailer/phpmailer | >=5.0.0<5.2.18 | 5.2.18 |
composer/phpmailer/phpmailer | >=5.0.0<5.2.18 | 5.2.18 |
Phpmailer Project Phpmailer | <5.2.18 | |
WordPress WordPress | <=4.7 | |
Joomla Joomla\! | >=1.5.0<=3.6.5 | |
debian/libphp-phpmailer | 6.2.0-2 6.6.3-1 6.9.1-1 |
https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-10033 allows remote attackers to execute arbitrary code by passing extra parameters to the mail command via a crafted Sender property.
To fix CVE-2016-10033, update PHPMailer to version 5.2.18 or higher.
CVE-2016-10033 has a severity level of 9.8 (Critical).
You can find more information about CVE-2016-10033 on the GitHub release page and the NVD website.
PHPMailer before version 5.2.18, libphp-phpmailer package, WordPress before version 4.7, and Joomla versions 1.5.0 to 3.6.5 are affected by CVE-2016-10033.