Bug 1955756 (CVE-2020-36326) - CVE-2020-36326 php-phpmailer6: Object injection through Phar Deserialization via addAttachment with a UNC pathname
Summary: CVE-2020-36326 php-phpmailer6: Object injection through Phar Deserialization ...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-36326
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1955757
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-30 18:13 UTC by Pedro Sampaio
Modified: 2021-04-30 22:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-30 22:46:43 UTC


Attachments (Terms of Use)

Description Pedro Sampaio 2021-04-30 18:13:23 UTC
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.

References:

https://github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9

Comment 1 Pedro Sampaio 2021-04-30 18:13:44 UTC
Created php-phpmailer6 tracking bugs for this issue:

Affects: fedora-all [bug 1955757]

Comment 2 Product Security DevOps Team 2021-04-30 22:46:43 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.