CVSS
9.8CriticalExploit odds (EPSS)>99.9%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
CISA required actionApply updates per vendor instructions. CISA KEV
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Timeline
- 27 Jun 2017, 17:00 UTCPublishedCVE List
- 2 Feb 2022Exploit code publicExploit-DB
- 15 Feb 2022Added to CISA KEVCISA KEV
Public exploit code and templates 2
- Webapps exploitPHP Unit 4.8.28 - Remote Code Execution (RCE) (Unauthenticated) 2 Feb 2022Exploit-DB
- Scanner templatePHPUnit - Remote Code ExecutionNuclei
Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.
Description
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.
Text from CVE List
Affected versions 1
- n/aaffected: n/aCVE List
References 6
- github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5Fixvia CVE List
- security.gentoo.org/glsa/201711-15Advisoryvia CVE List
- oracle.com/security-alerts/cpuoct2021.htmlAdvisoryvia CVE List
- nvd.nist.gov/vuln/detail/CVE-2017-9841Referencevia CISA KEV
- github.com/sebastianbergmann/phpunit/pull/1956Referencevia CVE List
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841Referencevia CVE List