CVE-2017-9841

critical KEV
Published 2022-03-26 · Modified 2022-02-15
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
CVSS v2
VIR risk
10.0

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.

CISA KEV

Vendor
PHPUnit
Product
PHPUnit
Due date
2022-08-15

Predictions

Exploit likelihood
99%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: cisa-kev — https://nvd.nist.gov/vuln/detail/CVE-2017-9841

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-9841

Exploits

OS impact

OSVersionStatusFixed in
arch archfixed1.28.3-1
debian debianbookwormfixed5.4.6-2
debian debianbullseyefixed5.4.6-2
debian debianforkyfixed5.4.6-2
debian debiansidfixed5.4.6-2
debian debiantrixiefixed5.4.6-2

Package impact

EcosystemPackageVulnerableFixed
php Packagistphpunit/phpunit>=4.8.19,<4.8.284.8.28
php Packagistphpunit/phpunit>=5.0.10,<5.6.35.6.3

References

Verify integrity in audit chain (admin only). AS-IS.