FreeBSD : postgresql -- privilege escalation vulnerability (5d425189-7a03-11d9-a9e7-0001020eed82)

medium Nessus Plugin ID 18949

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

John Heasman and others disovered that non-privileged users could use the LOAD extension to load arbitrary libraries into the postgres server process space. This could be used by non-privileged local users to execute arbitrary code with the privileges of the postgresql server.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?416d0c25

http://www.nessus.org/u?b4709320

http://www.nessus.org/u?59a12f54

Plugin Details

Severity: Medium

ID: 18949

File Name: freebsd_pkg_5d4251897a0311d9a9e70001020eed82.nasl

Version: 1.21

Type: local

Published: 7/13/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.8

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:ja-postgresql, p-cpe:/a:freebsd:freebsd:postgresql, p-cpe:/a:freebsd:freebsd:postgresql-devel, p-cpe:/a:freebsd:freebsd:postgresql-server, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: No exploit is required

Patch Publication Date: 2/8/2005

Vulnerability Publication Date: 1/21/2005

Reference Information

CVE: CVE-2005-0227

BID: 12411

CWE: 94