Orange Business Services
Vigil@nce Vigil@nce Vigil@nce
we track for your security since 1999
 home presentation resources documentation contact  
subscriber area subscriber area
free access free access
Vigil@nce describes vulnerabilities impacting your systems, and offers solutions to correct them.
recent vulnerabilities recent vulnerabilities
tracked products tracked products
RSS feed RSS feed
vulnerability
vulnerability bulletin CVE-2010-0442
PostgreSQL: memory corruption via substring

Synthesis of the vulnerability
An authenticated attacker can use the substring() function, in order to generate a corruption, leading to a denial of service or to code execution with database privileges.
Severity: 2/4.
Consequences: privileged access/rights, denial of service of service.
Provenance: user account.
Means of attack: 1 attack.
Ability of attacker: technician (2/4).
Confidence: unique source (2/5).
Diffusion of the vulnerable configuration: high (3/3).
Creation date: 28/01/2010.

Impacted products

Description of the vulnerability
The SQL substring() function extracts a character string. For example, to extract "ell" (from offset 2, with size 3) :
  SELECT substring('Hello', 2, 3);

A "Bit String" is a string containing 0 and 1 values. For example: B'101'

When the substring() function is called on a Bit String, a memory corruption occurs.

An authenticated attacker can therefore use the substring() function, in order to generate a corruption, leading to a denial of service or to code execution with database privileges.

Characteristics
Title: PostgreSQL: memory corruption via substring
Identifiers: BID-37973, CVE-2010-0442, VIGILANCE-VUL-9388.
Url: https://vigilance.fr/tree/1/9388

Information sources
Publications and announces
Source example: PostgreSQL 8.0.23 bitsubstr overflow

Supplements

Attack
Exploit 0day or proof of concept



















France Télécom Copyright 1999-2010 Vigil@nce. Vigil@nce is a service from Orange Business Services. Site map. Legal notice. Version française