CVE-2007-2138 Privilege escalation in n/a
Authenticated users can escalate privileges to the function owner by exploiting untrusted search paths in SECURITY DEFINER functions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2007-2138?
CVE-2007-2138 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 24 Apr 2007. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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."
Weakness: CWE-264
Which versions are affected by CVE-2007-2138?
It affects 3 products.
Linux distribution packages (40)
rh-postgresql Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-contrib Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-debuginfo Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-devel Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-docs Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-jdbc Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-libs Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-pl Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-python Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-server Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-tcl Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql-test Red Hat:enterprise_linux:3::as | All versions | 0:7.3.19-1 |
rh-postgresql Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-contrib Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-debuginfo Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-devel Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-docs Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-jdbc Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-libs Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-pl Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-python Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-server Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-tcl Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql-test Red Hat:enterprise_linux:3::desktop | All versions | 0:7.3.19-1 |
rh-postgresql Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-contrib Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-debuginfo Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-devel Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-docs Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-jdbc Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-libs Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-pl Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-python Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-server Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-tcl Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql-test Red Hat:enterprise_linux:3::es | All versions | 0:7.3.19-1 |
rh-postgresql Red Hat:enterprise_linux:3::ws | All versions | 0:7.3.19-1 |
rh-postgresql-contrib Red Hat:enterprise_linux:3::ws | All versions | 0:7.3.19-1 |
rh-postgresql-debuginfo Red Hat:enterprise_linux:3::ws | All versions | 0:7.3.19-1 |
rh-postgresql-devel Red Hat:enterprise_linux:3::ws | All versions | 0:7.3.19-1 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Postgresql Postgresql.
How do I fix CVE-2007-2138?
Upgrade to a fixed version.
Is CVE-2007-2138 being exploited?
There is no known exploitation of CVE-2007-2138 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DSA-1309-1, DSA-1311-1, GHSA-2hq5-m4w6-6x9c, RHSA-2007:0336, RHSA-2007:0337.