CVE-2017-9841: 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.

VendorPHPUnit
ProductPHPUnit
Date added to KEV2022-02-15
Due date (BOD 22-01)2022-08-15
Known ransomware campaign useUnknown
CWECWE-94
Required actionApply updates per vendor instructions.

What to do

  1. Identify every instance of PHPUnit PHPUnit in your environment (asset inventory, EDR, vulnerability scanner).
  2. Apply CISA's required action: Apply updates per vendor instructions.
  3. Federal civilian agencies must act by 2022-08-15 under BOD 22-01; other organizations can use the same date as a target.
  4. Check the vendor advisory and NVD entry linked below for affected versions, then record the fix in your change log.

Get new KEV entries in your inbox: free n8n workflow. Free CISA KEV Patch Digest (n8n workflow) (Runbook Foundry). A Monday-morning email of KEV entries added in the previous week (Mon-Sun), with your watchlist vendors listed first.
Not affiliated with n8n GmbH or CISA. Not tested on n8n Cloud. n8n is a trademark of n8n GmbH.

Sources

Generated from the CISA feed with AI assistance; facts are taken verbatim from the feed. Not affiliated with or endorsed by CISA. Facts come from the CISA Known Exploited Vulnerabilities catalog (public domain).