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-2692

The mysql_change_db function in MySQL 5.0.x before 5.0.40 and 5.1.x before 5.1.18 does not restore THD::db_access privileges when returning from SQL SECURITY INVOKER stored routines, which allows remote authenticated users to gain privileges.
Publish Date : 2007-05-15 Last Update Date : 2018-10-16
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 CWE id is not defined for this vulnerability

- Vendor Statements

This issue did not affect mysql packages as shipped in Red Hat Enterprise Linux 2.1, 3 and 4. Affected mysql packages as shipped in Red Hat Enterprise Linux 5 and Red Hat Application Stack were fixed via:
Source: Redhat

- Additional Vendor Supplied Data

Vendor Impact CVSS Score CVSS Vector Report Date Publish Date
Redhat low 2007-05-17 2007-05-17
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
CVE-2007-2692 unix
DSA-1413-1 mysql - multiple oval:org.mitre.oval:def:20366 unix
ELSA-2008:0364: mysql security and bug fix update (Low) oval:org.mitre.oval:def:22310 unix
RHSA-2008:0364: mysql security and bug fix update (Low) oval:com.redhat.rhsa:def:20080364 unix
The mysql_change_db function in MySQL 5.0.x before 5.0.40 and 5.1.x before 5.1.18 does not restore THD::db_access privil... oval:org.mitre.oval:def:9166 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-2692

# Product Type Vendor Product Version Update Edition Language
1 Application Mysql Mysql 5.0.0 Version Details Vulnerabilities
2 Application Mysql Mysql 5.0.0 Alpha Version Details Vulnerabilities
3 Application Mysql Mysql Version Details Vulnerabilities
4 Application Mysql Mysql 5.0.1a Version Details Vulnerabilities
5 Application Mysql Mysql 5.0.1 Version Details Vulnerabilities
6 Application Mysql Mysql 5.0.2 Version Details Vulnerabilities
7 Application Mysql Mysql 5.0.3 Version Details Vulnerabilities
8 Application Mysql Mysql 5.0.3 Beta Version Details Vulnerabilities
9 Application Mysql Mysql 5.0.3a Version Details Vulnerabilities
10 Application Mysql Mysql 5.0.4 Version Details Vulnerabilities
11 Application Mysql Mysql 5.0.4a Version Details Vulnerabilities
12 Application Mysql Mysql 5.0.5 Version Details Vulnerabilities
13 Application Mysql Mysql Version Details Vulnerabilities
14 Application Mysql Mysql 5.0.6 Version Details Vulnerabilities
15 Application Mysql Mysql 5.0.7 Version Details Vulnerabilities
16 Application Mysql Mysql 5.0.8 Version Details Vulnerabilities
17 Application Mysql Mysql 5.0.9 Version Details Vulnerabilities
18 Application Mysql Mysql 5.0.10 Version Details Vulnerabilities
19 Application Mysql Mysql 5.0.10a Version Details Vulnerabilities
20 Application Mysql Mysql 5.0.11 Version Details Vulnerabilities
21 Application Mysql Mysql 5.0.12 Version Details Vulnerabilities
22 Application Mysql Mysql 5.0.13 Version Details Vulnerabilities
23 Application Mysql Mysql 5.0.14 Version Details Vulnerabilities
24 Application Mysql Mysql 5.0.15 Version Details Vulnerabilities
25 Application Mysql Mysql 5.0.15a Version Details Vulnerabilities
26 Application Mysql Mysql 5.0.16 Version Details Vulnerabilities
27 Application Mysql Mysql 5.0.16a Version Details Vulnerabilities
28 Application Mysql Mysql 5.0.17 Version Details Vulnerabilities
29 Application Mysql Mysql 5.0.17a Version Details Vulnerabilities
30 Application Mysql Mysql 5.0.18 Version Details Vulnerabilities
31 Application Mysql Mysql 5.0.19 Version Details Vulnerabilities
32 Application Mysql Mysql 5.0.20 Version Details Vulnerabilities
33 Application Mysql Mysql 5.0.20a Version Details Vulnerabilities
34 Application Mysql Mysql 5.0.21 Version Details Vulnerabilities
35 Application Mysql Mysql 5.0.22 Version Details Vulnerabilities
36 Application Mysql Mysql Version Details Vulnerabilities
37 Application Mysql Mysql 5.0.24 Version Details Vulnerabilities
38 Application Mysql Mysql 5.0.27 Version Details Vulnerabilities
39 Application Mysql Mysql 5.0.33 Version Details Vulnerabilities
40 Application Mysql Mysql 5.0.37 Version Details Vulnerabilities
41 Application Mysql Mysql 5.1.1 Version Details Vulnerabilities
42 Application Mysql Mysql 5.1.2 Version Details Vulnerabilities
43 Application Mysql Mysql 5.1.3 Version Details Vulnerabilities
44 Application Mysql Mysql 5.1.4 Version Details Vulnerabilities
45 Application Mysql Mysql 5.1.5 Version Details Vulnerabilities
46 Application Mysql Mysql 5.1.6 Version Details Vulnerabilities
47 Application Mysql Mysql 5.1.7 Version Details Vulnerabilities
48 Application Mysql Mysql 5.1.8 Version Details Vulnerabilities
49 Application Mysql Mysql 5.1.9 Version Details Vulnerabilities
50 Application Mysql Mysql 5.1.10 Version Details Vulnerabilities
51 Application Mysql Mysql 5.1.11 Version Details Vulnerabilities
52 Application Mysql Mysql 5.1.12 Version Details Vulnerabilities
53 Application Mysql Mysql 5.1.13 Version Details Vulnerabilities
54 Application Mysql Mysql 5.1.14 Version Details Vulnerabilities
55 Application Mysql Mysql 5.1.15 Version Details Vulnerabilities
56 Application Mysql Mysql 5.1.16 Version Details Vulnerabilities
57 Application Mysql Mysql 5.1.17 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Mysql Mysql 57

- References For CVE-2007-2692
MLIST [announce] 20070712 MySQL Community Server 5.0.45 has been released! CONFIRM CONFIRM
XF mysql-changedb-privilege-escalation(34348)
VUPEN ADV-2007-1804
REDHAT RHSA-2008:0364
BUGTRAQ 20070717 rPSA-2007-0143-1 mysql mysql-bench mysql-server
SECTRACK 1018070
BID 24011 MySQL Security Invoker Privilege Escalation Vulnerability Release Date:2008-05-21
REDHAT RHSA-2007:0894
SUSE SUSE-SR:2008:003

- Metasploit Modules Related To CVE-2007-2692

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.