{"id":"CVE-2016-10397","sourceIdentifier":"cve@mitre.org","published":"2017-07-10T14:29:00.417","lastModified":"2026-06-17T00:39:35.927","vulnStatus":"Modified","cveTags":[],"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)."},{"lang":"es","value":"En PHP, en versiones anteriores a la 5.6.28 y en versiones 7.x anteriores a la 7.0.13, la manipulación incorrecta de varios componentes URI en el analizador sintáctico de URI podría ser empleada por atacantes para omitir comprobaciones URI específicas de hostname, tal y como demuestran las entradas evil.example.com:80#@good.example.com/ y evil.example.com:80?@good.example.com/ en la función parse_url (implementadas en la función php_url_parse_ex en ext/standard/url.c)."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-20"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionEndIncluding":"5.6.27","matchCriteriaId":"DEBFD36E-4559-474C-ADEE-3686F156180C"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*","matchCriteriaId":"DB6890AF-8A0A-46EE-AAD5-CF9AAE14A321"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*","matchCriteriaId":"6B90B947-7B54-47F3-9637-2F4AC44079EE"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*","matchCriteriaId":"35848414-BD5D-4164-84DC-61ABBB1C4152"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*","matchCriteriaId":"2B1F8402-8551-4F66-A9A7-81D472AB058E"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*","matchCriteriaId":"7A773E8E-48CD-4D35-A0FD-629BD9334486"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*","matchCriteriaId":"FC492340-79AF-4676-A161-079A97EC6F0C"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*","matchCriteriaId":"F1C2D8FE-C380-4B43-B634-A3DBA4700A71"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*","matchCriteriaId":"3EB58393-0C10-413C-8D95-6BAA8BC19A1B"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*","matchCriteriaId":"751F51CA-9D88-4971-A6EC-8C0B72E8E22B"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*","matchCriteriaId":"37B74118-8FC2-44CB-9673-A83DF777B2E6"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*","matchCriteriaId":"4D56A200-1477-40DA-9444-CFC946157C69"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*","matchCriteriaId":"FD0D1CCC-A857-4C15-899E-08F9255CEE34"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*","matchCriteriaId":"6745CC43-2836-4CD8-848F-EEA08AE9D5AC"}]}]}],"references":[{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4","source":"cve@mitre.org"},{"url":"http://openwall.com/lists/oss-security/2017/07/10/6","source":"cve@mitre.org","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"http://php.net/ChangeLog-5.php","source":"cve@mitre.org","tags":["Release Notes","Vendor Advisory"]},{"url":"http://php.net/ChangeLog-7.php","source":"cve@mitre.org","tags":["Release Notes","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/99552","source":"cve@mitre.org"},{"url":"https://bugs.php.net/bug.php?id=73192","source":"cve@mitre.org","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","source":"cve@mitre.org"},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://openwall.com/lists/oss-security/2017/07/10/6","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch","Third Party Advisory"]},{"url":"http://php.net/ChangeLog-5.php","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Vendor Advisory"]},{"url":"http://php.net/ChangeLog-7.php","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/99552","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.php.net/bug.php?id=73192","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20180112-0001/","source":"af854a3a-2127-422b-91ae-364da2661108"}]}