Vulnerability Name: | CVE-2021-3603 (CCN-203958) | ||||||||||||
Assigned: | 2021-06-15 | ||||||||||||
Published: | 2021-06-15 | ||||||||||||
Updated: | 2021-09-20 | ||||||||||||
Summary: | PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the $patternselect parameter to validateAddress() is set to 'php' (the default, defined by PHPMailer::$validator), and the global namespace contains a function called php, it will be called in preference to the built-in validator of the same name. Mitigated in PHPMailer 6.5.0 by denying the use of simple strings as validator function names. | ||||||||||||
CVSS v3 Severity: | 8.1 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) 7.1 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
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)
| ||||||||||||
CVSS v2 Severity: | 6.8 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P)
| ||||||||||||
Vulnerability Type: | CWE-829 | ||||||||||||
Vulnerability Consequences: | Gain Access | ||||||||||||
References: | Source: MITRE Type: CNA CVE-2021-3603 Source: XF Type: UNKNOWN phpmailer-cve20213603-code-exec(203958) Source: CCN Type: PHPMailer GIT Repository Deny string-based callables altogether Source: MISC Type: Patch, Third Party Advisory https://github.com/PHPMailer/PHPMailer/commit/45f3c18dc6a2de1cb1bf49b9b249a9ee36a5f7f3 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-ef548cb234 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2021-bfc34b3d5c Source: CONFIRM Type: Product https://www.huntr.dev/bounties/1-PHPMailer/PHPMailer/ | ||||||||||||
Vulnerable Configuration: | Configuration 1: Configuration 2: ![]() | ||||||||||||
BACK |