CVEvulnerability
CVE-2016-10397
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2017-07-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-20
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:[email protected]/ inputs to the parse_url function (implemented in the php_url_parse_ex function in ext/standard/url.c).
Affected configurations
• php php (<= 5.6.27)
• php php 7.0.0
• php php 7.0.1
• php php 7.0.2
• php php 7.0.3
• php php 7.0.4
• php php 7.0.5
• php php 7.0.6
• php php 7.0.7
• php php 7.0.8
• php php 7.0.9
• php php 7.0.10
• php php 7.0.11
• php php 7.0.12
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4 git.php.net
- http://openwall.com/lists/oss-security/2017/07/10/6 Mailing List, Patch, Third Party Advisory
- http://php.net/ChangeLog-5.php Release Notes, Vendor Advisory
- http://php.net/ChangeLog-7.php Release Notes, Vendor Advisory
- http://www.securityfocus.com/bid/99552 www.securityfocus.com
- https://bugs.php.net/bug.php?id=73192 Issue Tracking, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20180112-0001/ security.netapp.com
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4 git.php.net
- http://openwall.com/lists/oss-security/2017/07/10/6 Mailing List, Patch, Third Party Advisory
- http://php.net/ChangeLog-5.php Release Notes, Vendor Advisory
- http://php.net/ChangeLog-7.php Release Notes, Vendor Advisory
- http://www.securityfocus.com/bid/99552 www.securityfocus.com
- https://bugs.php.net/bug.php?id=73192 Issue Tracking, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20180112-0001/ security.netapp.com