CVE-2016-10397

php: Incorrect handling of URI components in URL parser

Published Jul 10, 2017 CVSS 3.0 · 7.5 High EPSS 1.9% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1034-1 php5 security update
EUVD EUVD EUVD-2016-1579 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).
Ubuntu USN Ubuntu USN USN-3382-1 PHP vulnerabilities
Ubuntu USN Ubuntu USN USN-3382-2 PHP vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 3:21 AM
Reserved
Jul 10, 2017, 12:00 AM
Status
Modified
Published
Jul 10, 2017, 2:29 PM
Modified
Jun 17, 2026, 12:39 AM
Severity
Moderate
Public date
Sep 28, 2016, 12:00 AM