Vulnerabilities · 2016 · Phpmailer Project
CVE-2016-10045
Phpmailer Project Phpmailer vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Phpmailer, Wordpress, Joomla\!. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Phpmailer Project Phpmailer runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20 · Patch
- github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabil · Patch
- openwall.com/lists/oss-security/2016/12/28/1 · Patch
- seclists.org/fulldisclosure/2016/Dec/81 · Patch
- legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-B · Exploit
- packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html · Exploit
- packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html · Exploit
- www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection · Exploit
- nvd.nist.gov/vuln/detail/CVE-2016-10045
- cve.org/CVERecord?id=CVE-2016-10045
More vulnerabilities in Phpmailer Project products
CVE-2021-34551CVE-2021-3603CVE-2020-36326CVE-2020-13625CVE-2018-19296CVE-2017-11503CVE-2017-5223CVE-2016-10033All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.