Public Date:
797222: CVE-2012-0866 postgresql: Absent permission checks on trigger function to be called when creating a trigger

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2012-0866 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

Base Score 5.2
Base Metrics AV:A/AC:L/Au:S/C:P/I:P/A:P
Access Vector Adjacent Network
Access Complexity Low
Authentication Single
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat Enterprise Linux 5 (postgresql84) RHSA-2012:0678 2012-05-21
Red Hat Enterprise Linux 6 (postgresql) RHSA-2012:0678 2012-05-21
Red Hat Enterprise Linux 5 (postgresql) RHSA-2012:0677 2012-05-21

Affected Packages State

Platform Package State
Red Hat Enterprise Linux 4 postgresql Will not fix
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.
Last Modified

CVE description copyright © 2017, The MITRE Corporation