PostgreSQL up to 9.2.3 Connection Request code injection

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

Summaryinfo

A vulnerability identified as problematic has been detected in PostgreSQL. This impacts an unknown function of the component Connection Request Handler. The manipulation leads to code injection. This vulnerability is documented as CVE-2013-1899. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in PostgreSQL (Database Software). It has been rated as critical. This issue affects some unknown functionality of the component Connection Request Handler. The manipulation with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to cause a denial of service (file corruption), and allows remote authenticated users to modify configuration settings and execute arbitrary code, via a connection request using a database name that begins with a "-" (hyphen).

The weakness was released 04/04/2013 by Marko Kreen as 1028387 as confirmed advisory (Website). It is possible to read the advisory at securitytracker.com. The public release was coordinated with the project team. The identification of this vulnerability is CVE-2013-1899 since 02/19/2013. The exploitation is known to be easy. The attack may be initiated remotely. A simple authentication is required for exploitation. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1059 according to MITRE ATT&CK.

It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 69737 (Amazon Linux AMI : postgresql9 (ALAS-2013-178)), 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 350568 (Amazon Linux Security Advisory for postgresql9: ALAS-2013-178).

Upgrading to version 9.2.4 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (69737), SecurityFocus (BID 58876†), OSVDB (91962†), Secunia (SA52837†) and SecurityTracker (ID 1028387†). Entries connected to this vulnerability are available at VDB-8167, VDB-8168, VDB-8169 and VDB-8170. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

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: 6.0

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

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Highly functional

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 69737
Nessus Name: Amazon Linux AMI : postgresql9 (ALAS-2013-178)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 892657
OpenVAS Name: Debian Security Advisory DSA 2657-1 (postgresql-8.4 - guessable random numbers
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: postgres_dbname_flag_injection.rb
MetaSploit Name: PostgreSQL Database Name Command Line Flag Injection
MetaSploit File: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: PostgreSQL 9.2.4
Fortigate IPS: 🔍

Timelineinfo

02/19/2013 🔍
04/04/2013 +44 days 🔍
04/04/2013 +0 days 🔍
04/04/2013 +0 days 🔍
04/04/2013 +0 days 🔍
04/04/2013 +0 days 🔍
04/04/2013 +0 days 🔍
04/04/2013 +0 days 🔍
04/07/2013 +3 days 🔍
04/08/2013 +1 days 🔍
09/04/2013 +149 days 🔍
05/06/2021 +2801 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: 1028387
Researcher: Marko Kreen
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-1899 (🔍)
GCVE (CVE): GCVE-0-2013-1899
GCVE (VulDB): GCVE-100-8171

OVAL: 🔍
IAVM: 🔍

SecurityFocus: 58876 - PostgreSQL CVE-2013-1899 Denial of Service Vulnerability
Secunia: 52837 - PostgreSQL Multiple Vulnerabilities, Less Critical
OSVDB: 91962
SecurityTracker: 1028387 - PostgreSQL Bugs Let Remote Users Deny Service and Let Local Users Gain Elevated Privileges
Vulnerability Center: 39029 - PostgreSQL 9.x Remote Authenticated Code Execution via a Connection Request, High

See also: 🔍

Entryinfo

Created: 04/08/2013 13:01
Updated: 05/06/2021 19:30
Changes: 04/08/2013 13:01 (84), 04/26/2017 23:43 (12), 05/06/2021 19:30 (3)
Complete: 🔍
Committer:
Cache ID: 216:680:103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!