GLSA-200705-12 : PostgreSQL: Privilege escalation

Medium Nessus Plugin ID 25208


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


The remote host is affected by the vulnerability described in GLSA-200705-12 (PostgreSQL: Privilege escalation)

An error involving insecure search_path settings in the SECURITY DEFINER functions has been reported in PostgreSQL.
Impact :

If allowed to call a SECURITY DEFINER function, an attacker could gain the SQL privileges of the owner of the called function.
Workaround :

There is no known workaround at this time.


All PostgreSQL users should upgrade to the latest version and fix their SECURITY DEFINER functions:
# emerge --sync # emerge --ask --oneshot --verbose 'dev-db/postgresql' In order to fix the SECURITY DEFINER functions, PostgreSQL users are advised to refer to the PostgreSQL documentation: http://www.postgresql .org/docs/techdocs.77

See Also

Plugin Details

Severity: Medium

ID: 25208

File Name: gentoo_GLSA-200705-12.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2007/05/11

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6

Vector: CVSS2#AV:N/AC:M/Au:S/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: 2007/05/10

Vulnerability Publication Date: 2007/04/23

Reference Information

CVE: CVE-2007-2138

OSVDB: 34903

GLSA: 200705-12