First published: Mon Jul 10 2017(Updated: )
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).
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP PHP | <=5.6.27 | |
PHP PHP | =7.0.0 | |
PHP PHP | =7.0.1 | |
PHP PHP | =7.0.2 | |
PHP PHP | =7.0.3 | |
PHP PHP | =7.0.4 | |
PHP PHP | =7.0.5 | |
PHP PHP | =7.0.6 | |
PHP PHP | =7.0.7 | |
PHP PHP | =7.0.8 | |
PHP PHP | =7.0.9 | |
PHP PHP | =7.0.10 | |
PHP PHP | =7.0.11 | |
PHP PHP | =7.0.12 | |
debian/php5 | ||
debian/php7.0 | ||
debian/php7.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-10397 is a vulnerability in PHP versions before 5.6.28 and 7.x before 7.0.13 that allows attackers to bypass hostname-specific URL checks.
PHP versions before 5.6.28 and 7.x before 7.0.13 are affected by CVE-2016-10397.
CVE-2016-10397 has a severity rating of 7.5, which is classified as high.
An attacker can exploit CVE-2016-10397 by using various URI components in the URL parser to bypass hostname-specific URL checks.
There are no specific fixes available for CVE-2016-10397, but upgrading to PHP versions 5.6.28 or 7.0.13 (or later) will address the vulnerability.