PHPUnit Command Injection Vulnerability
PHPUnit 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
- PHPUnit
- Product
- PHPUnit
- CVSS
- 9.8
- EPSS (exploit probability)
- 100.0%
- Status
- kev
- CISA patch-by (BOD 22-01)
- Published
PHPUnit 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.
Added to CISA’s Known Exploited Vulnerabilities catalog on 2022-02-15. Required action per CISA: Apply updates per vendor instructions. Due date: 2022-08-15.
This is an auto-synced KEV catalog record pending a full 0dayNews write-up — see CISA’s KEV catalog and the NVD record linked above for primary sources.