CVE-2016-10712
Last modified
CVE-2016-10712 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 2.30% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | <= 5.5.31 |
| Php | Php | >= 5.6.0, <= 5.6.17 |
| Php | Php | >= 7.0.0, <= 7.0.2 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 17.10 |
References
- https://bugs.php.net/bug.php?id=71323Exploit, Issue Tracking, Patch, Vendor Advisory
- https://usn.ubuntu.com/3600-1/Third Party Advisory
- https://bugs.php.net/bug.php?id=71323Exploit, Issue Tracking, Patch, Vendor Advisory
- https://usn.ubuntu.com/3600-1/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2016-10712?
How severe is CVE-2016-10712?
How do I fix CVE-2016-10712?
Are you affected by CVE-2016-10712?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
