PHP up to 5.4.39/5.5.23/5.6.7 ext/phar/phar.c phar_parse_metadata memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability described as problematic has been identified in PHP up to 5.4.39/5.5.23/5.6.7. The impacted element is the function phar_parse_metadata of the file ext/phar/phar.c. Executing a manipulation can lead to memory corruption.
This vulnerability appears as CVE-2015-3307. There is no available exploit.
Upgrading the affected component is recommended.
Details
A vulnerability classified as problematic was found in PHP up to 5.4.39/5.5.23/5.6.7 (Programming Language Software). This vulnerability affects the function phar_parse_metadata of the file ext/phar/phar.c. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect availability. CVE summarizes:
The phar_parse_metadata function in ext/phar/phar.c in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 allows remote attackers to cause a denial of service (heap metadata corruption) or possibly have unspecified other impact via a crafted tar archive.
The weakness was presented 06/09/2015 with PHP as Bug 1223441 as not defined bug report (Bugzilla). The advisory is shared for download at bugzilla.redhat.com. This vulnerability was named CVE-2015-3307 since 04/15/2015. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 84345 (CentOS 7 : php (CESA-2015:1135)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 157124 (Oracle Enterprise Linux Security Update for php55-php (ELSA-2015-1186)).
Upgrading to version 5.4.40, 5.5.24 or 5.6.8 eliminates this vulnerability.
The vulnerability is also documented in the databases at Tenable (84345), SecurityFocus (BID 74703†) and Vulnerability Center (SBV-52128†). See VDB-68572 and VDB-75702 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
- 5.4.0
- 5.4.1
- 5.4.2
- 5.4.3
- 5.4.4
- 5.4.5
- 5.4.6
- 5.4.7
- 5.4.8
- 5.4.9
- 5.4.10
- 5.4.11
- 5.4.12
- 5.4.13
- 5.4.14
- 5.4.15
- 5.4.16
- 5.4.17
- 5.4.18
- 5.4.19
- 5.4.20
- 5.4.21
- 5.4.22
- 5.4.23
- 5.4.24
- 5.4.25
- 5.4.26
- 5.4.27
- 5.4.28
- 5.4.29
- 5.4.30
- 5.4.31
- 5.4.32
- 5.4.33
- 5.4.34
- 5.4.35
- 5.4.36
- 5.4.37
- 5.4.38
- 5.4.39
- 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.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
- 5.6.5
- 5.6.6
- 5.6.7
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
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: 84345
Nessus Name: CentOS 7 : php (CESA-2015:1135)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 802001
OpenVAS Name: PHP Multiple Vulnerabilities - 03 - Jun15 (Linux)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: PHP 5.4.40/5.5.24/5.6.8
Timeline
04/15/2015 🔍05/18/2015 🔍
05/18/2015 🔍
06/09/2015 🔍
06/09/2015 🔍
06/10/2015 🔍
08/17/2015 🔍
05/20/2022 🔍
Sources
Product: php.orgAdvisory: Bug 1223441
Organization: PHP
Status: Not defined
Confirmation: 🔍
CVE: CVE-2015-3307 (🔍)
GCVE (CVE): GCVE-0-2015-3307
GCVE (VulDB): GCVE-100-75808
SecurityFocus: 74703 - PHP PHAR 'phar_tar_process_metadata()' Function Heap Memory Corruption Vulnerability
Vulnerability Center: 52128 - PHP 5.6 - 5.6.8 Remote Code Execution in phar_tar_process_metadata() via a Crafted File, Medium
See also: 🔍
Entry
Created: 06/10/2015 10:19Updated: 05/20/2022 17:20
Changes: 06/10/2015 10:19 (60), 10/15/2017 12:13 (14), 05/20/2022 17:20 (3)
Complete: 🔍
Cache ID: 216:0AF: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.