Rapid7 Vulnerability & Exploit Database

Ubuntu: (Multiple Advisories) (CVE-2016-10712): PHP vulnerabilities

Back to Search

Ubuntu: (Multiple Advisories) (CVE-2016-10712): PHP vulnerabilities

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/25/2018
Modified
09/12/2020

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)

  • ubuntu-upgrade-libapache2-mod-php5
  • ubuntu-upgrade-libapache2-mod-php7-0
  • ubuntu-upgrade-libapache2-mod-php7-1
  • ubuntu-upgrade-php5-cgi
  • ubuntu-upgrade-php5-cli
  • ubuntu-upgrade-php5-fpm
  • ubuntu-upgrade-php7-0-cgi
  • ubuntu-upgrade-php7-0-cli
  • ubuntu-upgrade-php7-0-fpm
  • ubuntu-upgrade-php7-1-cgi
  • ubuntu-upgrade-php7-1-cli
  • ubuntu-upgrade-php7-1-fpm

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

;