VDB
CVE-2017-5223
CVE-2017-5223
PUBLISHED
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.
EPSS 2.92% · 86.7th percentile
Risk Scores
EPSS Score
2.92%
86.7th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | libphp-phpmailer | 0, 5.2.14+dfsg-1, 5.2.14+dfsg-1build1 |
Exploit Intelligence
- cscli/CVE-2017-5223 (github-poc-repo)
- cscli/CVE-2017-5223 (github-poc-repo)
- cscli/CVE-2017-5223 (github-poc-repo)
- cscli/CVE-2017-5223 (github-poc-repo)
- cscli/CVE-2017-5223 (github-poc-repo)
- cscli/CVE-2017-5223 (github-poc-repo)
- cscli/CVE-2017-5223 (github-poc-repo)
- http://kalilinux.co/2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis/ (nist-nvd)
- cscli/CVE-2017-5223 (github-poc)
- cscli/CVE-2017-5223 (github-poc)
…and 9 more exploits
Timeline
- Jan 16, 2017 CVE Published
- Oct 26, 2017 PoC Published
- Oct 28, 2017 CVE Updated
- Apr 14, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Feb 4, 2022 EPSS Score
- May 2, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
- Mar 7, 2023 EPSS Score
- Mar 11, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2017-5223 third-party-advisory
- http://kalilinux.co/2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis/ third-party-advisory
- https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md third-party-advisory
- https://ubuntu.com/security/notices/USN-5956-1 vendor-advisory
- https://www.cve.org/CVERecord?id=CVE-2017-5223 third-party-advisory