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.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Weakness Type (CWE)
Vulnerable Products 3
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Phpunit_Project Phpunit
cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:*
|
— |
<= 4.8.27
|
|
Phpunit_Project Phpunit
cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:*
|
5.0.0
|
5.6.3
|
|
Oracle Communications_Diameter_Signaling_Router
cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*
|
8.0.0
|
<= 8.5.0
|