Under active attack

PHPUnit PHPUnit: CVE-2017-9841

PHPUnit Command Injection Vulnerability. CISA added it to its list of flaws being exploited in the wild on 15 Feb 2022.

CVE
CVE-2017-9841
Vendor
PHPUnit
Product
PHPUnit
Added to CISA's exploited list
15 Feb 2022
US federal patch deadline
15 Aug 2022
Used in ransomware campaigns
Not known
Exploit likelihood, next 30 days
>99.9% (higher than 99% of scored flaws)
Weakness
CWE-94

What CISA says

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.CISA, Known Exploited Vulnerabilities catalog

What to do

Apply updates per vendor instructions.

If you run PHPUnit PHPUnit, treat this as urgent: attackers are already using it. If you're not sure whether you run it anywhere, start there.

References