Vulnerability in Postgresql

CVE-2012-0866

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.

EPSS: 0.036 (88.3th percentile) — read the EPSS interpretation.

Affected products

  • Postgresql — versions 8.3, 8.3.1, 8.3.2
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2012-0866?
CVE-2012-0866 is a vulnerability in Postgresql, classified under CWE-264. Published 2012-07-18.
Is CVE-2012-0866 known to be exploited?
12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.