the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2007-2138

Untrusted search path vulnerability in PostgreSQL before 7.3.19, 7.4.x before 7.4.17, 8.0.x before 8.0.13, 8.1.x before 8.1.9, and 8.2.x before 8.2.4 allows remote authenticated users, when permitted to call a SECURITY DEFINER function, to gain the privileges of the function owner, related to "search_path settings."
Publish Date : 2007-04-24 Last Update Date : 2018-10-19
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Single system (The vulnerability requires an attacker to be logged into the system (such as at a command line or via a desktop session or web interface).)
Gained Access User
Vulnerability Type(s) Gain privileges
CWE ID 264

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat moderate 2007-04-19 2007-04-23
If you are a vendor and you have additional data which can be automatically imported into our database, please contact admin @

- Related OVAL Definitions

Title Definition Id Class Family
DSA-1309-1 postgresql-8.1 oval:org.mitre.oval:def:20469 unix
DSA-1311-1 postgresql-7.4 oval:org.mitre.oval:def:20481 unix
ELSA-2007:0336: postgresql security update (Moderate) oval:org.mitre.oval:def:21808 unix
RHSA-2007:0336: postgresql security update (Moderate) oval:com.redhat.rhsa:def:20070336 unix
Untrusted search path vulnerability in PostgreSQL before 7.3.19, 7.4.x before 7.4.17, 8.0.x before 8.0.13, 8.1.x before ... oval:org.mitre.oval:def:10090 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2007-2138

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 6.06 ~~lts~~~ Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 6.10 Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 7.04 Version Details Vulnerabilities
4 OS Debian Debian Linux 3.1 Version Details Vulnerabilities
5 OS Debian Debian Linux 4.0 Version Details Vulnerabilities
6 Application Postgresql Postgresql - ~~~debian~~ Version Details Vulnerabilities
7 Application Postgresql Postgresql - ~~~ubuntu~~ Version Details Vulnerabilities
8 Application Postgresql Postgresql - Version Details Vulnerabilities
9 Application Postgresql Postgresql 6.3 Version Details Vulnerabilities
10 Application Postgresql Postgresql 6.4 Version Details Vulnerabilities
11 Application Postgresql Postgresql 6.5 Version Details Vulnerabilities
12 Application Postgresql Postgresql 7.0 Version Details Vulnerabilities
13 Application Postgresql Postgresql 7.1 Version Details Vulnerabilities
14 Application Postgresql Postgresql 7.2 Version Details Vulnerabilities
15 Application Postgresql Postgresql 7.3 Version Details Vulnerabilities
16 Application Postgresql Postgresql 7.3.0 Version Details Vulnerabilities
17 Application Postgresql Postgresql 7.3.1 Version Details Vulnerabilities
18 Application Postgresql Postgresql 7.3.2 Version Details Vulnerabilities
19 Application Postgresql Postgresql 7.3.3 Version Details Vulnerabilities
20 Application Postgresql Postgresql 7.3.4 Version Details Vulnerabilities
21 Application Postgresql Postgresql 7.3.5 Version Details Vulnerabilities
22 Application Postgresql Postgresql 7.3.6 Version Details Vulnerabilities
23 Application Postgresql Postgresql 7.3.7 Version Details Vulnerabilities
24 Application Postgresql Postgresql 7.3.8 Version Details Vulnerabilities
25 Application Postgresql Postgresql 7.3.9 Version Details Vulnerabilities
26 Application Postgresql Postgresql 7.3.10 Version Details Vulnerabilities
27 Application Postgresql Postgresql 7.3.11 Version Details Vulnerabilities
28 Application Postgresql Postgresql 7.3.12 Version Details Vulnerabilities
29 Application Postgresql Postgresql 7.3.13 Version Details Vulnerabilities
30 Application Postgresql Postgresql 7.3.14 Version Details Vulnerabilities
31 Application Postgresql Postgresql 7.3.15 Version Details Vulnerabilities
32 Application Postgresql Postgresql 7.3.16 Version Details Vulnerabilities
33 Application Postgresql Postgresql 7.3.17 Version Details Vulnerabilities
34 Application Postgresql Postgresql 7.3.18 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 3
Debian Debian Linux 2
Postgresql Postgresql 29

- References For CVE-2007-2138
XF postgresql-searchpath-privilege-escalation(33842) CONFIRM
VUPEN ADV-2007-1549
VUPEN ADV-2007-1497
TRUSTIX 2007-0015
SECTRACK 1017974
BID 23618 PostgreSQL SECURITY DEFINER Function Local Privilege Escalation Vulnerability Release Date:2007-06-18
REDHAT RHSA-2007:0336
GENTOO GLSA-200705-12

- Metasploit Modules Related To CVE-2007-2138

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. 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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.