CVE-2017-9841
Critical 9.8 Exploited in the wild (KEV)
Confirmed active exploitation — CISA KEV catalog
- Name
- PHPUnit Command Injection Vulnerability
- Added to catalog
- Remediation due date (US federal)
- 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.
Metrics
- CVSS 3.1
-
9.8 (CRITICAL)
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 100% (percentile: 100) as of 1 November 2026
- CWE
- CWE-94
Affected products
phpunit_project: phpunit; oracle: communications diameter signaling router
References
- https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a… PatchThird Party Advisory
- https://github.com/sebastianbergmann/phpunit/pull/1956 PatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html PatchThird Party Advisory
- https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a… PatchThird Party Advisory
- https://github.com/sebastianbergmann/phpunit/pull/1956 PatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html PatchThird Party Advisory
- http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ Third Party Advisory
- http://www.securityfocus.com/bid/101798 Broken Link
- http://www.securitytracker.com/id/1039812 Broken Link
- https://security.gentoo.org/glsa/201711-15 Third Party Advisory