Arbitrary file upload in Phpmailer Project
CVE-2021-34551
PHPMailer before 6.5.0 on Windows allows remote code execution if lang_path is untrusted data and has a UNC pathname.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 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.
EPSS exploit prediction
EPSS 0.028, 86.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Phpmailer Project
- Fedoraproject Fedora — versions 33, 34
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, KatenKyoukotsu/devsecops). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/PHPMailer/PHPMailer/blob/master/SECURITY.md (Third Party Advisory, Issue Tracking)
- FEDORA-2021-bfc34b3d5c (vendor-advisory)
- FEDORA-2021-ef548cb234 (vendor-advisory)