CVE-2016-10045
PHPMailer Escaped Command Injection
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.
INFO
Published Date :
Dec. 30, 2016, 7:59 p.m.
Last Modified :
Sept. 30, 2021, 4:30 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2016-10045 has a 123 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2016-10045
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2016-10045
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
PHP Hack CSS JavaScript Shell HTML
None
PHP JavaScript Hack CSS
None
PHP JavaScript Hack
None
PHP Hack HTML JavaScript
None
Python
None
PHP HTML
None
PHP Hack
Exemplo de Crud Feito em PHP de um sistema de reservas
PHP Hack CSS
This project is entitled Online Flight Booking Management System. It is a web-based application developed using PHP Language as the back end and MySQL as the database.
PHP CSS Hack SCSS
None
PHP Shell
None
PHP JavaScript Hack CSS
None
PHP Shell
None
PHP Shell
PHP Project
CSS PHP JavaScript Hack SCSS
None
PHP Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2016-10045
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2016-10045
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Sep. 30, 2021
Action Type Old Value New Value Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html Exploit, Third Party Advisory http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html Exploit, Third Party Advisory http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://seclists.org/fulldisclosure/2016/Dec/81 Mailing List, Patch http://seclists.org/fulldisclosure/2016/Dec/81 Mailing List, Patch, Third Party Advisory Changed Reference Type http://www.securityfocus.com/archive/1/539967/100/0/threaded No Types Assigned http://www.securityfocus.com/archive/1/539967/100/0/threaded Third Party Advisory, VDB Entry Changed Reference Type http://www.securitytracker.com/id/1037533 No Types Assigned http://www.securitytracker.com/id/1037533 Third Party Advisory, VDB Entry Changed Reference Type https://www.exploit-db.com/exploits/40969/ Exploit, Third Party Advisory https://www.exploit-db.com/exploits/40969/ Exploit, Third Party Advisory, VDB Entry Changed Reference Type https://www.exploit-db.com/exploits/40986/ No Types Assigned https://www.exploit-db.com/exploits/40986/ Third Party Advisory, VDB Entry Changed Reference Type https://www.exploit-db.com/exploits/42221/ No Types Assigned https://www.exploit-db.com/exploits/42221/ Third Party Advisory, VDB Entry Changed CPE Configuration OR *cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* versions up to (including) 5.2.19 OR *cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* versions up to (excluding) 5.2.20 Added CPE Configuration OR *cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* versions up to (including) 4.7 Added CPE Configuration OR *cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:* versions from (including) 1.5.0 up to (including) 3.6.5 -
CVE Modified by [email protected]
Oct. 09, 2018
Action Type Old Value New Value Removed Reference http://www.securityfocus.com/archive/1/archive/1/539967/100/0/threaded [Exploit, Patch, Third Party Advisory, VDB Entry] Added Reference http://www.securityfocus.com/archive/1/539967/100/0/threaded [No Types Assigned] -
CVE Modified by [email protected]
Sep. 03, 2017
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/40986/ [No Types Assigned] -
CVE Modified by [email protected]
Aug. 12, 2017
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/42221/ [No Types Assigned] -
CVE Modified by [email protected]
Jul. 27, 2017
Action Type Old Value New Value Added Reference http://www.securitytracker.com/id/1037533 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 26, 2017
Action Type Old Value New Value Changed Description The isMail transport in PHPMailer before 5.2.20, when the Sender property is not set, 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. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033. 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. -
Reanalysis by [email protected]
Jan. 25, 2017
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:phpmailer_project:phpmailer:5.2.19:*:*:*:*:*:*:* OR *cpe:2.3:a:phpmailer_project:phpmailer:5.2.19:*:*:*:*:*:*:* (and previous) -
Modified Analysis by [email protected]
Jan. 23, 2017
Action Type Old Value New Value Changed CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P) (AV:N/AC:L/Au:N/C:P/I:P/A:P) Changed CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection No Types Assigned http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection Third Party Advisory, Exploit Changed Reference Type http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html No Types Assigned http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html Third Party Advisory, Exploit -
CVE Modified by [email protected]
Jan. 07, 2017
Action Type Old Value New Value Added Reference http://www.rapid7.com/db/modules/exploit/multi/http/phpmailer_arg_injection [No Types Assigned] Added Reference http://packetstormsecurity.com/files/140350/PHPMailer-Sendmail-Argument-Injection.html [No Types Assigned] -
Initial Analysis by [email protected]
Jan. 03, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/140286/PHPMailer-Remote-Code-Execution.html Third Party Advisory, Exploit Changed Reference Type http://openwall.com/lists/oss-security/2016/12/28/1 No Types Assigned http://openwall.com/lists/oss-security/2016/12/28/1 Mailing List, Patch Changed Reference Type http://seclists.org/fulldisclosure/2016/Dec/81 No Types Assigned http://seclists.org/fulldisclosure/2016/Dec/81 Mailing List, Patch Changed Reference Type https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities No Types Assigned https://github.com/PHPMailer/PHPMailer/wiki/About-the-CVE-2016-10033-and-CVE-2016-10045-vulnerabilities Vendor Advisory, Patch Changed Reference Type https://www.exploit-db.com/exploits/40969/ No Types Assigned https://www.exploit-db.com/exploits/40969/ Third Party Advisory, Exploit Changed Reference Type https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html No Types Assigned https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html Third Party Advisory, Exploit, Patch Changed Reference Type https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html No Types Assigned https://developer.joomla.org/security-centre/668-20161205-phpmailer-security-advisory.html Third Party Advisory Changed Reference Type http://www.securityfocus.com/bid/95130 No Types Assigned http://www.securityfocus.com/bid/95130 Third Party Advisory, VDB Entry, Exploit Changed Reference Type http://www.securityfocus.com/archive/1/archive/1/539967/100/0/threaded No Types Assigned http://www.securityfocus.com/archive/1/archive/1/539967/100/0/threaded Third Party Advisory, VDB Entry, Exploit, Patch Changed Reference Type https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20 No Types Assigned https://github.com/PHPMailer/PHPMailer/releases/tag/v5.2.20 Vendor Advisory, Patch Added CWE CWE-77 Added CPE Configuration OR *cpe:2.3:a:phpmailer_project:phpmailer:5.2.19:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2016-10045
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2016-10045
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
96.72 }} 0.04%
score
0.99697
percentile