CVE-2016-10712
Published: 9 February 2018
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.
Priority
CVSS 3 base score: 7.5
Status
Package | Release | Status |
---|---|---|
php7.0 Launchpad, Ubuntu, Debian |
disco |
Does not exist
|
upstream |
Released
(7.0.3)
|
|
precise |
Does not exist
|
|
trusty |
Does not exist
|
|
xenial |
Not vulnerable
(7.0.25-0ubuntu0.16.04.1)
|
|
artful |
Does not exist
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
php5 Launchpad, Ubuntu, Debian |
upstream |
Released
(5.5.32,5.6.18)
|
precise |
Released
(5.3.10-1ubuntu3.36)
|
|
trusty |
Released
(5.5.9+dfsg-1ubuntu4.24)
|
|
xenial |
Does not exist
|
|
artful |
Does not exist
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|
|
Patches: upstream: https://git.php.net/?p=php-src.git;a=commit;h=6297a117d77fa3a0df2e21ca926a92c231819cd5 upstream: http://git.php.net/?p=php-src.git;a=commit;h=2a7d8c0a06de8123034b136b0c717576b6e36fae |
||
php7.1 Launchpad, Ubuntu, Debian |
upstream |
Needs triage
|
precise |
Does not exist
|
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
artful |
Not vulnerable
(7.1.11-0ubuntu0.17.10.1)
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
disco |
Does not exist
|