Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
n/an/a–CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: active · Automatable: yes · Technical impact: total

References

refsecurityfocus.com/bid/101798refsecuritytracker.com/id/1039812advisorysecurity.gentoo.org/glsa/201711-15reforacle.com/security-alerts/cpuoct2021.htmlrefgithub.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5refgithub.com/sebastianbergmann/phpunit/pull/1956refweb.archive.org/web/20170701212357/http://phpunit.vulnbusters.comrefcisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841kevcisa.gov/known-exploited-vulnerabilities-catalog