Improper access control in PostgreSQL - CVE-2017-12172

 

Improper access control in PostgreSQL - CVE-2017-12172

Published: November 10, 2017


Vulnerability identifier: #VU9169
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-12172
CWE-ID: CWE-264
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to cause DoS condition or obtain potentially sensitive information on a targeted system.

The weakness exists due to a flaw in certain non-default startup scripts. A local attacker with the privileges of the database server can create a symbolic link from the $PGLOG file to a critical file and modify the target file.

Affected software

PostgreSQL
Amazon Linux AMI
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux EUS Compute Node
Red Hat Enterprise Linux for Power
rh-postgresql94-postgresql (Red Hat package)
rh-postgresql95-postgresql (Red Hat package)
rh-postgresql96-postgresql (Red Hat package)

How to mitigate CVE-2017-12172

Update to version 9.6.6.

rh-postgresql94-postgresql (Red Hat package) - addressed in versions 9.4.14-2.el6, 9.4.14-2.el7
rh-postgresql95-postgresql (Red Hat package) - addressed in versions 9.5.9-4.el6, 9.5.9-4.el7
rh-postgresql96-postgresql (Red Hat package) - addressed in versions 9.6.5-2.el6, 9.6.5-2.el7

External References

Related Security Bulletins