GLSA-200705-12 : PostgreSQL: Privilege escalation

medium Nessus Plugin ID 25208

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-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.

Solution

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

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

https://security.gentoo.org/glsa/200705-12

Plugin Details

Severity: Medium

ID: 25208

File Name: gentoo_GLSA-200705-12.nasl

Version: 1.16

Type: local

Published: 5/11/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

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: 5/10/2007

Reference Information

CVE: CVE-2007-2138

GLSA: 200705-12