Vulnerabilities · 2020 · Phpmailer Project
CVE-2020-36326
Phpmailer Project Phpmailer vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Phpmailer, Wordpress. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Phpmailer Project Phpmailer runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9 · Patch
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K
- github.com/PHPMailer/PHPMailer/security/advisories/GHSA-m298-fh5c-jc66
- nvd.nist.gov/vuln/detail/CVE-2020-36326
- lists.fedoraproject.org/archives/list/[email protected]/message/3B5
- lists.fedoraproject.org/archives/list/[email protected]/message/KPU
- github.com/FriendsOfPHP/security-advisories/blob/master/phpmailer/phpmailer/CVE-2020-36326
- nvd.nist.gov/vuln/detail/CVE-2020-36326
- cve.org/CVERecord?id=CVE-2020-36326
More vulnerabilities in Phpmailer Project products
CVE-2021-34551CVE-2021-3603CVE-2020-13625CVE-2018-19296CVE-2017-11503CVE-2017-5223CVE-2016-10045CVE-2016-10033All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.