National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2017-9841 Detail

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

Source:  MITRE      Last Modified:  06/27/2017      View Analysis Description

Quick Info

CVE Dictionary Entry:
CVE-2017-9841
Original release date:
06/27/2017
Last revised:
11/20/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 3.0):
CVSS v3 Base Score:
9.8 Critical
Vector:
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (legend)
Impact Score:
5.9
Exploitability Score:
3.9
CVSS Version 3 Metrics:
Attack Vector (AV):
Network
Attack Complexity (AC):
Low
Privileges Required (PR):
None
User Interaction (UI):
None
Scope (S):
Unchanged
Confidentiality (C):
High
Integrity (I):
High
Availability (A):
High
CVSS Severity (version 2.0):
CVSS v2 Base Score:
7.5 HIGH
Vector:
(AV:N/AC:L/Au:N/C:P/I:P/A:P) (legend)
Impact Subscore:
6.4
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector:
Network exploitable
Access Complexity:
Low
Authentication:
Not required to exploit
Impact Type:
Allows unauthorized disclosure of information; Allows unauthorized modification; Allows disruption of service

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.

Hyperlink Resource Type Source Name
http://phpunit.vulnbusters.com/ Exploit; Mitigation; Patch; Vendor Advisory External Source MISC http://phpunit.vulnbusters.com/
http://www.securityfocus.com/bid/101798 External Source BID 101798
http://www.securitytracker.com/id/1039812 External Source SECTRACK 1039812
https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5 Third Party Advisory External Source MISC https://github.com/sebastianbergmann/phpunit/commit/284a69fb88a2d0845d23f42974a583d8f59bf5a5
https://github.com/sebastianbergmann/phpunit/pull/1956 Third Party Advisory External Source MISC https://github.com/sebastianbergmann/phpunit/pull/1956
https://security.gentoo.org/glsa/201711-15 External Source GENTOO GLSA-201711-15

Technical Details

Vulnerability Type (View All)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
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:phpunit:5.3.2:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.3.3:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.3.4:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.3.5:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.4.0:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.4.1:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.4.2:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.4.3:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.4.4:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.4.5:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.4.6:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.4.7:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.4.8:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.5.0:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.5.1:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.5.2:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.5.3:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.5.4:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.5.5:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.5.6:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.5.7:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.6.0:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.6.1:*:*:*:*:*:*:*
cpe:2.3:a:phpunit_project:phpunit:5.6.2:*:*:*:*:*:*:*

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 4 change records found - show changes