Skip to content

CVE-2016-10397 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.ex...

HighCVSS 7.5 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
PHP <= 5.6.27 No fix listed
PHP = 7.0.0 No fix listed
PHP = 7.0.1 No fix listed
PHP = 7.0.2 No fix listed
PHP = 7.0.3 No fix listed
PHP = 7.0.4 No fix listed
PHP = 7.0.5 No fix listed
PHP = 7.0.6 No fix listed
PHP = 7.0.7 No fix listed
PHP = 7.0.8 No fix listed
PHP = 7.0.9 No fix listed
PHP = 7.0.10 No fix listed
PHP = 7.0.11 No fix listed
PHP = 7.0.12 No fix listed

References