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.0: 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/E:U/U:Clear
CVE-ID: CVE-2012-0866
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: PostgreSQL Global Development Group
Affected software:
PostgreSQL

Detailed vulnerability description

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.


How to mitigate CVE-2012-0866

Install update from vendor's website.

Sources