Record summary

CVE-2017-5223 has a selected CVSS score of 5.5 (medium); EIP currently links 1 catalogued exploit and 1 repository PoC.

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.

Description source: CVE List

Exploitation context

Available material

Catalogued exploits
1
Repository PoCs
1

Affected products and versions

1
ProductSourceVersion rangeStatus
GitHub Advisory5.0.0 to < 5.2.22 · Fixed in 5.2.22affected

Proofs of concept

2

Catalogued exploits

ExploitDBPHPMailer < 5.2.21 - Local File DisclosureExploitDB exploitby Maciek KrupaNot analyzed1 file
ExploitDB

PoC details

Repository PoCs

GitHubcscli/CVE-2017-5223Repository PoCby cscliStars: 1Not analyzed2 files

1.5 KiB

GitHub

PoC details

References

8