Ubuntu 4.10 : postgresql vulnerability (USN-71-1)

High Nessus Plugin ID 20692


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


John Heasman discovered a local privilege escalation in the PostgreSQL server. Any user could use the LOAD extension to load any shared library into the PostgreSQL server; the library's initialisation function was then executed with the permissions of the server.

Now the use of LOAD is restricted to the database superuser (usually 'postgres').

Note: Since there is no way for normal database users to create arbitrary files, this vulnerability is not exploitable remotely, e. g.
by uploading a shared library in the form of a Binary Large Object (BLOB) to a public web server.

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.


Update the affected packages.

Plugin Details

Severity: High

ID: 20692

File Name: ubuntu_USN-71-1.nasl

Version: $Revision: 1.12 $

Type: local

Agent: unix

Published: 2006/01/15

Modified: 2016/05/25

Dependencies: 12634

Risk Information

Risk Factor: High

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libecpg-dev, p-cpe:/a:canonical:ubuntu_linux:libecpg4, p-cpe:/a:canonical:ubuntu_linux:libpgtcl, p-cpe:/a:canonical:ubuntu_linux:libpgtcl-dev, p-cpe:/a:canonical:ubuntu_linux:libpq3, p-cpe:/a:canonical:ubuntu_linux:postgresql, p-cpe:/a:canonical:ubuntu_linux:postgresql-client, p-cpe:/a:canonical:ubuntu_linux:postgresql-contrib, p-cpe:/a:canonical:ubuntu_linux:postgresql-dev, p-cpe:/a:canonical:ubuntu_linux:postgresql-doc, cpe:/o:canonical:ubuntu_linux:4.10

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

Patch Publication Date: 2005/02/01

Reference Information

USN: 71-1