PHP up to 5.0.5 HTTP POST GLOBAL heap-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.00

A vulnerability was found in PHP up to 5.0.5 (Programming Language Software). It has been rated as critical. Affected by this issue is an unknown part of the component HTTP POST Handler. The manipulation of the argument GLOBAL with an unknown input leads to a heap-based overflow vulnerability. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. CVE summarizes:

Integer overflow in pcre_compile.c in Perl Compatible Regular Expressions (PCRE) before 6.2, as used in multiple products such as Python, Ethereal, and PHP, allows attackers to execute arbitrary code via quantifier values in regular expressions, which leads to a heap-based buffer overflow.

The bug was discovered 08/20/2005. The weakness was shared 10/31/2005 by Stefan Esser with Hardened-PHP Project (Website). The advisory is shared for download at hardened-php.net. This vulnerability is handled as CVE-2005-2491 since 08/08/2005. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 3 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 19537 (GLSA-200508-17 : libpcre: Heap integer overflow), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 115305 (Apple Mac OS X Security Update 2005-009 Not Installed (APPLE-SA-2005-11-29)).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at php.net. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (19537), SecurityFocus (BID 15647†), OSVDB (18906†), Secunia (SA17371†) and SecurityTracker (ID 1014744†). The entries VDB-1786, VDB-1813, VDB-1846 and VDB-1850 are related to this item. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 19537
Nessus Name: GLSA-200508-17 : libpcre: Heap integer overflow
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 55207
OpenVAS Name: Debian Security Advisory DSA 800-1 (pcre3)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Patch: php.net

Timelineinfo

08/08/2005 🔍
08/20/2005 +12 days 🔍
08/20/2005 +0 days 🔍
08/23/2005 +3 days 🔍
08/25/2005 +2 days 🔍
08/30/2005 +5 days 🔍
10/31/2005 +62 days 🔍
11/01/2005 +1 days 🔍
11/30/2005 +29 days 🔍
06/25/2024 +6782 days 🔍

Sourcesinfo

Product: php.org

Advisory: hardened-php.net
Researcher: Stefan Esser
Organization: Hardened-PHP Project
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2005-2491 (🔍)
GCVE (CVE): GCVE-0-2005-2491
GCVE (VulDB): GCVE-100-1844

OVAL: 🔍

SecurityFocus: 15647 - RETIRED: Apple Mac OS X Security Update 2005-009 Multiple Vulnerabilities
Secunia: 17371 - PHP Multiple Vulnerabilities, Moderately Critical
OSVDB: 18906 - CVE-2005-2491 - PCRE - Integer Overflow Issue
SecurityTracker: 1014744
Vulnerability Center: 9064
Vupen: ADV-2005-1511

See also: 🔍

Entryinfo

Created: 11/01/2005 10:25 AM
Updated: 06/25/2024 01:03 PM
Changes: 11/01/2005 10:25 AM (90), 07/05/2019 08:20 AM (4), 06/25/2024 01:03 PM (17)
Complete: 🔍
Cache ID: 18:A72:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!