PostgreSQL Empty Password Handling Remote Authentication Bypass

High Nessus Plugin ID 104031

Synopsis

Postgresql has a flaw that allows the attacker to login with empty password.

Description

PostgreSQL contains a flaw that is triggered when attempting to authenticate to the database with an empty password using a modified or a non-libpq-based client. This allows a remote attacker to bypass authentication mechanisms.

Solution

Upgrade to PostgreSQL 9.6.4, 9.5.8, 9.4.13, 9.3.18, 9.2.22 or later.

See Also

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

Plugin Details

Severity: High

ID: 104031

File Name: postgres_auth_empty_password.nbin

Version: $Revision: 1.11 $

Type: remote

Family: Databases

Published: 2017/10/20

Modified: 2018/05/21

Dependencies: 26024

Risk Information

Risk Factor: High

CVSSv2

Base Score: 7.5

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

CVSSv3

Base Score: 9.8

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

Vulnerability Information

CPE: cpe:/a:postgresql:postgresql

Excluded KB Items: global_settings/supplied_logins_only

Patch Publication Date: 2017/08/10

Vulnerability Publication Date: 2017/08/10

Reference Information

CVE: CVE-2017-7546

BID: 100278