CVE-2016-10397
Severity CVSS v4.0:
Pending analysis
Type:
CWE-20
Input Validation
Publication date:
10/07/2017
Last modified:
20/04/2025
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).
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Base Score 2.0
5.00
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.6.27 (including) | |
| cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:* | ||
| cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://git.php.net/?p=php-src.git%3Ba%3Dcommit%3Bh%3Db061fa909de77085d3822a89ab901b934d0362c4
- http://openwall.com/lists/oss-security/2017/07/10/6
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://www.securityfocus.com/bid/99552
- https://bugs.php.net/bug.php?id=73192
- https://security.netapp.com/advisory/ntap-20180112-0001/
- http://git.php.net/?p=php-src.git%3Ba%3Dcommit%3Bh%3Db061fa909de77085d3822a89ab901b934d0362c4
- http://openwall.com/lists/oss-security/2017/07/10/6
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://www.securityfocus.com/bid/99552
- https://bugs.php.net/bug.php?id=73192
- https://security.netapp.com/advisory/ntap-20180112-0001/



