PT-2018-2631

CVE-2018-19296

·

Published

2018-11-16

·

Updated

2023-03-15

Description by

CVSS 3.1
8.8
High
MetricsAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions PHPMailer versions prior to 5.2.27 PHPMailer versions 6.x prior to 6.0.6
Description The issue is related to insufficient input validation in the PHPMailer library, allowing a remote attacker to perform an object injection attack. This could potentially lead to remote code execution. The vulnerability can be exploited by passing phar:// paths into functions like addAttachment(), which may receive unfiltered local paths. It is reported that the estimated number of potentially affected devices is not provided.
Recommendations For PHPMailer versions prior to 5.2.27, update to version 5.2.27 or later. For PHPMailer versions 6.x prior to 6.0.6, update to version 6.0.6 or later. As a temporary workaround, consider validating and sanitizing user input before using it, and block the use of paths containing URL-protocol style prefixes such as phar://.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-7W4P-72J7-V7C2
DLA-1591-1
DLA-1591-2
DLA-2731-1
DSA-4351-1
MGASA-2019-0010
USN-5956-1
Found an issue in the description? Have something to add? Feel free to write us 👾