{"id":"CVE-2016-10397","state":"PUBLISHED","title":"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 dem","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).","publishedAt":"2017-07-10T14:00:00.000Z","updatedAt":"2024-08-06T03:21:50.800Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://openwall.com/lists/oss-security/2017/07/10/6","http://php.net/ChangeLog-5.php","https://security.netapp.com/advisory/ntap-20180112-0001/","http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4","http://www.securityfocus.com/bid/99552","http://php.net/ChangeLog-7.php","https://bugs.php.net/bug.php?id=73192"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:26.791Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/10xxx/CVE-2016-10397.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-10397","state":"PUBLISHED","datePublished":"2017-07-10T14:00:00.000Z","dateUpdated":"2024-08-06T03:21:50.800Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2017-07-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://openwall.com/lists/oss-security/2017/07/10/6","tags":["x_refsource_CONFIRM"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","tags":["x_refsource_CONFIRM"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/99552","name":"99552","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://php.net/ChangeLog-7.php","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.php.net/bug.php?id=73192","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-01-13T10:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2017-07-10T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-10397","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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)."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://openwall.com/lists/oss-security/2017/07/10/6","refsource":"CONFIRM","url":"http://openwall.com/lists/oss-security/2017/07/10/6"},{"name":"http://php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-5.php"},{"name":"https://security.netapp.com/advisory/ntap-20180112-0001/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20180112-0001/"},{"name":"http://git.php.net/?p=php-src.git;a=commit;h=b061fa909de77085d3822a89ab901b934d0362c4","refsource":"CONFIRM","url":"http://git.php.net/?p=php-src.git;a=commit;h=b061fa909de77085d3822a89ab901b934d0362c4"},{"name":"99552","refsource":"BID","url":"http://www.securityfocus.com/bid/99552"},{"name":"http://php.net/ChangeLog-7.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-7.php"},{"name":"https://bugs.php.net/bug.php?id=73192","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=73192"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://openwall.com/lists/oss-security/2017/07/10/6","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securityfocus.com/bid/99552","name":"99552","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://php.net/ChangeLog-7.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=73192","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T03:21:50.800Z"}}]}}}