PHP up to 5.5.6 OBJECT parse_iso_intervals.c DateInterval memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical has been found in PHP up to 5.5.6. This impacts the function DateInterval of the file ext/date/lib/parse_iso_intervals.c of the component OBJECT Handler. The manipulation leads to memory corruption.
This vulnerability is traded as CVE-2013-6712. 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.5.6 (Programming Language Software). It has been rated as critical. This issue affects the function DateInterval of the file ext/date/lib/parse_iso_intervals.c of the component OBJECT Handler. The manipulation with an unknown input 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:
The scan function in ext/date/lib/parse_iso_intervals.c in PHP through 5.5.6 does not properly restrict creation of DateInterval objects, which might allow remote attackers to cause a denial of service (heap-based buffer over-read) via a crafted interval specification.
The weakness was shared 11/27/2013 as Fixed bug #66060 (Heap buffer over-read in DateInterval) as confirmed advisory (Website). It is possible to read the advisory at git.php.net. The vendor cooperated in the coordination of the public release. The identification of this vulnerability is CVE-2013-6712 since 11/08/2013. The exploitation is known to be easy. 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 71928 (PHP 5.5.x < 5.5.8 Multiple Vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350336 (Amazon Linux Security Advisory for php: ALAS-2014-393).
Applying the patch Fixed bug #66060 (Heap buffer over-read in DateInterval) is able to eliminate this problem. The bugfix is ready for download at git.php.net. A possible mitigation has been published immediately after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 13821.
The vulnerability is also documented in the databases at X-Force (89417), Tenable (71928), SecurityFocus (BID 64018†), OSVDB (100440†) and SecurityTracker (ID 1029409†). The entries VDB-11512, VDB-13409 and VDB-67624 are related to this item. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
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: 71928
Nessus Name: PHP 5.5.x < 5.5.8 Multiple Vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
OpenVAS ID: 702816
OpenVAS Name: Debian Security Advisory DSA 2816-1 (php5 - several vulnerabilities
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: 🔍
Patch: Fixed bug #66060 (Heap buffer over-read in DateInterval)
TippingPoint: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
Fortigate IPS: 🔍
Timeline
11/08/2013 🔍11/27/2013 🔍
11/27/2013 🔍
11/27/2013 🔍
11/27/2013 🔍
11/27/2013 🔍
11/28/2013 🔍
12/03/2013 🔍
01/13/2014 🔍
01/21/2014 🔍
06/02/2021 🔍
Sources
Product: php.orgAdvisory: Fixed bug #66060 (Heap buffer over-read in DateInterval)
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2013-6712 (🔍)
GCVE (CVE): GCVE-0-2013-6712
GCVE (VulDB): GCVE-100-11339
OVAL: 🔍
IAVM: 🔍
X-Force: 89417
SecurityFocus: 64018 - PHP CVE-2013-6712 Remote Denial of Service Vulnerability
OSVDB: 100440
SecurityTracker: 1029409 - PHP parse_iso_intervals Buffer Read Error May Let Remote Users Deny Service
Vulnerability Center: 43059 - PHP <5.3.29, <5.4.24, <5.5.8 Remote DoS Vulnerability due to a Buffer Over Read via Crafted DateInterval, Medium
See also: 🔍
Entry
Created: 12/03/2013 09:21Updated: 06/02/2021 15:20
Changes: 12/03/2013 09:21 (83), 05/19/2017 11:37 (11), 06/02/2021 15:20 (3)
Complete: 🔍
Committer:
Cache ID: 216:EA0:103
No comments yet. Languages: en.
Please log in to comment.