← CVE Radar
CVE-2017-9841PHPUnit Command Injection Vulnerability
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.
9.8 CRITICALEPSS 99.99%⚡ Known Exploited (CISA KEV)NVD: Analyzed
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 9.8 | CRITICAL | 3.1NVD | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 7.5 | HIGH | 2.0NVD | AV:N/AC:L/Au:N/C:P/I:P/A:P |
CISA required action
⚡ Known exploited · remediation due Aug 15, 2022
Apply updates per vendor instructions.
Details
- CVE ID
- CVE-2017-9841
- Status
- Analyzed
- Assigner (CNA)
- mitre
- Published
- Jun 27, 2017
- Last modified
- 2026-06-17 01:29 UTC
- Weaknesses
Affected Products
From NVD CPE configurations.
phpunit projectphpunit2 version ranges
- through 4.8.27
- 5.0.0 before 5.6.3
oraclecommunications diameter signaling router1 version range
- 8.0.0 through 8.5.0
References
- web.archive.org http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/
- securityfocus.com http://www.securityfocus.com/bid/101798
- securitytracker.com http://www.securitytracker.com/id/1039812
- github.com https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5
- github.com https://github.com/sebastianbergmann/phpunit/pull/1956
- security.gentoo.org https://security.gentoo.org/glsa/201711-15
- oracle.com https://www.oracle.com/security-alerts/cpuoct2021.html
- cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841