Description
PHPMailer 6.1.8 through 6.4.0 allows object injection through Phar Deserialization via addAttachment with a UNC pathname. NOTE: this is similar to CVE-2018-19296, but arose because 6.1.8 fixed a functionality problem in which UNC pathnames were always considered unreadable by PHPMailer, even in safe contexts. As an unintended side effect, this fix eliminated the code that blocked addAttachment exploitation. WordPress Source: https://wordpress.org/news/2021/05/wordpress-5-7-2-security-release/
Remediation
References
Related Vulnerabilities
Oracle JRE CVE-2012-0498 Vulnerability (CVE-2012-0498)
Joomla! Core Cross-Site Scripting (1.6.0 - 3.6.0)
MySQL CVE-2024-20975 Vulnerability (CVE-2024-20975)
Internet Information Services Other Vulnerability (CVE-2002-0148)
phpBB Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2002-2346)