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.
- CVSS:
- 9.8 (nvd)
- Vector:
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS:
- 100.0% (percentile 100.0)
- CWE:
- CWE-94
- Affects:
- PHPUnit PHPUnit
- KEV:
- added 2022-02-15, due 2022-08-15
- Published:
- Modified:
- First seen:
- NVD status:
- Analyzed