vendor:
PHP Unit
by:
souzo
9.8
CVSS
CRITICAL
Remote Code Execution (RCE)
78
CWE
Product Name: PHP Unit
Affected Version From: 4.8.28
Affected Version To: 4.8.28
Patch Exists: YES
Related CWE: CVE-2017-9841
CPE: a:phpunit:phpunit:4.8.28
Tags: cve,cve2017,php,phpunit,rce,kev
CVSS Metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Nuclei Metadata: {'max-request': 6, 'vendor': 'phpunit_project', 'product': 'phpunit'}
Platforms Tested: Unit
2022
PHP Unit 4.8.28 – Remote Code Execution (RCE) (Unauthenticated)
A vulnerability in PHP Unit 4.8.28 allows an unauthenticated attacker to execute arbitrary code on the target system. This is due to the presence of a vulnerable file, eval-stdin.php, which can be accessed by sending a specially crafted HTTP request to the target system. The vulnerable file is present in the vendor/phpunit/phpunit/src/Util/PHP/ directory. An attacker can exploit this vulnerability by sending a malicious HTTP request to the target system, which will execute the arbitrary code present in the request.
Mitigation:
The vendor has released a patch to address this vulnerability. Users should update their systems to the latest version of PHP Unit.