CVE-2017-5223 Detail
Modified
This vulnerability has been modified since it was last analyzed by the NVD. It is awaiting reanalysis which may result in further changes to the information provided.
Current 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.
Source:
MITRE
View Analysis Description
Analysis 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.
Source:
MITRE
Impact
CVSS v3.0 Severity and Metrics:
Base Score:
5.5 MEDIUM
Vector:
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
(V3.0 legend)
Impact Score:
3.6
Exploitability Score:
1.8
Attack Vector (AV):
Local
Attack Complexity (AC):
Low
Privileges Required (PR):
Low
User Interaction (UI):
None
Scope (S):
Unchanged
Confidentiality (C):
High
Integrity (I):
None
Availability (A):
None
CVSS v2.0 Severity and Metrics:
Base Score:
2.1 LOW
Vector:
(AV:L/AC:L/Au:N/C:P/I:N/A:N)
(V2 legend)
Impact Subscore:
2.9
Exploitability Subscore:
3.9
Access Vector (AV):
Local
Access Complexity (AC):
Low
Authentication (AU):
None
Confidentiality (C):
Partial
Integrity (I):
None
Availability (A):
None
Additional Information:
Allows unauthorized disclosure of information
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because
they may have information that would be of interest to you. No inferences should be drawn on account of other sites
being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose.
NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further,
NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about
this page to nvd@nist.gov.
Change History
3 change records found
- show changes
CVE Modified by MITRE -
10/27/2017 9:29:05 PM
| Action |
Type |
Old Value |
New Value |
| Added |
Reference |
|
https://www.exploit-db.com/exploits/43056/ [No Types Assigned] |
Initial Analysis -
1/18/2017 1:20:05 PM
| Action |
Type |
Old Value |
New Value |
| Added |
CPE Configuration |
|
OR
*cpe:2.3:a:phpmailer_project:phpmailer:5.2.21:*:*:*:*:*:*:* (and previous) |
| 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 |
| Added |
CWE |
|
CWE-200 |
| 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 |
http://www.securityfocus.com/bid/95328 No Types Assigned |
http://www.securityfocus.com/bid/95328 Third Party Advisory, VDB Entry |
| 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 |
CVE Modified by MITRE -
1/17/2017 9:59:22 PM
| Action |
Type |
Old Value |
New Value |
| Added |
Reference |
|
http://www.securityfocus.com/bid/95328 [No Types Assigned] |
Quick Info
CVE Dictionary Entry:
CVE-2017-5223
NVD Published Date:
01/16/2017
NVD Last Modified:
10/27/2017
|