Skip to content
skopnix

CVE-2017-9841 · Published 27 Jun 2017

PHPUnit PHPUnit

On CISA's KEV list 1694 days after disclosure; 14 public exploits.

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.

CISA required action (federal due date 15 Aug 2022): Apply updates per vendor instructions.

Signals

KEV, exploited in the wild
yes, added 15 Feb 2022, due 15 Aug 2022
EPSS, 30-day forecast
100%, 100th percentile (as of 18 Nov 2026)
CVSS, NVD
not stated
Internet exposure
not stated

KEV is an observation, EPSS a forecast; KEV outranks it. No score published by NVD.

Timeline 27 Jun 2017 to today

1,681 days from disclosure to the first proof of concept
2019202020212023202420252026Disclosed 27 Jun 2017First PoC 2 Feb 2022KEV 15 Feb 2022today
  1. Disclosed
  2. First PoC+1681 d
  3. KEV+13 d

1,681 days from disclosure to the first proof of concept

Indicators 2 tied by threat feeds

Addresses, hosts and files that threat feeds tag with this CVE: exploitation sources, payload hosts and what was dropped. Defanged. “In rule” marks the ones strong enough for the indicator sweep above.

  1. hxxp://77[.]239[.]124[.]167/sPayload host

    url · 5 feeds · last seen 19 Nov 2026

  2. hxxp://77[.]239[.]124[.]167:23413/k/a56f1a4933ad0bca/sPayload host

    url · 4 feeds · last seen 19 Nov 2026

On the wire 0 dispatches

No dispatch on our wire has named this CVE yet.

Public exploit code 14 known · links only

GitHub PoCs 13Metasploit 0Exploit-DB 1

GitHub PoCs, by trust then stars13

  1. first seen by skopnix 18 Oct 2026

  2. first seen by skopnix 18 Oct 2026

  3. first seen by skopnix 18 Oct 2026

  4. first seen by skopnix 18 Oct 2026

  5. first seen by skopnix 18 Oct 2026

  6. first seen by skopnix 18 Oct 2026

  7. first seen by skopnix 18 Oct 2026

  8. first seen by skopnix 18 Oct 2026

Show 5 more
  1. first seen by skopnix 18 Oct 2026

  2. first seen by skopnix 18 Oct 2026

  3. first seen by skopnix 18 Oct 2026

  4. first seen by skopnix 18 Oct 2026

  5. first seen by skopnix 18 Oct 2026

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

Exploit-DB1

  1. created 2 Feb 2022

Nuclei detection templates1

  1. 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 via Util/PHP/eval-stdin.php , 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.

    yaml · first seen by skopnix 18 Oct 2026

A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.

References

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Telegram ↗KEV RSSAPIStack check