CVE-2021-3603 Vulnerability Details

  /     /     /  

CVE-2021-3603 Metadata Quick Info

CVE Published: 17/06/2021 | CVE Updated: 03/08/2024 | CVE Year: 2021
Source: @huntrdev | Vendor: PHPMailer | Product: PHPMailer
Status : PUBLISHED

CVE-2021-3603 Description

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.

Metrics

CVSS Version: 3.1 | Base Score: 8.1 HIGH
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

l➤ Exploitability Metrics:
    Attack Vector (AV)* NETWORK
    Attack Complexity (AC)* HIGH
    Privileges Required (PR)* NONE
    User Interaction (UI)* NONE
    Scope (S)* UNCHANGED

l➤ Impact Metrics:
    Confidentiality Impact (C)* HIGH
    Integrity Impact (I)* HIGH
    Availability Impact (A)* HIGH

Weakness Enumeration (CWE)

CWE-ID: CWE-829
CWE Name: CWE-829 Inclusion of Functionality from Untrusted Control Sphere
Source: PHPMailer

Common Attack Pattern Enumeration and Classification (CAPEC)

CAPEC-ID:
CAPEC Description:


Source: NVD (National Vulnerability Database).