Original description
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 = 9.0.3= 9.0= 8.3.8= 8.4.8= 8.4.6= 8.3.16 exact match
Details
- Published
- 2012-07-19
- Last modified
- 2024-08-07
- CVSS vector
AV:N/AC:L/Au:S/C:P/I:P/A:P
References
- cve.org/CVE-2012-0866
- nvd.nist.gov/vuln/detail/CVE-2012-0866
- www.postgresql.org/about/news/1377/
- www.mandriva.com/security/advisories?name=MDVSA-2012:027
- secunia.com/advisories/49273
- rhn.redhat.com/errata/RHSA-2012-0678.html
- www.mandriva.com/security/advisories?name=MDVSA-2012:026
- www.postgresql.org/docs/9.0/static/release-9-0-7.html
- www.mandriva.com/security/advisories?name=MDVSA-2012:092
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- www.postgresql.org/docs/8.4/static/release-8-4-11.html
- www.debian.org/security/2012/dsa-2418
- www.postgresql.org/docs/8.3/static/release-8-3-18.html
- secunia.com/advisories/49272
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.