CVE-2016-10045

CRITICAL

PHPMailer <5.2.20 - RCE

Title source: llm

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.

Exploits (3)

exploitdb WORKING POC
by phackt_ul · pythonwebappsphp
https://www.exploit-db.com/exploits/42221
exploitdb WORKING POC
by Dawid Golunski · pythonwebappsphp
https://www.exploit-db.com/exploits/40986
exploitdb WORKING POC
by Dawid Golunski · pythonwebappsphp
https://www.exploit-db.com/exploits/40969

References (15)

Scores

CVSS v3 9.8
EPSS 0.9337
EPSS Percentile 99.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-77
Status published
Products (4)
joomla/joomla\! 1.5.0 - 3.6.5
phpmailer/phpmailer 5.0.0 - 5.2.20Packagist
phpmailer_project/phpmailer < 5.2.20
wordpress/wordpress < 4.7
Published Dec 30, 2016
Tracked Since Feb 18, 2026