RHEL 6 / 7 : rh-postgresql94-postgresql (RHSA-2017:2678)

critical Nessus Plugin ID 210315

Synopsis

The remote Red Hat host is missing one or more security updates for rh-postgresql94-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:2678 advisory.

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

The following packages have been upgraded to a later upstream version: rh-postgresql94-postgresql (9.4.14). (BZ#1484635, BZ#1484638, BZ#1484644)

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)

* An authorization flaw was found in the way PostgreSQL handled large objects. A remote, authenticated attacker with no privileges on a large object could potentially use this flaw to overwrite the entire content of the object, thus resulting in denial of service. (CVE-2017-7548)

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; Jeff Janes as the original reporter of CVE-2017-7547; and Chapman Flack as the original reporter of CVE-2017-7548.

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-postgresql94-postgresql package based on the guidance in RHSA-2017:2678.

See Also

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

https://www.postgresql.org/about/news/1772/

https://www.postgresql.org/docs/current/static/release-9-4-13.html

https://www.postgresql.org/docs/current/static/release-9-4-14.html

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

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

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

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

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

Plugin Details

Severity: Critical

ID: 210315

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

Version: 1.1

Type: local

Agent: unix

Published: 11/5/2024

Updated: 11/5/2024

Supported Sensors: Agentless Assessment, Continuous 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.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: p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-pltcl, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-server, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-contrib, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-upgrade, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-libs, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-docs, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-test, cpe:/o:redhat:enterprise_linux:6, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-static, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-plpython, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-plperl, p-cpe:/a:redhat:enterprise_linux:rh-postgresql94-postgresql-devel

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: 9/12/2017

Vulnerability Publication Date: 8/10/2017

Reference Information

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

CWE: 287, 522, 862

RHSA: 2017:2678