CVE-2017-9841

Published Jun 27, 2017 CVSS 3.1 · 9.8 Critical EPSS 100.0% KEV · Listed
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.

Remediation

No solution or workaround provided in the CVE record

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
Type Values Removed Values Added
Metrics kev

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

ssvc

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 21, 2025, 11:55 PM
Reserved
Jun 24, 2017, 12:00 AM
Status
Analyzed
Published
Jun 27, 2017, 5:29 PM
Modified
Jun 17, 2026, 1:29 AM