PostgreSQL up to 7.2.1 lpad/rpad 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

A vulnerability was found in PostgreSQL up to 7.2.1 (Database Software). It has been classified as problematic. Affected is the function lpad/rpad. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as 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. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Buffer overflows in PostgreSQL 7.2 allow attackers to cause a denial of service and possibly execute arbitrary code via long arguments to the functions (1) lpad or (2) rpad.

The weakness was published 09/24/2002 by Sir Mordred as not defined posting (Bugtraq). The advisory is shared for download at marc.theaimsgroup.com. This vulnerability is traded as CVE-2002-0972. The exploitability is told to be easy. The attack needs to be approached locally. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 13963 (Mandrake Linux Security Advisory : postgresql (MDKSA-2002:062-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 19108 (Red Hat PostgreSQL Security Update Missing).

Upgrading eliminates this vulnerability. A possible mitigation has been published 5 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (9927) and Tenable (13963). Similar entries are available at 20090, 20091, 20093 and 20094.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.7

VulDB Base Score: 5.9
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: 🔍

Local: Yes
Remote: No

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 13963
Nessus Name: Mandrake Linux Security Advisory : postgresql (MDKSA-2002:062-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 53421
OpenVAS Name: Debian Security Advisory DSA 165-1 (postgresql)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

08/20/2002 🔍
09/24/2002 +35 days 🔍
09/24/2002 +0 days 🔍
09/24/2002 +0 days 🔍
02/11/2003 +140 days 🔍
02/12/2003 +1 days 🔍
07/31/2004 +535 days 🔍
10/18/2004 +79 days 🔍
07/23/2014 +3565 days 🔍
05/25/2019 +1767 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: marc.theaimsgroup.com
Researcher: Sir Mordred
Status: Not defined

CVE: CVE-2002-0972 (🔍)
X-Force: 9927
Vulnerability Center: 5583 - Buffer Overflow in PostgreSQL 7.2 and Earlier via Long Argument to Lpad and Rpad Functions, High
SecurityFocus: 5528 - PostgreSQL String Pad Function Buffer Overflow Vulnerability
Secunia: 8034 - Mandrake updates to postgresql, Moderately Critical

See also: 🔍

Entryinfo

Created: 07/23/2014 11:05
Updated: 05/25/2019 11:48
Changes: 07/23/2014 11:05 (76), 05/25/2019 11:48 (5)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!