PHP up to 5.6.29/7.0.14 Phar Archive ext/phar/phar.c phar_parse_pharfile Archive File memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in PHP up to 5.6.29/7.0.14 and classified as problematic. Affected by this issue is the function phar_parse_pharfile of the file ext/phar/phar.c of the component Phar Archive Handler. The manipulation as part of Archive File leads to memory corruption.
This vulnerability is traded as CVE-2017-11147. It is possible to initiate the attack remotely. There is no exploit available.
To fix this issue, it is recommended to deploy a patch.
Details
A vulnerability was found in PHP up to 5.6.29/7.0.14 (Programming Language Software) and classified as problematic. This issue affects the function phar_parse_pharfile of the file ext/phar/phar.c of the component Phar Archive Handler. The manipulation as part of a Archive File leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is availability. The summary by CVE is:
In PHP before 5.6.30 and 7.x before 7.0.15, the PHAR archive handler could be used by attackers supplying malicious archive files to crash the PHP interpreter or potentially disclose information due to a buffer over-read in the phar_parse_pharfile function in ext/phar/phar.c.
The bug was discovered 07/12/2017. The weakness was shared 07/10/2017 as confirmed git commit (GIT Repository). It is possible to read the advisory at git.php.net. The identification of this vulnerability is CVE-2017-11147 since 07/10/2017. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 101908 (Debian DLA-1034-1 : php5 security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196874 (Ubuntu Security Notification for Php5, Php7.0 Vulnerabilities (USN-3382-1)).
Upgrading to version 5.6.30 or 7.0.15 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.php.net. The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (101908) and SecurityFocus (BID 99607†). The entries VDB-97454, VDB-103373, VDB-103375 and VDB-103376 are related to this item. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
- 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
- 5.6.24
- 5.6.25
- 5.6.26
- 5.6.27
- 5.6.28
- 5.6.29
- 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
- 7.0.9
- 7.0.10
- 7.0.11
- 7.0.12
- 7.0.13
- 7.0.14
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.2VulDB Meta Temp Score: 7.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.1
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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
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: 101908
Nessus Name: Debian DLA-1034-1 : php5 security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 103043
OpenVAS Name: PHP phar_parse_pharfile Function Denial of Service Vulnerability - (Windows)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: PHP 5.6.30/7.0.15
Patch: e5246580a85f031e1a3b8064edbaa55c1643a451
Timeline
07/10/2017 🔍07/10/2017 🔍
07/10/2017 🔍
07/10/2017 🔍
07/11/2017 🔍
07/12/2017 🔍
07/21/2017 🔍
07/24/2017 🔍
12/12/2022 🔍
Sources
Product: php.orgAdvisory: RHSA-2018:1296
Researcher: eyal
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2017-11147 (🔍)
GCVE (CVE): GCVE-0-2017-11147
GCVE (VulDB): GCVE-100-103379
SecurityFocus: 99607 - PHP CVE-2017-11147 Memory Corruption Vulnerability
See also: 🔍
Entry
Created: 07/11/2017 12:46Updated: 12/12/2022 09:36
Changes: 07/11/2017 12:46 (80), 10/24/2019 16:25 (5), 12/31/2020 13:23 (3), 12/12/2022 09:36 (4)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.