CVE-2017-9841
PHPUnit — PHPUnit Command Injection Vulnerability
PHPUnit · CWE-94 — Code injection · in CISA KEV since 2022-02-15
EVRS 87 of 100 Immediate
Out-of-Band / Urgent Remediation
Rank 196 of 2,960 tracked
Why it scores 87
Evidence available: 6 of 7 signalsListed in the CISA KEV catalog, and an EPSS probability of 0.999.
- CISA KEVApplied
- RansomwareDid not apply
- Vendor exploitationDid not apply
- EPSSApplied
- Microsoft Exploitability IndexNot applicable
- Pre-patch disclosureNo data
- KEV recencyDid not apply
- CVSSApplied
The band answers “how soon”, not “how bad”. No data for: Pre-patch disclosure. Why some signals show no data
Fix
Patch or fixed version identifiedCISA required action
Fixed in
- phpunit/phpunit
4.8.285.6.3update to this version or later in your release line
Affected versions
- phpunit/phpunit (composer)
affected >= 4.8.19, < 4.8.28, fixed in 4.8.28affected >= 5.0.10, < 5.6.3, fixed in 5.6.3
Remediation
Apply updates per vendor instructions.
Fixed versions from NVD and GitHub. Affected packages also in GitHub Advisory GHSA-r7c9-c69m-rph8 (CC BY 4.0).
Evidence
Each value with its source| Measure | Value | Source |
|---|---|---|
| CVSS base scoreHow severe the flaw is in itself. It does not say how likely an attack is. | 9.8 | NVD |
| FIRST EPSSFIRST's estimate of the chance this is exploited in the next 30 days, and how that ranks against all CVEs. | 0.999 (99.99th pctl) | FIRST EPSS |
| Actively exploitedWhether a source of record has confirmed attacks using it in the wild. | Confirmed | CISA KEV |
| Ransomware campaign useWhether CISA has seen ransomware operators use it. | Unknown or none | CISA KEV |
| CISA remediation deadlineThe date US federal agencies must have fixed or mitigated it. | 2022-08-15 · KEV since 2022 · listed over a year | CISA KEV |
| Public exploit moduleA module existing is not the same as active exploitation. | None known | Metasploit |
| EUVD cross-referenceENISA's record: CVSS 9.8 (v3.1), assigned by mitre. | Listed | ENISA EUVD |
Description
NVDUtil/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP code via HTTP POST data beginning with a "<?php " substring, as demonstrated by an attack on a site with an exposed /vendor folder, i.e., external access to the /vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php URI.
What CISA says to do
