⚔️ CYBERDUDEBIVASH®
HomeCVE Database › CVE-2017-9841

CVE-2017-9841 — PHPUnit Command Injection Vulnerability

Actively-exploited vulnerability intelligence · Sentinel APEX™ live threat feed
HIGH severity🔴 Actively Exploited · CISA KEV
🔴 CVE-2017-9841 is being actively exploited in the wild. Check if your infrastructure is exposed: ⚡ Free Exposure Scan

Overview

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.

Vulnerability details

CVE ID
CVE-2017-9841
Vulnerability
PHPUnit Command Injection Vulnerability
Vendor
PHPUnit
Affected products
PHPUnit: PHPUnit
Severity
HIGH
Exploitation status
Actively exploited in the wild (CISA KEV)
Published
2022-02-15

Remediation guidance

CVE-2017-9841 is in CISA's Known Exploited Vulnerabilities (KEV) catalog — U.S. federal civilian agencies are required to remediate it under Binding Operational Directive 22-01. Treat it as a priority for every environment.

Apply the vendor's official security update for PHPUnit the affected product as soon as possible. Where a patch is unavailable, apply vendor mitigations or isolate/segment exposed systems.

Hunt for indicators of compromise tied to this vulnerability and confirm logging/EDR coverage on affected assets.

Authoritative references

Remediate CVE-2017-9841 — and stay ahead of the next one

CVE-2017-9841 is listed in the CISA KEV catalog as actively exploited — treat remediation as urgent. Scan your domain free to see whether CVE-2017-9841 and other PHPUnit issues affect you and get a prioritized remediation report (full report from ₹999) — or stream the full feed of 1,600+ actively-exploited CVEs straight into your SOC.

📡 Get a free alert the moment a CVE like this lands in the KEV catalog → Join Sentinel APEX on Telegram