7.5high

CVE-2016-10397

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 by…

Published 9 y ago · modified 4 mo ago · JSON

CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.9%
percentile 80%
Public exploits
0
none known

Summary

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).

Exploit prediction (EPSS)

1.91% probability of exploitation in the next 30 days, higher than 80% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.07.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

Weakness
  • CWE-20 Improper Input Validation
Technology feeds
PHP (RSS, critical only)

References

  • openwall.com /lists/oss-security/2017/07/10/6 · x_refsource_CONFIRM, x_transferred
  • php.net /ChangeLog-5.php · x_refsource_CONFIRM, x_transferred
  • security.netapp.com /advisory/ntap-20180112-0001/ · x_refsource_CONFIRM, x_transferred
  • git.php.net /?p=php-src.git%3Ba=commit%3Bh=b061fa909de77085d3822a89ab901b934d0362c4 · x_refsource_CONFIRM, x_transferred
  • securityfocus.com /bid/99552 · vdb-entry, x_refsource_BID, x_transferred
  • php.net /ChangeLog-7.php · x_refsource_CONFIRM, x_transferred
  • bugs.php.net /bug.php?id=73192 · x_refsource_CONFIRM, x_transferred

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.