Vulnerability Name:

CVE-2020-36326 (CCN-200944)

Assigned:2020-10-01
Published:2020-10-01
Updated:2021-06-14
Summary: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.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-502
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2020-36326

Source: XF
Type: UNKNOWN
phpmailer-cve202036326-code-exec(200944)

Source: CCN
Type: PHPMailer GIT Repository
PHPMailer

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9

Source: FEDORA
Type: Third Party Advisory
FEDORA-2021-ecf4fed550

Source: FEDORA
Type: Third Party Advisory
FEDORA-2021-b21bbfa198

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2020-36326

Vulnerable Configuration:Configuration 1:
  • cpe:/a:phpmailer_project:phpmailer:*:*:*:*:*:*:*:* (Version >= 6.1.8 and <= 6.4.0)

  • Configuration 2:
  • cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 3.7 and < 3.7.36)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 3.8 and < 3.8.36)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 3.9 and < 3.9.34)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 4.0 and < 4.0.33)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 4.1 and < 4.1.33)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 4.2 and < 4.2.30)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 4.3 and < 4.3.26)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 4.4 and < 4.4.25)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 4.5 and < 4.5.24)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 4.6 and < 4.6.21)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 4.7 and < 4.7.21)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 4.8 and < 4.8.17)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 5.7 and < 5.7.2)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 5.6 and < 5.6.4)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 5.5 and < 5.5.5)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 5.4 and < 5.4.6)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 4.9 and < 4.9.18)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 5.0 and < 5.0.13)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 5.1 and < 5.1.10)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 5.2 and < 5.2.11)
  • OR cpe:/a:wordpress:wordpress:*:*:*:*:*:*:*:* (Version >= 5.3 and < 5.3.8)

  • Configuration CCN 1:
  • cpe:/a:phpmailer_project:phpmailer:6.1.8:*:*:*:*:*:*:*
  • OR cpe:/a:phpmailer_project:phpmailer:6.4.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    phpmailer_project phpmailer *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    wordpress wordpress *
    phpmailer_project phpmailer 6.1.8
    phpmailer_project phpmailer 6.4.0