68436 : PostgreSQL PL perl / Tcl SECURITY DEFINER Function Crafted Script Code Execution Remote Privilege Escalation
Printer | http://osvdb.org/68436 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
9 852 over 2 years ago 3 months ago 14 times 100%

Timeline

Disclosure Date
2010-10-01

Description

PostgreSQL contains a flaw that may allow an attacker to gain access to unauthorized privileges. The issue is triggered when the PL/perl and PL/Tcl implementations fail to properly prevent different SQL users from executing scripts in the same session, allowing a remote authenticated attacker to use crafted script code in a SECURITY DEFINER function to gain elevated privileges, allowing the execution of SQL code with the privileges of the initial user.

Classification

Location: Remote / Network Access
Attack Type: Input Manipulation
Impact: Loss of Integrity
Solution: Upgrade
Exploit: Exploit Unknown
Disclosure: Vendor Verified
OSVDB: Authentication Required

Solution

Upgrade to version 9.0.1, 8.4.5, 8.3.12, 8.2.18, 8.1.22, 8.0.26, or 7.4.30 or higher, as they have been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Products

PostgreSQL, Inc.
PostgreSQL
8.4.4
8.3.11
9.0.0
8.2.17
8.1.21
8.0.25
7.4.29

References

Tools & Filters

49803

Credit

CVSSv2 Score

CVSSv2 Base Score = 6.0
Source: nvd.nist.gov | Generated: 2010-10-07 | Disagree?

Access_vector_2 Access_complexity_1 Authentication_1 Confidentiality_impact_1 Integrity_impact_1 Availability_impact_1

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2002 - 2013 Open Sourced Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use