National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2007-2692 Detail

Description

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.

Source:  MITRE
Description Last Modified:  05/15/2007

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 6.0 MEDIUM
Vector: (AV:N/AC:M/Au:S/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 6.8


Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (AU): Single
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Provides unauthorized access
Allows unauthorized disclosure of information
Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (07/25/2008)

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

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://bugs.mysql.com/bug.php?id=27337
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-18.html
http://lists.mysql.com/announce/470
http://lists.opensuse.org/opensuse-security-announce/2008-02/msg00003.html
http://www.debian.org/security/2007/dsa-1413
http://www.mandriva.com/security/advisories?name=MDVSA-2008:028
http://www.redhat.com/support/errata/RHSA-2007-0894.html
http://www.redhat.com/support/errata/RHSA-2008-0364.html
http://www.securityfocus.com/archive/1/archive/1/473874/100/0/threaded
http://www.securityfocus.com/bid/24011
http://www.securitytracker.com/id?1018070
http://www.ubuntu.com/usn/usn-588-1
http://www.vupen.com/english/advisories/2007/1804
https://exchange.xforce.ibmcloud.com/vulnerabilities/34348
https://issues.rpath.com/browse/RPL-1536
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9166

References to Check Content

Identifier:
oval:org.mitre.oval:def:9166
Check System:
http://oval.mitre.org/XMLSchema/oval-definitions-5
Hyperlink:
http://oval.mitre.org/repository/data/DownloadDefinition?id=oval:org.mitre.oval:def:9166

Technical Details

Vulnerability Type (View All)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:a:mysql:mysql:5.0.0:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.0:alpha:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.0.0:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.1:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.1a:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.2:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.3:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.3:beta:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.3a:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.4:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.4a:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.5:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.5.0.21:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.6:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.7:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.8:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.9:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.10:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.10a:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.11:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.12:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.13:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.14:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.15:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.15a:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.16:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.16a:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.17:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.17a:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.18:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.19:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.20:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.20a:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.21:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.22:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.22.1.0.1:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.24:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.27:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.33:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.0.37:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.1:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.2:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.3:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.4:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.5:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.6:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.7:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.8:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.9:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.10:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.11:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.12:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.13:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.14:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.15:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.16:*:*:*:*:*:*:*
cpe:2.3:a:mysql:mysql:5.1.17:*:*:*:*:*:*:*

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

3 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2007-2692
NVD Published Date:
05/15/2007
NVD Last Modified:
10/10/2017