Skip to main content
← All vulnerabilities
CVE-2016-10045GHSA-4PC3-96MX-WWC8

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently e

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.2.20
3 on Exploit-DB, 1 Metasploit module

Summary

The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code by leveraging improper interaction between the escapeshellarg function and internal escaping performed in the mail function in PHP. NOTE: this vulnerability exists because of an incorrect fix for CVE-2016-10033.

Timeline

  1. Public exploit on Exploit-DB

    EDB-40969, EDB-40986, EDB-42221

  2. CVE published
  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • phpmailer/phpmailerPackagist

    From 5.0.0 · fixed in 5.2.20

References 19

packetstormsecurity.com

Exploit-DB

securityfocus.com

openwall.com

GitHub · PHPMailer/PHPMailer

rapid7.com

legalhackers.com

seclists.org

securitytracker.com

developer.joomla.org

GitHub · rapid7/metasploit-framework