CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2016 · Php

CVE-2016-10712
Php vulnerability

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.

Affected products

Php, Ubuntu Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Php products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.