CVE-2017-5223
PHPMailer Local File Inclusion Vulnerability
Description
An issue was discovered in PHPMailer before 5.2.22. PHPMailer's msgHTML method applies transformations to an HTML document to make it usable as an email message body. One of the transformations is to convert relative image URLs into attachments using a script-provided base directory. If no base directory is provided, it resolves to /, meaning that relative image URLs get treated as absolute local file paths and added as attachments. To form a remote vulnerability, the msgHTML method must be called, passed an unfiltered, user-supplied HTML document, and must not set a base directory.
INFO
Published Date :
Jan. 16, 2017, 6:59 a.m.
Last Modified :
Oct. 28, 2017, 1:29 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2017-5223 has a 117 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-2017-5223
.
URL | Resource |
---|---|
http://kalilinux.co/2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis/ | Exploit Third Party Advisory |
http://www.securityfocus.com/bid/95328 | Third Party Advisory VDB Entry |
https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md | Issue Tracking Patch Third Party Advisory |
https://www.exploit-db.com/exploits/43056/ |
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
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
None
PHP JavaScript Hack CSS
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-5223
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-5223
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 -
CVE Modified by [email protected]
Oct. 28, 2017
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/43056/ [No Types Assigned] -
Initial Analysis by [email protected]
Jan. 18, 2017
Action Type Old Value New Value Added CVSS V2 (AV:L/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Changed Reference Type http://www.securityfocus.com/bid/95328 No Types Assigned http://www.securityfocus.com/bid/95328 Third Party Advisory, VDB Entry Changed Reference Type http://kalilinux.co/2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis/ No Types Assigned http://kalilinux.co/2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis/ Third Party Advisory, Exploit Changed Reference Type https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md No Types Assigned https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md Third Party Advisory, Issue Tracking, Patch Added CWE CWE-200 Added CPE Configuration OR *cpe:2.3:a:phpmailer_project:phpmailer:5.2.21:*:*:*:*:*:*:* (and previous) -
CVE Modified by [email protected]
Jan. 18, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/95328 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-5223
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-2017-5223
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
92.33 }} -1.10%
score
0.99036
percentile