PostgreSQL up to 8.2 libxml2 xml_parse input validation

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

Summaryinfo

A vulnerability described as critical has been identified in PostgreSQL up to 8.2. Affected by this issue is the function xml_parse of the component libxml2. Executing a manipulation can lead to input validation. This vulnerability is handled as CVE-2012-3489. There is not any exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability has been found in PostgreSQL up to 8.2 (Database Software) and classified as critical. This vulnerability affects the function xml_parse of the component libxml2. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect confidentiality. CVE summarizes:

The xml_parse function in the libxml2 support in the core server component in PostgreSQL 8.3 before 8.3.20, 8.4 before 8.4.13, 9.0 before 9.0.9, and 9.1 before 9.1.5 allows remote authenticated users to determine the existence of arbitrary files or URLs, and possibly obtain file or URL content that triggers a parsing error, via an XML value that refers to (1) a DTD or (2) an entity, related to an XML External Entity (aka XXE) issue.

The weakness was released 10/03/2012 as Bug 849173 as not defined bug report (Bugzilla). The advisory is shared for download at bugzilla.redhat.com. This vulnerability was named CVE-2012-3489 since 06/14/2012. The exploitation appears to be easy. The attack can be initiated remotely. The requirement for exploitation is a single authentication. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 69619 (Amazon Linux AMI : postgresql8 (ALAS-2012-129)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350618 (Amazon Linux Security Advisory for postgresql8: ALAS-2012-129).

Upgrading to version 8.3 eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (77819), Tenable (69619), SecurityFocus (BID 55074†), Secunia (SA50635†) and Vulnerability Center (SBV-36170†). Entry connected to this vulnerability is available at VDB-62535. 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: 4.3
VulDB Meta Temp Score: 4.1

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 69619
Nessus Name: Amazon Linux AMI : postgresql8 (ALAS-2012-129)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 892534
OpenVAS Name: Debian Security Advisory DSA 2534-1 (postgresql-8.4 - several vulnerabilities
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.3

Timelineinfo

06/14/2012 🔍
08/17/2012 +64 days 🔍
08/21/2012 +4 days 🔍
09/14/2012 +24 days 🔍
09/19/2012 +5 days 🔍
10/03/2012 +14 days 🔍
10/03/2012 +0 days 🔍
03/24/2015 +902 days 🔍
12/14/2021 +2457 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: Bug 849173
Status: Not defined
Confirmation: 🔍

CVE: CVE-2012-3489 (🔍)
GCVE (CVE): GCVE-0-2012-3489
GCVE (VulDB): GCVE-100-62536

OVAL: 🔍
IAVM: 🔍

X-Force: 77819
SecurityFocus: 55074 - PostgreSQL 'xml_parse()' Function Arbitrary File Access Vulnerability
Secunia: 50635 - Red Hat update for postgresql and postgresql84, Moderately Critical
Vulnerability Center: 36170 - PostgreSQL 9.1, 9.0, 8.4 and 8.3 \x27xml_parse()\x27 Flaw Allows Remote Arbitrary File Access, Medium

See also: 🔍

Entryinfo

Created: 03/24/2015 12:22
Updated: 12/14/2021 17:05
Changes: 03/24/2015 12:22 (69), 04/17/2017 11:02 (13), 12/14/2021 17:05 (3)
Complete: 🔍
Cache ID: 216::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.

Interested in the pricing of exploits?

See the underground prices here!