National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2012-0866 Detail

Current 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.

Source:  MITRE
View Analysis Description

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 6.5 MEDIUM
Vector: (AV:N/AC:L/Au:S/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 8.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): Single
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
http://lists.opensuse.org/opensuse-updates/2012-09/msg00060.html
http://rhn.redhat.com/errata/RHSA-2012-0677.html
http://rhn.redhat.com/errata/RHSA-2012-0678.html
http://www.debian.org/security/2012/dsa-2418
http://www.mandriva.com/security/advisories?name=MDVSA-2012:026
http://www.mandriva.com/security/advisories?name=MDVSA-2012:027
http://www.mandriva.com/security/advisories?name=MDVSA-2012:092
http://www.postgresql.org/about/news/1377/ Vendor Advisory
http://www.postgresql.org/docs/8.3/static/release-8-3-18.html
http://www.postgresql.org/docs/8.4/static/release-8-4-11.html
http://www.postgresql.org/docs/9.0/static/release-9-0-7.html
http://www.postgresql.org/docs/9.1/static/release-9-1-3.html

Technical Details

Vulnerability Type (View All)

  • Permissions, Privileges, and Access Controls (CWE-264)

Known Affected Software Configurations Switch to CPE 2.3

Configuration 1 ( hide )
 cpe:/a:postgresql:postgresql:8.3
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.1
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.2
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.3
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.4
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.5
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.6
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.7
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.8
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.9
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.10
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.11
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.12
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.13
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.14
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.15
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.16
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.3.17
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:/a:postgresql:postgresql:8.4
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.4.1
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.4.2
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.4.3
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.4.4
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.4.5
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.4.6
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.4.7
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.4.8
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.4.9
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:8.4.10
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:/a:postgresql:postgresql:9.0
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.0.1
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.0.2
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.0.3
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.0.4
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.0.5
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.0.6
     Show Matching CPE(s)

Configuration 4 ( hide )
 cpe:/a:postgresql:postgresql:9.1
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.1.1
     Show Matching CPE(s)
 cpe:/a:postgresql:postgresql:9.1.2
     Show Matching CPE(s)


Change History

2 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2012-0866
NVD Published Date:
07/18/2012
NVD Last Modified:
12/07/2016