Mail command execution vulnerability in PHPMailer

Patch nowFull system takeover over the network, no login needed.
9.8CRITICAL

CVE-2016-10033

Key Information:

Vendor

PHPmailer Project

Status
PHPmailer
CVE ID
CVE ID:
CVE-2016-10033
Vendor
CVE Published:
30 December 2016

Timeline

Exploit known 2700 days after it was published

  • ๐Ÿฆ…

    CISA Reported

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC๐ŸŸฃ EPSS 99%๐Ÿฆ… CISA Reported

How risky is it?

  • Yes: Works over the network, no login needed
  • Yes: Public exploit code (20 proof-of-concepts)
  • Yes: Attacked in the wild (on CISA's KEV list)
  • No: No ransomware use seen

Our verdict

Patch now

Attackers are using it. Patch or mitigate today.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Follow CISA's required action

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

3Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach PHPmailer. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

4Look for signs of compromise

It is being exploited in the wild, so check logs on exposed PHPmailer systems for unusual requests or new processes from before you patched. The 20 public proof-of-concepts show what an attack looks like.

5Why it's rated "Patch now"
  • CISA lists it as a Known Exploited Vulnerability, so it is being attacked in the wild.
  • Exploit code is public, so attacks are easy to copy.
  • It can be exploited remotely without credentials.
  • EPSS gives it a 99.7% chance of exploitation in the next 30 days.
  • Its CVSS severity is critical (9.8).

What is CVE-2016-10033?

A vulnerability exists in the mailSend function of the isMail transport in PHPMailer prior to version 5.2.18. This flaw enables remote attackers to inject additional parameters into the mail command, thus potentially executing arbitrary code. The exploitation occurs through a crafted Sender property containing a backslash double quote ('"'). As a result, the security of applications relying on this mail transport may be compromised, allowing for unauthorized operations and code execution.

CISA has reported CVE-2016-10033

CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerous vulnerabilities and have identified CVE-2016-10033 as being exploited . Neither CISA nor our sources have linked it to ransomware campaigns so far.

The CISA's recommendation is: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

EPSS Score

99% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.