CVE-2017-9841
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.
How to fix
Apply updates per vendor instructions.
CISA due date: Aug 15, 2022- phpunit_project phpunit5.6.3 or later
- phpunit/phpunit4.8.28, 5.6.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| phpunit_project phpunit | v ≤ 4.8.27, 5.0.0 ≤ v < 5.6.3 | 5.6.3 |
| oracle communications_diameter_signaling_router | 8.0.0 ≤ v ≤ 8.5.0 | — |
| phpunit/phpunitPackagist | 4.8.19 ≤ v < 4.8.28, 5.0.10 ≤ v < 5.6.3 | 4.8.28, 5.6.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.