PHPUnit eval-stdin.php arbitrary code execution
CVE-2017-9841Known exploitedCritical
PHPUnit contains a file called eval-stdin.php that processes HTTP POST data without proper validation. An attacker can send POST data beginning with a '<?php ' substring to execute arbitrary PHP code on the server. This requires the /vendor folder to be externally accessible, which occurs when the vendor directory is not properly protected from web access.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 15 Feb 2022
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
PHPUnit. CISA required action: Apply updates per vendor instructions.
Weakness: CWE-94 (opens in a new tab)
Affected versions
- phpunit project phpunit: up to 4.8.27
- phpunit project phpunit: from 5.0.0, before 5.6.3
- oracle communications diameter signaling router: from 8.0.0, up to 8.5.0