Authentication bypass in PostgreSQL - CVE-2017-7546
Published: August 15, 2017
Vulnerability identifier: #VU7873
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-7546
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to bypass authentication on the target system.
The weakness exists in the systems using libpq or a libpq-based connection driver to perform password-based authentication methods due to insufficient security restrictions. A remote attacker can submit an empty password to disable password login and log in to the system.
Successful exploitation of the vulnerability may result in unauthorized access to the system and further attacks.
The weakness exists in the systems using libpq or a libpq-based connection driver to perform password-based authentication methods due to insufficient security restrictions. A remote attacker can submit an empty password to disable password login and log in to the system.
Successful exploitation of the vulnerability may result in unauthorized access to the system and further attacks.
Affected software
PostgreSQL
Arch Linux
Amazon Linux AMI
Debian Linux
Gentoo Linux
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux EUS Compute Node
SUSE Linux
Ubuntu
Fedora
Opensuse
postgresql (Alpine package)
postgresql
rh-postgresql95-postgresql (Red Hat package)
mingw-postgresql
Arch Linux
Amazon Linux AMI
Debian Linux
Gentoo Linux
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux EUS Compute Node
SUSE Linux
Ubuntu
Fedora
Opensuse
postgresql (Alpine package)
postgresql
rh-postgresql95-postgresql (Red Hat package)
mingw-postgresql
How to mitigate CVE-2017-7546
The vulnerability is addressed in the following versions: 9.2.22, 9.3.18, 9.4.13, 9.5.8, 9.6.4.
postgresql (Alpine package) - update to 9.4.13-r0
postgresql - addressed in versions 9.5.8-1.fc25, 9.6.4-1.fc26
rh-postgresql95-postgresql (Red Hat package) - addressed in versions 9.5.9-1.el6, 9.5.9-1.el7
mingw-postgresql - update to 9.6.4-1.fc26
postgresql - addressed in versions 9.5.8-1.fc25, 9.6.4-1.fc26
rh-postgresql95-postgresql (Red Hat package) - addressed in versions 9.5.9-1.el6, 9.5.9-1.el7
mingw-postgresql - update to 9.6.4-1.fc26
External References
Related Security Bulletins
- Multiple vulnerabilities in PostgreSQL
- SUSE Linux update for postgresql93
- Arch Linux update for postgresql
- Arch Linux update for postgresql
- Red Hat update for postgresql
- Gentoo update for PostgreSQL
- Ubuntu update for PostgreSQL
- Debian update for postgresql-9.6
- Debian update for postgresql-9.4
- Amazon Linux AMI update for postgresql93, postgresql92
- Amazon Linux AMI update for postgresql94, postgresql95
- openSUSE update for postgresql95
- OpenSUSE Linux update for postgresql93
- SUSE Linux update for postgresql94
- OpenSUSE Linux update for postgresql94
- OpenSUSE Linux update for postgresql96
- SUSE Linux update for postgresql96
- SUSE Linux update for postgresql94
- Red Hat update for postgresql
- Red Hat update for postgresql
- Authentication bypass in postgresql (Alpine package)
- Fedora 26 update for mingw-postgresql
- Fedora 26 update for postgresql
- Fedora 25 update for postgresql
- Red Hat Software Collections update for rh-postgresql95-postgresql