National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2007-2692 Detail

Current 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
View Analysis Description

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

Technical Details

Vulnerability Type (View All)

Known Affected Software Configurations Switch to CPE 2.2

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


Change History

4 change records found - show changes

Quick Info

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