Permissions, Privileges, and Access Controls in PostgreSQL - CVE-2012-0866

 

Permissions, Privileges, and Access Controls in PostgreSQL - CVE-2012-0866

Published: July 19, 2012 / Updated: August 11, 2020


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

Vulnerability details

The vulnerability allows a remote #AU# to read and manipulate data.

CREATE TRIGGER in PostgreSQL 8.3.x before 8.3.18, 8.4.x before 8.4.11, 9.0.x before 9.0.7, and 9.1.x before 9.1.3 does not properly check the execute permission for trigger functions marked SECURITY DEFINER, which allows remote authenticated users to execute otherwise restricted triggers on arbitrary data by installing the trigger on an attacker-owned table.


Affected software

PostgreSQL
Gentoo Linux
dev-db/postgresql-server

How to mitigate CVE-2012-0866

Install update from vendor's website.

dev-db/postgresql-server - update to 9.1.5

External References

Related Security Bulletins