PHP up to 5.5.37/5.6.23/7.0.8 ZIP Archive TSRM/tsrm_virtual_cwd.c virtual_file_ex integer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in PHP up to 5.5.37/5.6.23/7.0.8. Affected by this vulnerability is the function virtual_file_ex of the file TSRM/tsrm_virtual_cwd.c of the component ZIP Archive Handler. Such manipulation leads to integer overflow.
This vulnerability is referenced as CVE-2016-6289. The attack can only be performed from a local environment. No exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability, which was classified as critical, has been found in PHP up to 5.5.37/5.6.23/7.0.8 (Programming Language Software). Affected by this issue is the function virtual_file_ex of the file TSRM/tsrm_virtual_cwd.c of the component ZIP Archive Handler. The manipulation with an unknown input leads to a integer overflow vulnerability. Using CWE to declare the problem leads to CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. Impacted is confidentiality, integrity, and availability.
The weakness was published 07/21/2016 as Version 7.0.9 as confirmed changelog (Website). The advisory is shared for download at php.net. This vulnerability is handled as CVE-2016-6289 since 07/24/2016. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 119979 (SUSE SLES12 Security Update : php5 (SUSE-SU-2016:2408-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175796 (Debian Security Update for php5 (DSA 3631-1) (HTTPoxy)).
Upgrading to version 5.5.38, 5.6.24 or 7.0.9 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (119979) and SecurityFocus (BID 92074†). Similar entries are available at VDB-90198, VDB-90199, VDB-90201 and VDB-90202. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
- 5.5.0
- 5.5.1
- 5.5.2
- 5.5.3
- 5.5.4
- 5.5.5
- 5.5.6
- 5.5.7
- 5.5.8
- 5.5.9
- 5.5.10
- 5.5.11
- 5.5.12
- 5.5.13
- 5.5.14
- 5.5.15
- 5.5.16
- 5.5.17
- 5.5.18
- 5.5.19
- 5.5.20
- 5.5.21
- 5.5.22
- 5.5.23
- 5.5.24
- 5.5.25
- 5.5.26
- 5.5.27
- 5.5.28
- 5.5.29
- 5.5.30
- 5.5.31
- 5.5.32
- 5.5.33
- 5.5.34
- 5.5.35
- 5.5.36
- 5.5.37
- 5.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
- 5.6.5
- 5.6.6
- 5.6.7
- 5.6.8
- 5.6.9
- 5.6.10
- 5.6.11
- 5.6.12
- 5.6.13
- 5.6.14
- 5.6.15
- 5.6.16
- 5.6.17
- 5.6.18
- 5.6.19
- 5.6.20
- 5.6.21
- 5.6.22
- 5.6.23
- 7.0.0
- 7.0.1
- 7.0.2
- 7.0.3
- 7.0.4
- 7.0.5
- 7.0.6
- 7.0.7
- 7.0.8
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.8VulDB Meta Temp Score: 7.6
VulDB Base Score: 7.8
VulDB Temp Score: 7.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Integer overflowCWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 119979
Nessus Name: SUSE SLES12 Security Update : php5 (SUSE-SU-2016:2408-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 801105
OpenVAS Name: Apple Mac OS X Multiple Vulnerabilities-01 September-2016
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: PHP 5.5.38/5.6.24/7.0.9
Patch: 0218acb7e756a469099c4ccfb22bce6c2bd1ef87
Timeline
07/19/2016 🔍07/21/2016 🔍
07/21/2016 🔍
07/22/2016 🔍
07/24/2016 🔍
07/25/2016 🔍
01/02/2019 🔍
09/09/2022 🔍
Sources
Product: php.orgAdvisory: Version 7.0.9
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2016-6289 (🔍)
GCVE (CVE): GCVE-0-2016-6289
GCVE (VulDB): GCVE-100-90200
OVAL: 🔍
SecurityFocus: 92074 - PHP 'zend_virtual_cwd.c' Integer Overflow Vulnerability
SecurityTracker: 1036430
See also: 🔍
Entry
Created: 07/22/2016 20:06Updated: 09/09/2022 08:41
Changes: 07/22/2016 20:06 (59), 03/10/2019 08:35 (24), 09/09/2022 08:41 (6)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.