PHPUnit PHPUnit· ()

This weekExploited in the wild (CISA KEV)CISA due 2022-08-15

CVE-2017-9841: PHPUnit Command Injection Vulnerability

What
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.
Fix
apply the vendor fix or mitigation
Why this tier
Known exploited in the wild.
Exploited
Yes: 1 CVE in CISA KEV · highest EPSS 100%
Share this

What to do now#

  1. Find where you run PHPUnit PHPUnit, starting with anything internet-facing.
  2. Apply the vendor fix. CISA's required action: Apply updates per vendor instructions.Vendor advisory
  3. Using distro packages? Distros backport fixes under their own version numbers. Check your distro's status for CVE-2017-9841:Debian · Ubuntu · Red Hat · Alpine
  4. Deadline: CISA's federal due date is 2022-08-15. Treat it as the latest reasonable date for everyone else.

CVEs 1#

CVETierCVSSEPSSKEVSSVC exploitation
CVE-2017-9841This week9.8 (v3.1)100%Yesactive

Sources#

Built from CISA: Known Exploited Vulnerabilities, checked . Tier from the published rubric.

Also on today's list

See today's list → · Coming up →

Linux distribution packages#

Running the distro’s package? These are the versions that carry the fix.

Linux distribution packages CVE-2017-9841

DistroReleasePackageStatus
Debian13 trixiephpunitFixed in 5.4.6-2
12 bookwormphpunitFixed in 5.4.6-2

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Something wrong on this page?
Anonymous. Reports are checked against the primary source.