CentOS 7 : postgresql (CESA-2017:2728)

critical Nessus Plugin ID 103230

Synopsis

The remote CentOS host is missing one or more security updates.

Description

An update for postgresql is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

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

The following packages have been upgraded to a later upstream version:
postgresql (9.2.23). (BZ#1484639, BZ#1484647)

Security Fix(es) :

* It was found that authenticating to a PostgreSQL database account with an empty password was possible despite libpq's refusal to send an empty password. A remote attacker could potentially use this flaw to gain access to database accounts with empty passwords. (CVE-2017-7546)

* An authorization flaw was found in the way PostgreSQL handled access to the pg_user_mappings view on foreign servers. A remote, authenticated attacker could potentially use this flaw to retrieve passwords from the user mappings defined by the foreign server owners without actually having the privileges to do so. (CVE-2017-7547)

Red Hat would like to thank the PostgreSQL project for reporting these issues. Upstream acknowledges Ben de Graaff, Jelte Fennema, and Jeroen van der Ham as the original reporters of CVE-2017-7546; and Jeff Janes as the original reporter of CVE-2017-7547.

Solution

Update the affected postgresql packages.

See Also

http://www.nessus.org/u?6a2be6af

Plugin Details

Severity: Critical

ID: 103230

File Name: centos_RHSA-2017-2728.nasl

Version: 3.11

Type: local

Agent: unix

Published: 9/15/2017

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2017-7546

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: cpe:/o:centos:centos:7, p-cpe:/a:centos:centos:postgresql-contrib, p-cpe:/a:centos:centos:postgresql, p-cpe:/a:centos:centos:postgresql-static, p-cpe:/a:centos:centos:postgresql-libs, p-cpe:/a:centos:centos:postgresql-plpython, p-cpe:/a:centos:centos:postgresql-pltcl, p-cpe:/a:centos:centos:postgresql-server, p-cpe:/a:centos:centos:postgresql-test, p-cpe:/a:centos:centos:postgresql-docs, p-cpe:/a:centos:centos:postgresql-plperl, p-cpe:/a:centos:centos:postgresql-upgrade, p-cpe:/a:centos:centos:postgresql-devel

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/14/2017

Vulnerability Publication Date: 8/16/2017

Reference Information

CVE: CVE-2017-7546, CVE-2017-7547

RHSA: 2017:2728