PostgreSQL Empty Password Handling Remote Authentication Bypass

critical 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/release-9-5-8.html

Plugin Details

Severity: Critical

ID: 104031

File Name: postgres_auth_empty_password.nbin

Version: 1.82

Type: remote

Family: Databases

Published: 10/20/2017

Updated: 7/17/2024

Configuration: Enable thorough checks

Supported Sensors: 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 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

Excluded KB Items: global_settings/supplied_logins_only

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

BID: 100278