ID:1764 - Exploit for Remote code injection in PHPMailer - CVE-2016-10045

 
Main Vulnerability Database Exploits ID:1764 - Exploit for Remote code injection in PHPMailer - CVE-2016-10045

ID:1764 - Exploit for Remote code injection in PHPMailer - CVE-2016-10045

Published: March 18, 2020


Vulnerability identifier: #VU3119
Vulnerability risk: High
CVE-ID: CVE-2016-10045
CWE-ID: CWE-94
Exploitation vector: Remote access
Vulnerable software:
PHPMailer

Link to public exploit:


Vulnerability description

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

The vulnerability exists in PHPMailer due to insufficient sanitization of user-supplied input, when Sender property is not set. 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.

Note: this vulnerability exists due to incorrect fix for vulnerability SB2016122601 (CVE-2016-10033)



Remediation

Install the latest version 5.2.21 from vendor's website.