AI summary
The mailSend function in the isMail transport of PHPMailer before 5.2.18 may allow remote attackers to pass extra parameters to the mail command and execute arbitrary code via a backslash and double quote in a crafted Sender property.
Generated automatically from the source description. Check the sources below before acting.
Arbitrary code execution in PHPMailer
PHP PHPMailer
At a glance
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted Sender property.
Source description · CVE List / CNA
System impact
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 99.714%
- Exploited in attacks:
- Confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:joomla | joomla! | Affected versions: ≥ 1.5.0, ≤ 3.6.5 |
| Vendor:phpmailer_project | phpmailer | Affected versions: < 5.2.18 |
| Vendor:wordpress | wordpress | Affected versions: ≤ 4.7 |
| Vendor:Debian | libphp-phpmailerEnvironments (4)
| Affected versions: < 5.2.14+dfsg-2.1 |
| Vendor:Fedora | php-PHPMailerEnvironments (1)
| Affected versions: < 0:5.2.22-1.fc24 |
| Vendor:Fedora | php-PHPMailerEnvironments (1)
| Affected versions: < 0:5.2.21-1.fc25 |
| Vendor:Canonical | libphp-phpmailerEnvironments (1)
| Affected versions: < 5.2.14+dfsg-1ubuntu0.1~esm1 |
| Vendor:Arch Linux | wordpress | Affected versions: ≥ 4.7-1, < 4.7.1-1 |
| Vendor:PHP | PHPMailer | Affected versions:Source does not specify a version range |
| Vendor:joomla | joomla! | Affected versions:≥ 1.5.0, ≤ 3.6.5Show full version range for joomla!
|
1–10 of 10 · Page 1 of 1
CVSS scores and metrics8
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP · CVE List / CNA (adp)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H134c704f-9b21-4f2e-91b3-4a467353bcc0 · NVD (Secondary)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVE-2016-10033 · OSV (source-vector)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hcanonical · Wazuh CTI (adp)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)9.8 / 10CriticalCVSS 3.1Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories34
- cve.org
- nvd.nist.gov
- cisa.gov
- OSV
- Wazuh CTI
- FIRST EPSS
- developer.joomla.org
- securitytracker.com
- securityfocus.com
- packetstormsecurity.com
- packetstormsecurity.com
- securityfocus.com
- exploit-db.com
- exploit-db.com
- exploit-db.com
- exploit-db.com
- exploit-db.com
- exploit-db.com
- exploit-db.com
- exploit-db.com
- exploit-db.com
- github.com
- drupal.org
- legalhackers.com
- github.com
- rapid7.com
- seclists.org
- github.com
- security-tracker.debian.org
- security.archlinux.org
- ubuntu.com
- ubuntu.com
- bodhi.fedoraproject.org
- bodhi.fedoraproject.org
CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences