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.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.5 (Medium). Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.036 (89.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 89.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.036 · newest: 0.036 · change: 0.000
Affected products
- PostgreSQL — versions 8.3, 8.3.1, 8.3.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.postgresql.org/about/news/1377/ (Vendor Advisory)
- www.mandriva.com/security/advisories (vendor-advisory)
- secunia.com/advisories/49273 (third-party-advisory)
- rhn.redhat.com/errata/RHSA-2012-0678.html (vendor-advisory)
- www.mandriva.com/security/advisories (vendor-advisory)
- www.postgresql.org/docs/9.0/static/release-9-0-7.html
- www.mandriva.com/security/advisories (vendor-advisory)
- kb.juniper.net/InfoCenter/index
- www.postgresql.org/docs/8.4/static/release-8-4-11.html
- www.debian.org/security/2012/dsa-2418 (vendor-advisory)
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.