2022-02-02EDB-50702.py
Exploit database
Vulnerability
CVE-2017-9841
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
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.
CVE ProgramExploit source choices
8 sourcesrandomrobbiebf/phpunit-brute
Tool to try multiple paths for PHPunit RCE CVE-2017-9841
2020-05-181 file · 28 stars
incogbyte/laravel-phpunit-rce-masscaner
Masscanner for Laravel phpunit RCE CVE-2017-9841
2021-07-046 files · 23 stars
chocapikk/cve-2017-9841
PHPUnit RCE
2023-08-271 file · 8 stars
k3ystr0k3r/cve-2017-9841-exploit
A PoC exploit for CVE-2017-9841 - PHPUnit Remote Code Execution(RCE)
2025-06-101 file · 6 stars
ludy-dev/phpunit_eval-stdin_rce
(CVE-2017-9841) PHPUnit_eval-stdin_php Remote Code Execution
2020-09-141 file · 6 stars
madexploits/phpunit-exploit
PHPunit Checker CVE-2017-9841 By MrMad
2022-12-071 file · 6 stars
drcrypterdotru/phpunit-goscan
PHPUnit CVE-2017-9841 Scanner in Go clean and fire.
2025-08-302 files · 5 stars