GLSA-200607-04 : PostgreSQL: SQL injection

high Nessus Plugin ID 22011

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200607-04 (PostgreSQL: SQL injection)

PostgreSQL contains a flaw in the string parsing routines that allows certain backslash-escaped characters to be bypassed with some multibyte character encodings. This vulnerability was discovered by Akio Ishida and Yasuo Ohgaki.
Impact :

An attacker could execute arbitrary SQL statements on the PostgreSQL server. Be aware that web applications using PostgreSQL as a database back-end might be used to exploit this vulnerability.
Workaround :

There is no known workaround at this time.

Solution

All PostgreSQL users should upgrade to the latest version in the respective branch they are using:
# emerge --sync # emerge --ask --oneshot --verbose dev-db/postgresql Note: While a fix exists for the 7.3 branch it doesn't currently work on Gentoo. All 7.3.x users of PostgreSQL should consider updating their installations to the 7.4 (or higher) branch as soon as possible!

See Also

https://www.postgresql.org/docs/techdocs.50/

https://security.gentoo.org/glsa/200607-04

Plugin Details

Severity: High

ID: 22011

File Name: gentoo_GLSA-200607-04.nasl

Version: 1.16

Type: local

Published: 7/10/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:postgresql, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 7/9/2006

Reference Information

CVE: CVE-2006-2313, CVE-2006-2314

GLSA: 200607-04