PostgreSQL up to 9.1.2 Permission Check CREATE TRIGGER access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.4$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as problematic, was found in PostgreSQL. Affected by this vulnerability is the function CREATE TRIGGER of the component Permission Check. Such manipulation leads to access control. This vulnerability is traded as CVE-2012-0866. There is no exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as problematic, has been found in PostgreSQL (Database Software). Affected by this issue is the function CREATE TRIGGER of the component Permission Check. The manipulation with an unknown input leads to a access control vulnerability. Using CWE to declare the problem leads to CWE-264. Impacted is confidentiality, and integrity. CVE summarizes:

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.

The weakness was shared 02/27/2012 (Website). The advisory is shared for download at postgresql.org. This vulnerability is handled as CVE-2012-0866 since 01/19/2012. The attack can only be initiated within the local network. A simple authentication is required for exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1068.

The vulnerability scanner Nessus provides a plugin with the ID 68528 (Oracle Linux 5 : postgresql (ELSA-2012-0677)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 350665 (Amazon Linux Security Advisory for postgresql8: ALAS-2012-082).

Upgrading to version 9.1.3, 9.0.7, 8.4.11, 8.3.18 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (68528), SecurityFocus (BID 52188†), OSVDB (79644†), Secunia (SA48107†) and SecurityTracker (ID 1026744†). The entries VDB-4666 and VDB-4665 are related to this item. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.6
VulDB Meta Temp Score: 4.4

VulDB Base Score: 4.6
VulDB Temp Score: 4.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 68528
Nessus Name: Oracle Linux 5 : postgresql (ELSA-2012-0677)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 71146
OpenVAS Name: Debian Security Advisory DSA 2418-1 (postgresql-8.4)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: PostgreSQL 9.1.3, 9.0.7, 8.4.11, 8.3.18

Timelineinfo

01/19/2012 🔍
02/27/2012 +39 days 🔍
02/27/2012 +0 days 🔍
02/27/2012 +0 days 🔍
02/27/2012 +0 days 🔍
02/27/2012 +0 days 🔍
02/29/2012 +2 days 🔍
03/07/2012 +7 days 🔍
07/18/2012 +133 days 🔍
07/12/2013 +359 days 🔍
03/21/2021 +2809 days 🔍

Sourcesinfo

Product: postgresql.org

Advisory: postgresql.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2012-0866 (🔍)
GCVE (CVE): GCVE-0-2012-0866
GCVE (VulDB): GCVE-100-4664

OVAL: 🔍

SecurityFocus: 52188 - PostgreSQL Multiple Security Vulnerabilities
Secunia: 48107 - PostgreSQL Multiple Vulnerabilities, Less Critical
OSVDB: 79644
SecurityTracker: 1026744 - PostgreSQL Bugs Let Remote Authenticated Users Gain Elevated Privileges, Inject SQL Commands, and Spoof Certificates
Vulnerability Center: 34576 - PostgreSQL Core Server Improper Permissions Check Allows Privilege Escalation, High

See also: 🔍

Entryinfo

Created: 02/29/2012 01:00
Updated: 03/21/2021 07:27
Changes: 02/29/2012 01:00 (73), 04/10/2017 10:39 (11), 03/21/2021 07:27 (3)
Complete: 🔍
Cache ID: 216:2EA:103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!