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
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-r7c9-c69m-rph8 | Code Injection in PHPUnit |
Ubuntu USN |
USN-7171-1 | PHPUnit vulnerability |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 22 Oct 2025 00:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Tue, 21 Oct 2025 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Tue, 21 Oct 2025 19:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Fri, 07 Feb 2025 14:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
kev
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2025-10-21T23:55:39.301Z
Reserved: 2017-06-24T00:00:00.000Z
Link: CVE-2017-9841
Updated: 2024-08-05T17:18:02.203Z
Status : Deferred
Published: 2017-06-27T17:29:00.177
Modified: 2025-10-22T00:16:13.163
Link: CVE-2017-9841
No data.
OpenCVE Enrichment
No data.
Github GHSA
Ubuntu USN