# CVE-2017-9841: A PHPUnit bug is being used in attacks

Status: Being used now (CISA KEV, added 2022-02-15)
Who: 
Do this: 

## Agent prompt (read-only)
Read-only check, change nothing, send nothing anywhere.
Is PHPUnit PHPUnit (CVE-2017-9841) installed or running on this machine or in this project?
1. Find every copy and its version (apps, packages, containers, lockfiles).
2. Compare each version against the vendor's fixed version for CVE-2017-9841. Quote the vendor page you used.
3. Report a table: where, version, fixed version, status (exposed / fixed / not installed / unsure).
4. List the exact update steps, but do not run them.

## Official description
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.

## Sources
- https://nvd.nist.gov/vuln/detail/CVE-2017-9841
- https://nvd.nist.gov/vuln/detail/CVE-2017-9841

Generated by isitexploited.org from public sources. Verify version numbers against the vendor before acting.
