Skip to content
Threat Brief

← All advisories

CVE-2017-9841

Critical 9.8KEV · exploitedPublic exploitFix status unknown

PHPUnit Command Injection Vulnerability

Record last updated

CVSS score

9.8

Critical on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

100%

Among the highest-scored CVEs. A prediction, not evidence.

CISA remediation deadline

1559days overdue

Passed 1559 days ago for U.S. federal agencies

Description

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 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.

Weakness: CWE-94

Patching and mitigation

Patch status
Unknown: no source documents a fix
Mitigation
None documented
Vendor guidance
security.gentoo.org (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
PHPUnitPHPUnitNot documentedNot documentedCISA KEV

Timeline

  1. Disclosure

    CVE record published by mitre

    Source: CVE Program (opens in a new tab)

  2. 15 Feb 2022KEV

    Added to the CISA Known Exploited Vulnerabilities catalog

    Source: CISA KEV (opens in a new tab)

  3. 15 Feb 2022Exploitation

    Exploitation confirmed by CISA KEV

    Source: CISA KEV (opens in a new tab)

Vendor guidance and references

Public exploit code

Exploit or proof-of-concept code is publicly available on Exploit-DB. Shown as a prioritization and defensive-testing signal — treat exploit code as hostile and run it only against systems you are authorized to test.