CVE-2017-9841
Detail
Deferred
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
CVSS Version 4.0
CVSS Version 3.x
CVSS Version 2.0
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
References to Advisories, Solutions, and Tools
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 nvd@nist.gov .
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference
CISA's BOD 22-01 and Known
Exploited Vulnerabilities Catalog for further guidance and requirements.
Vulnerability Name
Date Added
Due Date
Required Action
PHPUnit Command Injection Vulnerability
02/15/2022
08/15/2022
Apply updates per vendor instructions.
Weakness Enumeration
CWE-ID
CWE Name
Source
CWE-94
Improper Control of Generation of Code ('Code Injection')
NIST
CISA-ADP
Change History
13 change records found show changes
Modified Analysis by NIST 4/03/2025 4:26:59 PM
Action
Type
Old Value
New Value
CVE Modified by CISA-ADP 2/07/2025 10:15:15 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added
CWE
CWE-94
Modified Analysis by NIST 1/22/2025 3:12:20 PM
Action
Type
Old Value
New Value
CVE Modified by CVE 11/20/2024 10:36:57 PM
Action
Type
Old Value
New Value
Added
Reference
http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/
Added
Reference
http://www.securityfocus.com/bid/101798
Added
Reference
http://www.securitytracker.com/id/1039812
Added
Reference
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5
Added
Reference
https://github.com/sebastianbergmann/phpunit/pull/1956
Added
Reference
https://security.gentoo.org/glsa/201711-15
Added
Reference
https://www.oracle.com/security-alerts/cpuoct2021.html
CVE Modified by MITRE 5/14/2024 12:49:52 AM
Action
Type
Old Value
New Value
Modified Analysis by NIST 4/18/2022 1:57:47 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
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
CVE Modified by MITRE 10/20/2021 7:15:28 AM
Action
Type
Old Value
New Value
Added
Reference
https://www.oracle.com/security-alerts/cpuoct2021.html [No Types Assigned]
Modified Analysis by NIST 1/14/2020 11:39:00 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Removed
CVSS V3
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Changed
CPE Configuration
Record truncated, showing 2048 of 3456 characters.
View Entire Change Record
OR
*cpe:2.3:a:phpunit_project:phpunit:*:*:*:*:*:*:*:* versions up to (including) 4.8.27
*cpe:2.3:a:phpunit_project:phpunit:5.0.0:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.1:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.2:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.3:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.4:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.5:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.6:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.7:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.8:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.9:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.10:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.0:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.2:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.3:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.4:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.5:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.6:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.7:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.0:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.1:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.3:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.4:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.5:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.6:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.7:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.8:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.9:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.10:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.11:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.12:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.3.0:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.3.1:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project
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
CVE Modified by MITRE 1/10/2020 10:15:11 AM
Action
Type
Old Value
New Value
Added
Reference
http://web.archive.org/web/20170701212357/http://phpunit.vulnbusters.com/ [No Types Assigned]
Removed
Reference
http://phpunit.vulnbusters.com/ [Exploit, Mitigation, Patch, Vendor Advisory]
CVE Modified by MITRE 11/20/2017 9:29:08 PM
Action
Type
Old Value
New Value
Added
Reference
https://security.gentoo.org/glsa/201711-15 [No Types Assigned]
CVE Modified by MITRE 11/16/2017 9:29:03 PM
Action
Type
Old Value
New Value
Added
Reference
http://www.securitytracker.com/id/1039812 [No Types Assigned]
CVE Modified by MITRE 11/14/2017 9:29:10 PM
Action
Type
Old Value
New Value
Added
Reference
http://www.securityfocus.com/bid/101798 [No Types Assigned]
Initial Analysis by NIST 7/06/2017 2:34:16 PM
Action
Type
Old Value
New Value
Added
CVSS V3
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Added
CVSS V2
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Added
CWE
CWE-94
Added
CPE Configuration
Record truncated, showing 2048 of 3442 characters.
View Entire Change Record
OR
*cpe:2.3:a:phpunit_project:phpunit:4.8.27:*:*:*:*:*:*:* (and previous)
*cpe:2.3:a:phpunit_project:phpunit:5.0.0:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.1:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.2:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.3:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.4:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.5:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.6:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.7:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.8:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.9:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.0.10:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.0:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.2:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.3:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.4:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.5:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.6:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.1.7:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.0:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.1:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.3:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.4:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.5:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.6:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.7:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.8:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.9:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.10:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.11:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.2.12:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.3.0:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.3.1:*:*:*:*:*:*:*
*cpe:2.3:a:phpunit_project:phpunit:5.3.2
Changed
Reference Type
http://phpunit.vulnbusters.com/ No Types Assigned
http://phpunit.vulnbusters.com/ Exploit, Mitigation, Patch, Vendor Advisory
Changed
Reference Type
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: 04/19/2025
Source: MITRE