Scientific Linux Security Update : postgresql on SL7.x x86_64 (20171219)

medium Nessus Plugin ID 105387

Synopsis

The remote Scientific Linux host is missing one or more security updates.

Description

Security Fix(es) :

- Privilege escalation flaws were found in the initialization scripts of PostgreSQL. An attacker with access to the postgres user account could use these flaws to obtain root access on the server machine.
(CVE-2017-12172, CVE-2017-15097)

Note: This patch drops the script privileges from root to the postgres user. Therefore, this update works properly only if the postgres user has write access to the postgres' home directory, such as the one in the default configuration (/var/lib/pgsql).

Solution

Update the affected packages.

See Also

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

Plugin Details

Severity: Medium

ID: 105387

File Name: sl_20171219_postgresql_on_SL7_x.nasl

Version: 3.8

Type: local

Agent: unix

Published: 12/20/2017

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

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

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:postgresql, p-cpe:/a:fermilab:scientific_linux:postgresql-contrib, p-cpe:/a:fermilab:scientific_linux:postgresql-debuginfo, p-cpe:/a:fermilab:scientific_linux:postgresql-devel, p-cpe:/a:fermilab:scientific_linux:postgresql-docs, p-cpe:/a:fermilab:scientific_linux:postgresql-libs, p-cpe:/a:fermilab:scientific_linux:postgresql-plperl, p-cpe:/a:fermilab:scientific_linux:postgresql-plpython, p-cpe:/a:fermilab:scientific_linux:postgresql-pltcl, p-cpe:/a:fermilab:scientific_linux:postgresql-server, p-cpe:/a:fermilab:scientific_linux:postgresql-static, p-cpe:/a:fermilab:scientific_linux:postgresql-test, p-cpe:/a:fermilab:scientific_linux:postgresql-upgrade, x-cpe:/o:fermilab:scientific_linux

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 12/19/2017

Vulnerability Publication Date: 11/22/2017

Reference Information

CVE: CVE-2017-12172, CVE-2017-15097