An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record is not being prioritized for NVD enrichment efforts due to resource or other concerns.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
OR
*cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (including) 8.5.0
Changed
Reference Type
http://www.securityfocus.com/bid/101798 Third Party Advisory, VDB Entry
http://www.securityfocus.com/bid/101798 Broken Link
Changed
Reference Type
http://www.securitytracker.com/id/1039812 Third Party Advisory, VDB Entry
http://www.securitytracker.com/id/1039812 Broken Link
Changed
Reference Type
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 Third Party Advisory
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 Patch, Third Party Advisory
Changed
Reference Type
https://github.com/sebastianbergmann/phpunit/pull/1956 Third Party Advisory
https://github.com/sebastianbergmann/phpunit/pull/1956 Patch, Third Party Advisory
Changed
Reference Type
https://www.oracle.com/security-alerts/cpuoct2021.html No Types Assigned
https://www.oracle.com/security-alerts/cpuoct2021.html Patch, Third Party Advisory
OR
*cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* versions up to (including) 4.8.27
*cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.6.3
Changed
Reference Type
http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ No Types Assigned
http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ Third Party Advisory
Changed
Reference Type
http://www.securityfocus.com/bid/101798 No Types Assigned
http://www.securityfocus.com/bid/101798 Third Party Advisory, VDB Entry
Changed
Reference Type
http://www.securitytracker.com/id/1039812 No Types Assigned
http://www.securitytracker.com/id/1039812 Third Party Advisory, VDB Entry
Changed
Reference Type
https://security.gentoo.org/glsa/201711-15 No Types Assigned
https://security.gentoo.org/glsa/201711-15 Third Party Advisory
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 No Types Assigned
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 Third Party Advisory
Changed
Reference Type
https://github.com/sebastianbergmann/phpunit/pull/1956 No Types Assigned
https://github.com/sebastianbergmann/phpunit/pull/1956 Third Party Advisory
Quick Info
CVE Dictionary Entry: CVE-2017-9841 NVD
Published Date: 06/27/2017 NVD
Last Modified: 10/21/2025
Source: MITRE