CVE-2017-9841KEV · OVERDUE

PHPUnit Command Injection Vulnerability

Critical · published June 27, 2017

Patch now

Confirmed exploited, and the score agrees

CVSS calls it critical at 9.8. It is confirmed in active exploitation. It sits in the 100.0th percentile for exploit probability.

1529
days past CISA
deadline
CVSS v3.1
9.8
EPSS
100%
Percentile
100.0
In the wild
Confirmed
What it is

🚨 A simple HTTP POST can unleash chaos! This vulnerability in PHPUnit before versions 4.8.28 and 5.6.3 lets attackers execute arbitrary PHP code with just a well-crafted request. 🔥 Think of it like giving someone access to a restaurant's kitchen without checking their ID. They could whip up anything they want, including a recipe for disaster! An attacker could gain complete control over the server, potentially leading to unauthorized data access, data manipulation, or even full system takeover! The implications are absolutely devastating for any exposed site. 💔

Put simply

Think of it like giving someone access to a restaurant's kitchen without checking their ID. They could whip up anything they want, including a recipe for disaster! This vulnerability allows remote attackers to exploit the eval-stdin.php file, executing arbitrary PHP code by sending POST data that starts with a "<?php " substring. It’s like opening the floodgates to malicious scripts, all because the server blindly accepts input without proper validation.

What to do

An attacker could gain complete control over the server, potentially leading to unauthorized data access, data manipulation, or even full system takeover! The implications are absolutely devastating for any exposed site. 💔 Immediate action is crucial! Update PHPUnit to version 4.8.28 or 5.6.3 or later to close this critical security gap. Additionally, restrict access to the /vendor directory to prevent such attacks. 🛡️ You've got this! Patch those versions and lock it down—your security hero status is officially activated! 💪✨

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.99999 · 100.0th percentile
Published
2017-06-27T17:00Z
KEV added
2022-02-15 · due 2022-08-15
EPSS history
Timeline
  • 15 FEB 00:00Z
    Added to CISA KEV — remediate by Aug 15
    kev
  • 27 JUN 17:00Z
    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…
    cvelistv5