RHEL 6 / 7 : rh-postgresql95-postgresql (RHSA-2017:3404)

medium Nessus Plugin ID 210294

Synopsis

The remote Red Hat host is missing one or more security updates for rh-postgresql95-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:3404 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-postgresql95-postgresql package based on the guidance in RHSA-2017:3404.

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?25ec7611

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

Plugin Details

Severity: Medium

ID: 210294

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

Version: 1.1

Type: local

Agent: unix

Published: 11/5/2024

Updated: 11/5/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, 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-postgresql95-postgresql-devel, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-libs, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-pltcl, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-server, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-static, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-test, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-docs, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-plperl, p-cpe:/a:redhat:enterprise_linux:rh-postgresql95-postgresql-plpython

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:3404