CVE-2017-9841β€”PHPUnit Command Injection Vulnerability

PUBLISHEDvulnerability record
2022-02-15 Β· last modified June 21, 2025

Metadata

CVE ID:
CVE-2017-9841
Project:
PHPUnit
Product:
PHPUnit
Date Added:
2022-02-15
Due Date:
2022-08-15
Last Updated:
June 21, 2025

Vulnerability Name

PHPUnit Command Injection Vulnerability

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.

Known To Be Used in Ransomware Campaigns?

Ransomware Status:
Unknown

Action

Apply updates per vendor instructions.

Additional Notes

Related News Articles

Related Weaknesses