CVE-2017-9841: PHPUnit Command Injection Vulnerability
Critical · CVSS 9.8 (CVSS 3.1)KEV known exploitedEPSS 100.0%, 100th percentilePublished Updated Assigner: mitre
In CISA’s Known Exploited Vulnerabilities catalog: PHPUnit Command Injection Vulnerability.
Added , federal remediation due . Known ransomware use: Unknown.
Required action: Apply updates per vendor instructions.
Description
Util/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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
PHPUnit: PHPUnit
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59b… (opens in new tab)
- github.com/sebastianbergmann/phpunit/pull/1956 (opens in new tab)
- security.gentoo.org/glsa/201711-15 (opens in new tab)
- www.oracle.com/security-alerts/cpuoct2021.html (opens in new tab)
- web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ (opens in new tab)
- www.securityfocus.com/bid/101798 (opens in new tab)
- www.securitytracker.com/id/1039812 (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)