1. CVE archive
  2. 2007
  3. CVE-2007-4639

CVE-2007-4639

6.5 Medium severity CVSS v2.0 · source NVD AV:N/AC:L/Au:S/C:P/I:P/A:P 6.5 – Medium

Description

EnterpriseDB Advanced Server 8.2 does not properly handle certain debugging function calls that occur before a call to pldbg_create_listener, which allows remote authenticated users to cause a denial of service (daemon crash) and possibly execute arbitrary code via a SELECT statement that invokes a pldbg_ function, as demonstrated by (1) pldbg_get_stack and (2) pldbg_abort_target, which triggers use of an uninitialized pointer.

Affected products

VendorProductVersionPlatform
enterprisedb postgres advanced server 8.2 –
All 10 Enterprisedb Postgres Advanced Server vulnerabilities

Vulnerability type

CWE-824 Access of Uninitialized Pointer

The product accesses or uses a pointer that has not been initialized.

If an attacker can influence the portion of uninitialized memory that is contained in the pointer, this weakness could be leveraged to execute code or perform other attacks. Depending on memory layout, associated memory management behaviors, and product operation, the attacker might be able to influence the contents of the uninitialized pointer, thus gaining more fine-grained control of the memory location to be accessed.

Impact on systems

ScopeImpact
Confidentiality Read Memory
If the uninitialized pointer is used in a read operation, it might not point to a valid memory location. An attacker might be able to read sensitive portions of memory.
Availability DoS: Crash, Exit, or Restart
If the uninitialized pointer references a memory location that is not accessible to the product, or points to a location that is malformed (such as NULL) or larger than expected by a read or write operation, then a crash may occur.
Integrity, Confidentiality, Availability Execute Unauthorized Code or Commands
If the uninitialized pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible. If the uninitialized pointer is used as a function call, then arbitrary functions could be invoked.

All 300 CWE-824 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org