CVE-2016-10397
HIGH
7.5
CVSS 3.0
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).
Affected products and versions
- PHP — Up to and including 5.6.27
- PHP versions 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.0.6, 7.0.7, 7.0.8, 7.0.9, 7.0.10, 7.0.11, 7.0.12
References
- git.php.net http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4
- openwall.com http://openwall.com/lists/oss-security/2017/07/10/6 Mailing List, Patch, Third Party Advisory
- php.net http://php.net/ChangeLog-5.php Release Notes, Vendor Advisory
- php.net http://php.net/ChangeLog-7.php Release Notes, Vendor Advisory
- www.securityfocus.com http://www.securityfocus.com/bid/99552
- bugs.php.net https://bugs.php.net/bug.php?id=73192 Issue Tracking, Third Party Advisory
- security.netapp.com https://security.netapp.com/advisory/ntap-20180112-0001/
- nvd.nist.gov Official NVD record