CVE-2017-5223
CVSS V2 Low 2.1
CVSS V3 Medium 5.5
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.
Overview
- CVE ID
- CVE-2017-5223
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2017-01-16T06:59:00
- Last Modified Date
- 2017-10-28T01:29:05
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* | 1 | OR | 5.2.21 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- LOCAL
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 2.1
- Severity
- LOW
- Exploitability Score
- 3.9
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 5.5
- Base Severity
- MEDIUM
- Exploitability Score
- 1.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md | Issue Tracking Patch Third Party Advisory |
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://www.exploit-db.com/exploits/43056/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-5223 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5223 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 08:12:59 | Added to TrackCVE | |||
2022-12-02 12:57:05 | 2017-01-16T06:59Z | 2017-01-16T06:59:00 | CVE Published Date | updated |
2022-12-02 12:57:05 | 2017-10-28T01:29:05 | CVE Modified Date | updated | |
2022-12-02 12:57:05 | Modified | Vulnerability Status | updated |