National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2016-10397 Detail

Current Description

In PHP before 5.6.28 and 7.x before 7.0.13, incorrect handling of various URI components in the URL parser could be used by attackers to bypass hostname-specific URL checks, as demonstrated by evil.example.com:80#@good.example.com/ and evil.example.com:80?@good.example.com/ inputs to the parse_url function (implemented in the php_url_parse_ex function in ext/standard/url.c).

Source:  MITRE
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (V3 legend)
Impact Score: 3.6
Exploitability Score: 3.9


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): None
Integrity (I): High
Availability (A): None

CVSS v2.0 Severity and Metrics:

Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:N/I:P/A:N) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): None
Integrity (I): Partial
Availability (A): None
Additional Information:
Allows unauthorized modification

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
http://git.php.net/?p=php-src.git;a=commit;h=b061fa909de77085d3822a89ab901b934d0362c4 Issue Tracking Patch Third Party Advisory
http://openwall.com/lists/oss-security/2017/07/10/6 Mailing List Patch Third Party Advisory
http://php.net/ChangeLog-5.php Release Notes Vendor Advisory
http://php.net/ChangeLog-7.php Release Notes Vendor Advisory
http://www.securityfocus.com/bid/99552
https://bugs.php.net/bug.php?id=73192 Issue Tracking Third Party Advisory
https://security.netapp.com/advisory/ntap-20180112-0001/

Technical Details

Vulnerability Type (View All)

  • Improper Input Validation (CWE-20)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
5.6.27
 cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

3 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2016-10397
NVD Published Date:
07/10/2017
NVD Last Modified:
01/13/2018