Back to search
CVE-2017-9841
Published: Jun 27, 2017
Modified: Oct 21, 2025
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
101798
vdb-entry
x_refsource_BID
1039812
vdb-entry
x_refsource_SECTRACK
GLSA-201711-15
vendor-advisory
x_refsource_GENTOO
https://www.oracle.com/security-alerts/cpuoct2021.html
x_refsource_MISC
https://github.com/sebastianbergmann/phpunit/pull/1956
x_refsource_MISC
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now