CVE-2016-10045
Critical
Description
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.
SeverityCritical
CVSS9.8
Exploit probability100. percentile97.7%
Product
Phpmailer
PublishedDec 30, 2016
First seenDec 30, 2016
Weakness typeCWE-77Command injection
How to fix
Update
- phpmailer_project phpmailer5.2.20 or later
- phpmailer/phpmailer5.2.20 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| phpmailer_project phpmailer | v < 5.2.20 | 5.2.20 |
| wordpress wordpress | v ≤ 4.7 | — |
| joomla joomla\! | 1.5.0 ≤ v ≤ 3.6.5 | — |
| phpmailer/phpmailerPackagist | 5.0.0 ≤ v < 5.2.20 | 5.2.20 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.