Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.108051
Category:Web application abuses
Title:PHPMailer < 5.2.22 Local Information Disclosure Vulnerability
Summary:PHPMailer is prone to a local information disclosure vulnerability.
Description:Summary:
PHPMailer is prone to a local information disclosure vulnerability.

Vulnerability Insight:
The flaw exists because 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.

Vulnerability Impact:
Attackers can exploit this issue to obtain sensitive information
that may aid in launching further attacks.

Affected Software/OS:
PHPMailer versions 5.0.0 through 5.2.20 are vulnerable.

Solution:
Upgrade to PHPMailer 5.2.22 or later.

CVSS Score:
2.1

CVSS Vector:
AV:L/AC:L/Au:N/C:P/I:N/A:N

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2017-5223
BugTraq ID: 95328
http://www.securityfocus.com/bid/95328
https://www.exploit-db.com/exploits/43056/
http://kalilinux.co/2017/01/12/phpmailer-cve-2017-5223-local-information-disclosure-vulnerability-analysis/
https://github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md
CopyrightCopyright (C) 2017 Greenbone Networks GmbH

This is only one of 145615 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.