Permissions, Privileges, and Access Controls in PostgreSQL - CVE-2019-3466

 

Permissions, Privileges, and Access Controls in PostgreSQL - CVE-2019-3466

Published: November 15, 2019


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

Vulnerability details

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to pg_ctlcluster does not drop privileges before creating sockets and temporary directories outside "/var/run/postgresql". A local user can create arbitrary directories on the system during application startup or reload and elevate privileges on the system.


Affected software

PostgreSQL
Zoho ManageEngine OpManager
postgresql-common (Ubuntu package)
postgresql-common (Debian package)

How to mitigate CVE-2019-3466

Install updates from vendor's website.

PostgreSQL - addressed in versions 9.4.25, 9.5.20, 9.6.16, 10.11, 11.6, 12.1
Zoho ManageEngine OpManager - update to 12.5 125127
postgresql-common (Ubuntu package) - addressed in versions 154ubuntu1.1+esm1, 173ubuntu0.3, 190ubuntu0.1, 199ubuntu0.1, 204ubuntu0.1
postgresql-common (Debian package) - addressed in versions 165+deb8u4, 181+deb9u3, 200+deb10u3

External References

Related Security Bulletins