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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-2731-1 wordpress security update
EUVD EUVD EUVD-2021-1129 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.
Github GHSA Github GHSA GHSA-m298-fh5c-jc66 Object injection in PHPMailer/PHPMailer
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T17:23:10.518Z

Reserved: 2021-04-28T00:00:00

Link: CVE-2020-36326

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-04-28T03:15:07.400

Modified: 2024-11-21T05:29:17.330

Link: CVE-2020-36326

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.