CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register   Reset Password   Activate Account
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

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 : 2012-11-05
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.0
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: https://rhn.redhat.com/errata/CVE-2007-2692.html
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 @ cvedetails.com

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2007-2692 oval:org.opensuse.security:def:20072692 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 5.0.0.0 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 5.0.5.0.21 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.15a Version Details Vulnerabilities
25 Application Mysql Mysql 5.0.15 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 5.0.22.1.0.1 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

http://www.securityfocus.com/archive/1/archive/1/473874/100/0/threaded
BUGTRAQ 20070717 rPSA-2007-0143-1 mysql mysql-bench mysql-server
http://bugs.mysql.com/bug.php?id=27337
http://www.securityfocus.com/bid/24011
BID 24011 MySQL Security Invoker Privilege Escalation Vulnerability Release Date:2008-05-21
http://www.redhat.com/support/errata/RHSA-2008-0364.html
REDHAT RHSA-2008:0364
http://secunia.com/advisories/30351
SECUNIA 30351
http://secunia.com/advisories/25301
SECUNIA 25301
http://osvdb.org/34765
OSVDB 34765
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-18.html CONFIRM
http://lists.mysql.com/announce/470
MLIST [announce] 20070712 MySQL Community Server 5.0.45 has been released!
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
SUSE SUSE-SR:2008:003
http://secunia.com/advisories/26073
SECUNIA 26073
http://secunia.com/advisories/27823
SECUNIA 27823
http://secunia.com/advisories/26430
SECUNIA 26430
http://secunia.com/advisories/28637
SECUNIA 28637
http://secunia.com/advisories/28838
SECUNIA 28838
http://secunia.com/advisories/29443
SECUNIA 29443
http://www.debian.org/security/2007/dsa-1413
DEBIAN DSA-1413
http://www.mandriva.com/security/advisories?name=MDVSA-2008:028
MANDRIVA MDVSA-2008:028
http://www.redhat.com/support/errata/RHSA-2007-0894.html
REDHAT RHSA-2007:0894
http://www.ubuntu.com/usn/usn-588-1
UBUNTU USN-588-1
http://xforce.iss.net/xforce/xfdb/34348
XF mysql-changedb-privilege-escalation(34348)
https://issues.rpath.com/browse/RPL-1536 CONFIRM
http://www.vupen.com/english/advisories/2007/1804
VUPEN ADV-2007-1804
http://www.securitytracker.com/id?1018070
SECTRACK 1018070

- Metasploit Modules Related To CVE-2007-2692

There are not any metasploit modules related to this vulnerability (Please visit www.metasploit.com 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.