CVE-2017-9841
phpunit project phpunit, oracle communications diameter signaling router
Published 27 Jun 2017 · updated 17 Jun 2026 · Analyzed
9.8 Critical · CVSS 3.1, NVD
Exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on 15 Feb 2022, with a remediation deadline of 15 Aug 2022 for US federal agencies.
Required action: Apply updates per vendor instructions.
Description
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.
References
- web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ · Third Party Advisory
- www.securityfocus.com/bid/101798 · Broken Link
- www.securitytracker.com/id/1039812 · Broken Link
- github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 · Patch, Third Party Advisory
- github.com/sebastianbergmann/phpunit/pull/1956 · Patch, Third Party Advisory
- security.gentoo.org/glsa/201711-15 · Third Party Advisory
- www.oracle.com/security-alerts/cpuoct2021.html · Patch, Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841 · US Government Resource