CVE-2016-10045

critical

Description

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.

References

https://www.exploit-db.com/exploits/42221/

https://www.exploit-db.com/exploits/40986/

https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities

https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20

https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html

http://www.securitytracker.com/id/1037533

http://www.securityfocus.com/archive/1/539967/100/0/threaded

http://seclists.org/fulldisclosure/2016/Dec/81

http://openwall.com/lists/oss-security/2016/12/28/1

Details

Source: Mitre, NVD

Published: 2016-12-30

Updated: 2021-09-30

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical