VDB-50530 · CVE-2009-2940 · SA37046

pygresql 3.8.1/4.0 Python PQescapeStringConn Remote Code Execution

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

A vulnerability has been found in pygresql 3.8.1/4.0 and classified as critical. This vulnerability affects the function PQescapeStringConn of the component Python. The manipulation with an unknown input leads to a remote code execution vulnerability. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The pygresql module 3.8.1 and 4.0 for Python does not properly support the PQescapeStringConn function, which might allow remote attackers to leverage escaping issues involving multibyte character encodings.

The weakness was published 10/14/2009 (Website). The advisory is available at debian.org. This vulnerability was named CVE-2009-2940 since 08/23/2009. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 44776 (Debian DSA-1911-1 : pygresql - missing escape function), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the vulnerability database at Tenable (44776).

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

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

CVSSv3info

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

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

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Remote Code Execution
CWE: Unknown
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 44776
Nessus Name: Debian DSA-1911-1 : pygresql - missing escape function
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 66055
OpenVAS Name: Debian Security Advisory DSA 1911-1 (pygresql)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

08/23/2009 🔍
10/14/2009 +52 days 🔍
10/15/2009 +0 days 🔍
10/15/2009 +0 days 🔍
10/20/2009 +4 days 🔍
10/22/2009 +2 days 🔍
12/15/2009 +54 days 🔍
02/24/2010 +71 days 🔍
03/18/2015 +1848 days 🔍
08/24/2021 +2351 days 🔍

Sourcesinfo

Advisory: debian.org
Status: Not defined

CVE: CVE-2009-2940 (🔍)
OVAL: 🔍

Vulnerability Center: 24373 - Python pygresql Module 3.8.1 and 4.0 Remote SQL Injection Vulnerability via Character Encodings, High
Secunia: 37046 - Debian update for pygresql, Not Critical
OSVDB: 59028 - pygresql for Python PQescapeStringConn() Function Character Escaping Weakness

Entryinfo

Created: 03/18/2015 15:15
Updated: 08/24/2021 09:51
Changes: 03/18/2015 15:15 (57), 02/18/2017 09:32 (11), 08/24/2021 09:51 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!