PostgreSQL Empty Password Handling Remote Authentication Bypass

High Nessus Plugin ID 104031


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


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.


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

See Also

Plugin Details

Severity: High

ID: 104031

File Name: postgres_auth_empty_password.nbin

Version: 1.17

Type: remote

Family: Databases

Published: 2017/10/20

Modified: 2018/12/14

Dependencies: 26024

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

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

CVSS v3.0

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