PostgreSQL 9.2.x < 9.2.22 / 9.3.x < 9.3.18 / 9.4.x < 9.4.13 / 9.5.x < 9.5.8 / 9.6.x < 9.6.4 Multiple Vulnerabilities

critical Nessus Plugin ID 102527

Synopsis

The remote database server is affected by multiple vulnerabilities.

Description

The version of PostgreSQL installed on the remote host is 9.2.x prior to 9.2.22, 9.3.x prior to 9.3.18, 9.4.x prior to 9.4.13, 9.5.x prior to 9.5.8, or 9.6.x prior to 9.6.4. It is, therefore, affected by multiple vulnerabilities :

- An authentication bypass flaw exists in that an empty password is accepted in some authentication methods. (CVE-2017-7546)

- An information disclosure vulnerability exists in the 'pg_user_mappings' catalog view that can disclose passwords to users lacking server privileges. (CVE-2017-7547)

Note: The 'pg_user_mappings' update will only fix the behavior in newly created clusters utilizing initdb. To fix this issue on existing systems you will need to follow the steps in the release notes.

- A flaw exists in the lo_put() function due to improper checking of permissions that leads to ignoring of ACLs. (CVE-2017-7548)

Solution

Upgrade to PostgreSQL version 9.2.22 / 9.3.18 / 9.4.13 / 9.5.8 / 9.6.4 or later.

See Also

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

https://www.postgresql.org/docs/current/static/release-9-2-22.html

https://www.postgresql.org/docs/current/release-9-3-18.html

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

https://www.postgresql.org/docs/current/release-9-5-8.html

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

Plugin Details

Severity: Critical

ID: 102527

File Name: postgresql_20170810.nasl

Version: 1.18

Type: local

Agent: windows, macosx, unix

Family: Databases

Published: 8/16/2017

Updated: 4/4/2023

Supported Sensors: Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, 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:/a:postgresql:postgresql

Exploit Ease: No known exploits are available

Patch Publication Date: 8/10/2017

Vulnerability Publication Date: 8/10/2017

Reference Information

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