CSIRTS // UNIFIED SECURITY ADVISORY FEEDSYS ● ONLINE · POWERED BY INTELFUSIONS.COM

CVE-2017-9841: PHPUnit Command Injection Vulnerability

criticalknown exploitedpublic exploitCVE-2017-9841
Actively exploited. At least one CVE in this advisory is listed in the CISA Known Exploited Vulnerabilities catalog — exploitation has been observed in the wild. Treat remediation as urgent.
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.

CSIRTS triage

What
A command injection vulnerability allows remote attackers to execute arbitrary PHP code.
Who is affected
Deployments of PHPUnit with exposed /vendor folder are affected.
Urgency
Remediation is critical due to active exploitation.
Action
Restrict access to the /vendor folder and upgrade PHPUnit.

AI-assisted analysis generated from the source advisory — verify against the original.

⚡ Watch PHPUnit

Get an email when a new PHPUnit advisory drops — max one per day, one-click unsubscribe.

Details

Source
CISA Known Exploited Vulnerabilities (US · database · site)
Severity
critical
Published
2022-02-15
Exploitation
Observed in the wild (CISA KEV)

Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2017-9841

Exploitation outlook

EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.

Referenced CVEs

CVECSIRTS overviewExternal
CVE-2017-9841coverage & exploitation statusNVD · CVE.org

More from CISA Known Exploited Vulnerabilities