Description
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 "<?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.
Published: 2017-06-27
Score: 9.8 Critical
EPSS: 94.2% High
KEV: Yes
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-r7c9-c69m-rph8 Code Injection in PHPUnit
Ubuntu USN Ubuntu USN USN-7171-1 PHPUnit vulnerability
History

Wed, 22 Oct 2025 00:30:00 +0000


Tue, 21 Oct 2025 20:30:00 +0000


Tue, 21 Oct 2025 19:30:00 +0000


Fri, 07 Feb 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics kev

{'dateAdded': '2022-02-15'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Subscriptions

Oracle Communications Diameter Signaling Router
Phpunit Project Phpunit
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-10-21T23:55:39.301Z

Reserved: 2017-06-24T00:00:00.000Z

Link: CVE-2017-9841

cve-icon Vulnrichment

Updated: 2024-08-05T17:18:02.203Z

cve-icon NVD

Status : Analyzed

Published: 2017-06-27T17:29:00.177

Modified: 2026-04-21T18:00:56.903

Link: CVE-2017-9841

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses