SecurityContext

CVE-2016-10712: PHP - Undefined

  • Cve: CVE-2016-10712
  • Name: PHP - Undefined
  • 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.
  • Impact: Attackers can manipulate stream metadata, potentially leading to information disclosure or other security bypasses.
  • Remediation: Update PHP to version 5.5.32, 5.6.18, 7.0.3 or later.
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.02254
  • Epss percentile: 0.83385
  • Assignee: [email protected]
  • Published at: 2018-02-09T06:29:00Z
  • Age in days: 3210
  • Modified at: 2026-06-17T00:40:12Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-10712
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-20Improper Input Validation

Public exploits

UrlSourceAdded date
https://bugs.php.net/bug.php?id=71323nvd2018-02-09

References

Same in every row:

  • Source: nvd
UrlTags
https://bugs.php.net/bug.php?id=71323Exploit, Issue Tracking, Patch, Vendor Advisory
https://usn.ubuntu.com/3600-1/Third Party Advisory
https://git.php.net/?p=php-src.git%3Ba=commit%3Bh=6297a117d77fa3a0df2e21ca926a92c231819cd5
https://usn.ubuntu.com/3566-2/

Products

ProductAffectedPlatform boundSourcesUrl
php:php>= 7.0.0, <= 7.0.2; >= 5.6.0, <= 5.6.17; <= 5.5.31nonvd/v1/products/php/php
canonical:ubuntu_linux= 17.10, = 16.04, = 14.04nonvd/v1/products/canonical/ubuntu_linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-02-09
  • Remote: yes
  • Exposed hosts: 21109361
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports