CVE-2017-9841

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*

History

22 Oct 2025, 00:16

Type Values Removed Values Added
References
  • () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841 -

21 Oct 2025, 20:17

Type Values Removed Values Added
References
  • {'url': 'https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841', 'source': '134c704f-9b21-4f2e-91b3-4a467353bcc0'}

21 Oct 2025, 19:17

Type Values Removed Values Added
References
  • () https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-9841 -

Information

Published : 2017-06-27 17:29

Updated : 2025-10-22 00:16


NVD link : CVE-2017-9841

Mitre link : CVE-2017-9841

CVE.ORG link : CVE-2017-9841


JSON object : View

Products Affected

phpunit_project

  • phpunit

oracle

  • communications_diameter_signaling_router
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')