Bug 1471811 (CVE-2016-10397) - CVE-2016-10397 php: Incorrect handling of URI components in URL parser
Summary: CVE-2016-10397 php: Incorrect handling of URI components in URL parser
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2016-10397
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1486427 1486428 1486429 1486430 1486431 1486432 1486433 1486434
Blocks: 1471847
TreeView+ depends on / blocked
 
Reported: 2017-07-17 13:34 UTC by Adam Mariš
Modified: 2021-02-17 01:55 UTC (History)
9 users (show)

Fixed In Version: php 5.6.28, php 7.0.17, php 7.1.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-31 14:11:35 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-07-17 13:34:25 UTC
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).

Upstream bug:

https://bugs.php.net/bug.php?id=73192

Upstream patch:

https://github.com/php/php-src/commit/b061fa909de77085d3822a89ab901b934d0362c4

Comment 5 Raphael Sanchez Prudencio 2017-08-31 14:14:21 UTC
Statement:

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.


Note You need to log in before you can comment on or make changes to this bug.