CVE-2010-3433: Medium severity PostgreSQL postgresql vulnerability
A flaw was found in the way PostgreSQL handled SQL functions, created with SECURITY DEFINER keyword and implemented in PL/Perl or PL/Tcl languages. Once the PL/Perl or PL/Tcl procedural language was registered on particular database, a remote, authenticated user, running a specially-crafted PL/Perl or PL/Tcl script could use this flaw to bypass intended PostgreSQL SECURITY DEFINER function definition refinement / protection mechanism, allowing them to run particular PostgreSQL function under their effective user ID, potentially leading to escalation of their privileges.
References: [1] http://www.postgresql.org/docs/8.1/interactive/plperl.html [2] http://www.postgresql.org/docs/8.1/static/pltcl.html [3] http://www.postgresql.org/docs/8.1/interactive/sql-createfunction.html
Other sources
The PL/perl and PL/Tcl implementations in PostgreSQL 7.4 before 7.4.30, 8.0 before 8.0.26, 8.1 before 8.1.22, 8.2 before 8.2.18, 8.3 before 8.3.12, 8.4 before 8.4.5, and 9.0 before 9.0.1 do not properly protect script execution by a different SQL user identity within the same session, which allows remote authenticated users to gain privileges via crafted script code in a SECURITY DEFINER function, as demonstrated by (1) redefining standard functions or (2) redefining operators, a different vulnerability than CVE-2010-1168, CVE-2010-1169, CVE-2010-1170, and CVE-2010-1447.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2010-3433?
CVE-2010-3433 is considered to have a medium severity level due to its potential impact on database security when exploiting SQL functions.
Who is affected by CVE-2010-3433?
CVE-2010-3433 affects PostgreSQL versions from 7.4 to 9.0 that have PL/Perl or PL/Tcl languages registered.
How can I fix CVE-2010-3433?
To fix CVE-2010-3433, upgrade to a patched version of PostgreSQL that mitigates this vulnerability.
What type of vulnerability is CVE-2010-3433?
CVE-2010-3433 is a vulnerability related to improper handling of SQL functions in PostgreSQL.
Can CVE-2010-3433 be exploited remotely?
Yes, CVE-2010-3433 can be exploited remotely by an authenticated user with specific SQL function privileges.