PostgreSQL up to 8.2.10 index memory corruption

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.
5.7$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in PostgreSQL up to 8.2.10. This affects the function index. Such manipulation leads to memory corruption. This vulnerability is uniquely identified as CVE-2009-4136. No exploit exists. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in PostgreSQL up to 8.2.10 (Database Software) and classified as critical. Affected by this issue is the function index. 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 confidentiality, integrity, and availability. CVE summarizes:

PostgreSQL 7.4.x before 7.4.27, 8.0.x before 8.0.23, 8.1.x before 8.1.19, 8.2.x before 8.2.15, 8.3.x before 8.3.9, and 8.4.x before 8.4.2 does not properly manage session-local state during execution of an index function by a database superuser, which allows remote authenticated users to gain privileges via a table with crafted index functions, as demonstrated by functions that modify (1) search_path or (2) a prepared statement, a related issue to CVE-2007-6600 and CVE-2009-3230.

The weakness was disclosed 12/14/2009 as Bug 546321 as confirmed bug report (Bugzilla). The advisory is shared for download at bugzilla.redhat.com. This vulnerability is handled as CVE-2009-4136 since 12/01/2009. The exploitation is known to be easy. The attack may be launched remotely. A simple authentication is necessary for exploitation. There are known technical details, but no exploit is available.

It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 68044 (Oracle Linux 5 : postgresql (ELSA-2010-0429)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 155662 (Oracle Enterprise Linux Update for PostgreSQL (ELSA-2010-0427)).

Upgrading to version 8.2.11 eliminates this vulnerability. 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 (68044), SecurityFocus (BID 37333†), OSVDB (61039†), Secunia (SA37663†) and SecurityTracker (ID 1023326†). The entries VDB-13593, VDB-51723 and VDB-51151 are pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 68044
Nessus Name: Oracle Linux 5 : postgresql (ELSA-2010-0429)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 66566
OpenVAS Name: Fedora Core 11 FEDORA-2009-13363 (postgresql)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: PostgreSQL 8.2.11

Timelineinfo

12/01/2009 🔍
12/14/2009 +13 days 🔍
12/14/2009 +0 days 🔍
12/14/2009 +0 days 🔍
12/14/2009 +0 days 🔍
12/15/2009 +0 days 🔍
12/15/2009 +0 days 🔍
12/15/2009 +0 days 🔍
12/15/2009 +0 days 🔍
12/21/2009 +5 days 🔍
07/12/2013 +1299 days 🔍
03/18/2015 +614 days 🔍
08/28/2021 +2355 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: Bug 546321
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2009-4136 (🔍)
GCVE (CVE): GCVE-0-2009-4136
GCVE (VulDB): GCVE-100-51152

OVAL: 🔍

SecurityFocus: 37333 - PostgreSQL Index Function Session State Modification Local Privilege Escalation Vulnerability
Secunia: 37663 - PostgreSQL SSL Certificate Processing and Privilege Escalation Vulnerabilities, Moderately Critical
OSVDB: 61039 - PostgreSQL Index Function Session Manipulation Privilege Escalation
SecurityTracker: 1023326 - PostgreSQL Index Function State Changing Flaw Lets Remote Authenticated Users Gain Elevated Privileges
Vulnerability Center: 24415 - PostgreSQL Index Function Vulnerability Allows Remote Authenticated Attackers to Gain Privileges, Medium
Vupen: ADV-2009-3519

See also: 🔍

Entryinfo

Created: 03/18/2015 15:15
Updated: 08/28/2021 17:33
Changes: 03/18/2015 15:15 (72), 02/18/2017 09:40 (17), 08/28/2021 17:33 (3)
Complete: 🔍
Cache ID: 216:A0A:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!