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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOracle Communications Diameter Signaling Router
APPOracle8.0.0 – 8.5.0Phpunit Project Phpunit
APPPhpunit Project≤ 4.8.275.0.0 – 5.6.3 (excl.)
CISA KEV — detailsi
- Vendori
- PHPUnit
- Producti
- PHPUnit
- Added to KEVi
- February 15, 2022
- Remediation deadline (US Federal)i
- August 15, 2022(overdue)
Apply updates per vendor instructions.
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.
Related vulnerabilities
RCE przez deserializację w Oracle Coherence via protokół T3
RCE w pluginie WS-Addressing biblioteki Genivia gSOAP
Apache ActiveMQ — RCE przez błędną konfigurację JMX RMIConnectorServer
Apache Camel Netty — niebezpieczna deserializacja Java (RCE)
Apache Camel RabbitMQ — niebezpieczna deserializacja Java (RCE)