RHEL 6 / 7 : rh-postgresql96-postgresql (RHSA-2017:3405)

medium Nessus Plugin ID 194128

Synopsis

The remote Red Hat host is missing one or more security updates for rh-postgresql96-postgresql.

Description

The remote Redhat Enterprise Linux 6 / 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2017:3405 advisory.

PostgreSQL is an advanced object-relational database management system (DBMS).

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, we dropped the
--new-systemd-unit option for security reasons. Please use the root-only script postgresql-new-systemd- unit.

Red Hat would like to thank the PostgreSQL project for reporting CVE-2017-12172. The CVE-2017-15097 issue was discovered by Pedro Barbosa (Red Hat) and the PostgreSQL project. Upstream acknowledges Antoine Scemama (Brainloop) as the original reporter of these issues.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL rh-postgresql96-postgresql package based on the guidance in RHSA-2017:3405.

See Also

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=1498394

https://bugzilla.redhat.com/show_bug.cgi?id=1508985

http://www.nessus.org/u?9c244fbe

https://access.redhat.com/errata/RHSA-2017:3405

Plugin Details

Severity: Medium

ID: 194128

File Name: redhat-RHSA-2017-3405.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/27/2024

Updated: 11/5/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

Vendor

Vendor Severity: Moderate

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

CVSS Score Source: CVE-2017-15097

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 5.8

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-server, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-plperl, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-libs, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-plpython, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-docs, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-static, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-syspaths, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-pltcl, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-test, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-contrib-syspaths, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-devel, p-cpe:/a:redhat:enterprise_linux:rh-postgresql96-postgresql-server-syspaths

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/8/2017

Vulnerability Publication Date: 11/9/2017

Reference Information

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

CWE: 59

RHSA: 2017:3405