CVE-2016-10712

Modified
Published: 09 Feb 2018, 06:00
Last modified:06 Aug 2024, 03:30

Vulnerability Summary

Overall Risk (default)
medium
40/100
CVSS Score
7.5 HIGH
v3.0 (nvd)
EPSS Score
0.56% LOW
1% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

09 Feb 2018, 06:00
Published
Vulnerability first disclosed
06 Aug 2024, 03:30
Last Modified
Vulnerability information updated

Description

In PHP before 5.5.32, 5.6.x before 5.6.18, and 7.x before 7.0.3, all of the return values of stream_get_meta_data can be controlled if the input can be controlled (e.g., during file uploads). For example, a "$uri = stream_get_meta_data(fopen($file, "r"))['uri']" call mishandles the case where $file is data:text/plain;uri=eviluri, -- in other words, metadata can be set by an attacker.

CVSS Metrics

  • v3.0HIGHScore: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • v2.0MEDIUMScore: 5AV:N/AC:L/Au:N/C:N/I:P/A:N

EPSS Trends

Current EPSS score: 0.56% Percentile: 69%

Techniques & Countermeasures

  • CWE-20Improper Input Validation

    The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Affected Systems

  • canonicalubuntu_linux

    14.04 | 16.04 | 17.10

  • UnknownPHP

    ≤ 5.5.31 | ≥ 5.6.0, ≤ 5.6.17 | ≥ 7.0.0, ≤ 7.0.2

References (4)