Vulnerability record · CVE-2016-10397 · published 10 July 2017
CVE-2016-10397: Php improper input validation vulnerability
Php · Php
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).
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).
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4 | |
| http://openwall.com/lists/oss-security/2017/07/10/6 | Mailing ListPatchThird Party Advisory |
| http://php.net/ChangeLog-5.php | Release NotesVendor Advisory |
| http://php.net/ChangeLog-7.php | Release NotesVendor Advisory |
| http://www.securityfocus.com/bid/99552 | |
| https://bugs.php.net/bug.php?id=73192 | Issue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20180112-0001/ | |
| http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4 | |
| http://openwall.com/lists/oss-security/2017/07/10/6 | Mailing ListPatchThird Party Advisory |
| http://php.net/ChangeLog-5.php | Release NotesVendor Advisory |
| http://php.net/ChangeLog-7.php | Release NotesVendor Advisory |
| http://www.securityfocus.com/bid/99552 | |
| https://bugs.php.net/bug.php?id=73192 | Issue TrackingThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20180112-0001/ |
Track CVE-2016-10397 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2016-10397), CISA KEV, FIRST EPSS (scores of 2026-11-21). This page is refreshed as NVD updates the record.