Rapid7 Vulnerability & Exploit Database

PHP Vulnerability: CVE-2016-10712

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

PHP Vulnerability: CVE-2016-10712

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:N)
Published
02/09/2018
Created
07/25/2018
Added
04/10/2018
Modified
07/21/2021

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.

Solution(s)

  • php-upgrade-5_5_32
  • php-upgrade-5_6_18
  • php-upgrade-7_0_3

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;