Controllable return values of stream_get_meta_data
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 2.254%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:≤ 5.5.31Show full version range for php≥ 5.6.0, ≤ 5.6.17≥ 7.0.0, ≤ 7.0.2 |
| Vendor:Canonical | ubuntu linux | Affected versions:14.04Show full version range for ubuntu linux16.0417.10 |
| Vendor:redhat | phpEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php
|
| Vendor:redhat | php-bcmathEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-bcmath
|
| Vendor:redhat | php-cliEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-cli
|
| Vendor:redhat | php-commonEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-common
|
| Vendor:redhat | php-dbaEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-dba
|
| Vendor:redhat | php-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-devel
|
| Vendor:redhat | php-embeddedEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-embedded
|
| Vendor:redhat | php-enchantEnvironments (1)
| Affected versions:Range not specifiedShow full version range for php-enchant
|
1–10 of 229 · Page 1 of 23
CVSS scores and metrics9
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NCVE-2016-10712 · OSV (source-vector)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Nnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:Nredhat · Wazuh CTI (adp)3.7 / 10LowCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:Nsuse · Wazuh CTI (adp)9.4 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- Low
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Lcanonical · Wazuh CTI (adp)7.5 / 10HighCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NRed Hat · Red Hat VEX (adp)3.7 / 10LowCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N[email protected] · NVD (Primary)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:Nnvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences