CVEvulnerability

CVE-2016-10397

7.5 HIGH Published 2017-07-10 Modified 2026-06-17 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