Ubuntu 6.06 LTS / 6.10 / 7.04 / 7.10 : postgresql vulnerabilities (USN-568-1)

high Nessus Plugin ID 29978

Synopsis

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

Description

Nico Leidecker discovered that PostgreSQL did not properly restrict dblink functions. An authenticated user could exploit this flaw to access arbitrary accounts and execute arbitrary SQL queries.
(CVE-2007-3278, CVE-2007-6601)

It was discovered that the TCL regular expression parser used by PostgreSQL did not properly check its input. An attacker could send crafted regular expressions to PostgreSQL and cause a denial of service via resource exhaustion or database crash. (CVE-2007-4769, CVE-2007-4772, CVE-2007-6067)

It was discovered that PostgreSQL executed VACUUM and ANALYZE operations within index functions with superuser privileges and also allowed SET ROLE and SET SESSION AUTHORIZATION within index functions.
A remote authenticated user could exploit these flaws to gain privileges. (CVE-2007-6600).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected packages.

See Also

https://usn.ubuntu.com/568-1/

Plugin Details

Severity: High

ID: 29978

File Name: ubuntu_USN-568-1.nasl

Version: 1.17

Type: local

Agent: unix

Published: 1/15/2008

Updated: 1/19/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libecpg-compat2, p-cpe:/a:canonical:ubuntu_linux:libecpg-dev, p-cpe:/a:canonical:ubuntu_linux:libecpg5, p-cpe:/a:canonical:ubuntu_linux:libpgtypes2, p-cpe:/a:canonical:ubuntu_linux:libpq-dev, p-cpe:/a:canonical:ubuntu_linux:libpq4, p-cpe:/a:canonical:ubuntu_linux:libpq5, p-cpe:/a:canonical:ubuntu_linux:postgresql, p-cpe:/a:canonical:ubuntu_linux:postgresql-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-8.2, p-cpe:/a:canonical:ubuntu_linux:postgresql-client, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-client-8.2, p-cpe:/a:canonical:ubuntu_linux:postgresql-contrib, p-cpe:/a:canonical:ubuntu_linux:postgresql-contrib-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-contrib-8.2, p-cpe:/a:canonical:ubuntu_linux:postgresql-doc, p-cpe:/a:canonical:ubuntu_linux:postgresql-doc-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-doc-8.2, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-plperl-8.2, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-plpython-8.2, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-pltcl-8.2, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-8.1, p-cpe:/a:canonical:ubuntu_linux:postgresql-server-dev-8.2, cpe:/o:canonical:ubuntu_linux:6.06:-:lts, cpe:/o:canonical:ubuntu_linux:6.10, cpe:/o:canonical:ubuntu_linux:7.04, cpe:/o:canonical:ubuntu_linux:7.10

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 1/14/2008

Reference Information

CVE: CVE-2007-3278, CVE-2007-4769, CVE-2007-4772, CVE-2007-6067, CVE-2007-6600, CVE-2007-6601

CWE: 189, 264, 287, 399

USN: 568-1