CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2016-10033

The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted Sender property.
Publish Date : 2016-12-30 Last Update Date : 2017-01-25
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.5
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 77

- Products Affected By CVE-2016-10033

# Product Type Vendor Product Version Update Edition Language
1 Application Phpmailer Project Phpmailer 5.2.17 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Phpmailer Project Phpmailer 1

- References For CVE-2016-10033

https://www.exploit-db.com/exploits/40970/
EXPLOIT-DB 40970
https://www.exploit-db.com/exploits/40968/
EXPLOIT-DB 40968
https://www.drupal.org/psa-2016-004 CONFIRM
http://www.securityfocus.com/archive/1/archive/1/539963/100/0/threaded
BUGTRAQ 20161227 PHPMailer < 5.2.18 Remote Code Execution [updated advisory] [CVE-2016-10033]
https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities CONFIRM
https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.18 CONFIRM
http://seclists.org/fulldisclosure/2016/Dec/78
FULLDISC 20161227 PHPMailer < 5.2.18 Remote Code Execution [CVE-2016-10033]
http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection
http://packetstormsecurity.com/files/140291/PHPMailer-Remote-Code-Execution.html
http://www.securityfocus.com/bid/95108
BID 95108 PHPMailer CVE-2016-10033 Remote Code Execution Vulnerability Release Date:2017-01-16
https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html CONFIRM
http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html
https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html

- Metasploit Modules Related To CVE-2016-10033

PHPMailer Sendmail Argument Injection
PHPMailer versions up to and including 5.2.19 are affected by a vulnerability which can be leveraged by an attacker to write a file with partially controlled contents to an arbitrary location through injection of arguments that are passed to the sendmail binary. This module writes a payload to the web root of the webserver before then executing it with an HTTP request. The user running PHPMailer must have write access to the specified WEB_ROOT directory and successful exploitation can take a few minutes.
Module type : exploit Rank : manual Platforms : PHP
WordPress PHPMailer Host Header Command Injection
This module exploits a command injection vulnerability in WordPress version 4.6 with Exim as an MTA via a spoofed Host header to PHPMailer, a mail-sending library that is bundled with WordPress. A valid WordPress username is required to exploit the vulnerability. Additionally, due to the altered Host header, exploitation is limited to the default virtual host, assuming the header isn't mangled in transit. If the target is running Apache 2.2.32 or 2.4.24 and later, the server may have HttpProtocolOptions set to Strict, preventing a Host header containing parens from passing through, making exploitation unlikely.
Module type : exploit Rank : average Platforms : Linux


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.