Skip to content
StratQuad

Threats

PHPUnit eval-stdin.php arbitrary code execution

CVE-2017-9841Known exploitedCritical

PHPUnit contains a file called eval-stdin.php that processes HTTP POST data without proper validation. An attacker can send POST data beginning with a '<?php ' substring to execute arbitrary PHP code on the server. This requires the /vendor folder to be externally accessible, which occurs when the vendor directory is not properly protected from web access.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
9.8
CRITICAL
EPSS score
1.00
Probability of exploitation in 30 days
EPSS percentile
99th
Share of scored CVEs at or below this one
Added to KEV
15 Feb 2022
CISA due date
15 Aug 2022
Applies to US federal agencies

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

PHPUnit. CISA required action: Apply updates per vendor instructions.

Weakness: CWE-94 (opens in a new tab)

Affected versions

  • phpunit project phpunit: up to 4.8.27
  • phpunit project phpunit: from 5.0.0, before 5.6.3
  • oracle communications diameter signaling router: from 8.0.0, up to 8.5.0