Ubuntu 8.04 LTS / 10.04 LTS / 10.10 / 11.04 / 11.10 : postgresql-8.3, postgresql-8.4, postgresql-9.1 vulnerabilities (USN-1378-1)

Ubuntu Security Notice (C) 2012-2013 Canonical, Inc. / NASL script (C) 2012-2013 Tenable Network Security, Inc.


Synopsis :

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

Description :

It was discovered that PostgreSQL incorrectly checked permissions on
functions called by a trigger. An attacker could attach a trigger to a
table they owned and possibly escalate privileges. (CVE-2012-0866)

It was discovered that PostgreSQL incorrectly truncated SSL
certificate name checks to 32 characters. If a host name was exactly
32 characters, this issue could be exploited by an attacker to spoof
the SSL certificate. This issue affected Ubuntu 10.04 LTS, Ubuntu
10.10, Ubuntu 11.04 and Ubuntu 11.10. (CVE-2012-0867)

It was discovered that the PostgreSQL pg_dump utility incorrectly
filtered line breaks in object names. An attacker could create object
names that execute arbitrary SQL commands when a dump script is
reloaded. (CVE-2012-0868).

Solution :

Update the affected postgresql-8.3, postgresql-8.4 and / or
postgresql-9.1 packages.

Risk factor :

Medium / CVSS Base Score : 6.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.0
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Ubuntu Local Security Checks

Nessus Plugin ID: 58168 ()

Bugtraq ID: 52188

CVE ID: CVE-2012-0866
CVE-2012-0867
CVE-2012-0868