CVE-2016-10397
Summary
| CVE | CVE-2016-10397 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-07-10 14:29:00 UTC |
| Updated | 2025-04-20 01:37:25 UTC |
| 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). |
Risk And Classification
Primary CVSS: v3.0 7.5 HIGH from [email protected]
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Problem Types: CWE-20 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 7.5 | HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| 2.0 | [email protected] | Primary | 5 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
NoneIntegrity
PartialAvailability
NoneAV:N/AC:L/Au:N/C:N/I:P/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Php | Php | 7.0.0 | All | All | All |
| Application | Php | Php | 7.0.1 | All | All | All |
| Application | Php | Php | 7.0.10 | All | All | All |
| Application | Php | Php | 7.0.11 | All | All | All |
| Application | Php | Php | 7.0.12 | All | All | All |
| Application | Php | Php | 7.0.2 | All | All | All |
| Application | Php | Php | 7.0.3 | All | All | All |
| Application | Php | Php | 7.0.4 | All | All | All |
| Application | Php | Php | 7.0.5 | All | All | All |
| Application | Php | Php | 7.0.6 | All | All | All |
| Application | Php | Php | 7.0.7 | All | All | All |
| Application | Php | Php | 7.0.8 | All | All | All |
| Application | Php | Php | 7.0.9 | All | All | All |
| Application | Php | Php | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| oss-security - Re: CVE IDs needed for PHP vulnerabilites (affects 5.6.30 and 7.0.20) | af854a3a-2127-422b-91ae-364da2661108 | openwall.com | Mailing List, Patch, Third Party Advisory |
| September 2017 PHP Vulnerabilities in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| PHP :: Sec Bug #73192 :: parse_url return wrong hostname | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | Issue Tracking, Third Party Advisory |
| PHP: PHP 7 ChangeLog | af854a3a-2127-422b-91ae-364da2661108 | php.net | Release Notes, Vendor Advisory |
| 208.43.231.11 Git - php-src.git/commit | af854a3a-2127-422b-91ae-364da2661108 | git.php.net | |
| Malformed Request | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| PHP: PHP 5 ChangeLog | af854a3a-2127-422b-91ae-364da2661108 | php.net | Release Notes, Vendor Advisory |
| 208.43.231.11 Git - php-src.git/commit | MITRE | git.php.net | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.