← Back to KEV catalog

CVE-2017-9841

Exploitation: active CVSS 9.8 CRITICAL

CVSS base score: 9.8 (Critical) CISA · v3.1

Score assigned by CISA's Vulnrichment program; the vendor's CVE record did not include one.

PHPUnit Command Injection Vulnerability

Vendor: PHPUnit   Product: PHPUnit

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.

Lifecycle Timeline

Each milestone comes from a different source, so gaps between them are gaps in what those sources publish, not evidence that nothing happened. EPSS history for this CVE holds 262 points from 2021-12-11, tracked daily from 2026-09-09; earlier points are weekly, which dates a spike to within a week. Peak probability 100.0% on 2026-06-20.

Published Applicability

Red Hat CSAF/VEX 0 affected · 0 fixed · 1 not affected
OSV.dev (incl. GHSA) 5 affected · 4 fixed · 0 not affected
CVE List v5 (CNA container) 1 affected · 0 fixed · 0 not affected

Check whether a specific version is affected →

What each source publishes about which product versions carry this vulnerability, kept as written rather than merged. Absence here means no source has published applicability data, not that nothing is affected.

Research & News Coverage

No mentions found in monitored research blogs or news feeds.

Detection & Exploitation

Exploit / Pen Test
Network IDS/IPS
none published
Host / SIEM
none published

Coverage across public collections only: Nuclei and OpenVAS NVT (scan); Snort and Suricata ET Open (network); Sigma and YARA (host/SIEM); Metasploit, Exploit-DB and public GitHub repositories (exploit). Absence here means nothing public was found, not that detection is impossible.
GitHub PoC repositories are collected automatically by PoC-in-GitHub (CC0) and are not vetted: some are fakes and some are malware. Treat them as evidence that code was published, not as code to run.
OpenVAS coverage derives from the Greenbone Community Feed, made available under the Open Database License (ODbL) v1.0; its individual Vulnerability Tests are licensed GNU GPL v2.

Distribution Status

Debian · phpunit bookworm 5.4.6-2 trixie 5.4.6-2 forky 5.4.6-2 sid 5.4.6-2 scope: local

Where the distribution has shipped a fix, and in which version. Green means the release has resolved it, amber that it is still open. Data from the Debian Security Tracker, used under Debian's MIT / GPLv2+ terms. Debian is upstream of several other distributions, so a fix here often precedes theirs.

CISA Assessment (Vulnrichment / SSVC)

active
yes
total
9.8 CRITICAL
—
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-94 — Improper Control of Generation of Code ('Code Injection')
2025-02-07

D3FEND Countermeasures

Defensive techniques inferred by MITRE D3FEND from the underlying weakness (CWE-94) — general hardening and detection guidance for this weakness class, not a vendor patch for this specific CVE.

KEV Catalog Status

2022-02-15
2022-08-15
Unknown

Listed By

SourceDateRecord
CISA KEV 2022-02-15 source record →
CISA Vulnrichment 2025-02-07 source record →

Referenced in Advisories

DateAdvisoryIssuer
2024-01-16 CISA and FBI Release Known IOCs Associated with Androxgh0st Malware CISA
2024-01-16 Known Indicators of Compromise Associated with Androxgh0st Malware CISA

Weaponization Timeline — Offensive & Testing Tools

No exploit-tool sightings recorded for this CVE.

Evidence tiers are explained on the About page — a merged Metasploit module is far stronger evidence than a distro package mention.

External References