#VU3118 Remote code injection in PHPMailer - CVE-2016-10033

 

#VU3118 Remote code injection in PHPMailer - CVE-2016-10033

Published: December 30, 2016 / Updated: July 7, 2025


Vulnerability identifier: #VU3118
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2016-10033
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vulnerable software:
PHPMailer
Software vendor:
phpmailer.sourceforge.net

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to insufficient sanitization of user-supplied input passed via specially crafted “From” address to mailSend() function. A remote attacker can use backslashed double quote character (e.g. \") to pass additional commands to original mail command and execute them with privileges of the current web server user.

Successful exploitation of the vulnerability may result in system compromise.



Remediation

Install the latest version 5.2.21 from vendor's website.

External links