CVE-2007-2692
Summary
| CVE | CVE-2007-2692 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2007-05-16 01:19:00 UTC |
| Updated | 2026-04-23 00:35:47 UTC |
| 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. |
Risk And Classification
Primary CVSS: v2.0 6 from [email protected]
AV:N/AC:M/Au:S/C:P/I:P/A:P
Problem Types: NVD-CWE-Other | n/a
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
SingleConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:S/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Mysql | Mysql | 5.0.0 | All | All | All |
| Application | Mysql | Mysql | 5.0.1 | All | All | All |
| Application | Mysql | Mysql | 5.0.10 | All | All | All |
| Application | Mysql | Mysql | 5.0.15 | All | All | All |
| Application | Mysql | Mysql | 5.0.16 | All | All | All |
| Application | Mysql | Mysql | 5.0.17 | All | All | All |
| Application | Mysql | Mysql | 5.0.2 | All | All | All |
| Application | Mysql | Mysql | 5.0.20 | All | All | All |
| Application | Mysql | Mysql | 5.0.22.1.0.1 | All | All | All |
| Application | Mysql | Mysql | 5.0.24 | All | All | All |
| Application | Mysql | Mysql | 5.0.3 | All | All | All |
| Application | Mysql | Mysql | 5.0.4 | All | All | All |
| Application | Mysql | Mysql | 5.0.5 | All | All | All |
| Application | Mysql | Mysql | 5.0.5.0.21 | All | All | All |
| Application | Mysql | Mysql | 5.1.5 | All | All | All |
| Application | Oracle | Mysql | 5.0.0 | alpha | All | All |
| Application | Oracle | Mysql | 5.0.11 | All | All | All |
| Application | Oracle | Mysql | 5.0.12 | All | All | All |
| Application | Oracle | Mysql | 5.0.13 | All | All | All |
| Application | Oracle | Mysql | 5.0.14 | All | All | All |
| Application | Oracle | Mysql | 5.0.18 | All | All | All |
| Application | Oracle | Mysql | 5.0.19 | All | All | All |
| Application | Oracle | Mysql | 5.0.21 | All | All | All |
| Application | Oracle | Mysql | 5.0.22 | All | All | All |
| Application | Oracle | Mysql | 5.0.27 | All | All | All |
| Application | Oracle | Mysql | 5.0.3 | beta | All | All |
| Application | Oracle | Mysql | 5.0.33 | All | All | All |
| Application | Oracle | Mysql | 5.0.37 | All | All | All |
| Application | Oracle | Mysql | 5.0.6 | All | All | All |
| Application | Oracle | Mysql | 5.0.7 | All | All | All |
| Application | Oracle | Mysql | 5.0.8 | All | All | All |
| Application | Oracle | Mysql | 5.0.9 | All | All | All |
| Application | Oracle | Mysql | 5.1.1 | All | All | All |
| Application | Oracle | Mysql | 5.1.10 | All | All | All |
| Application | Oracle | Mysql | 5.1.11 | All | All | All |
| Application | Oracle | Mysql | 5.1.12 | All | All | All |
| Application | Oracle | Mysql | 5.1.13 | All | All | All |
| Application | Oracle | Mysql | 5.1.14 | All | All | All |
| Application | Oracle | Mysql | 5.1.15 | All | All | All |
| Application | Oracle | Mysql | 5.1.16 | All | All | All |
| Application | Oracle | Mysql | 5.1.17 | All | All | All |
| Application | Oracle | Mysql | 5.1.2 | All | All | All |
| Application | Oracle | Mysql | 5.1.3 | All | All | All |
| Application | Oracle | Mysql | 5.1.4 | All | All | All |
| Application | Oracle | Mysql | 5.1.6 | All | All | All |
| Application | Oracle | Mysql | 5.1.7 | All | All | All |
| Application | Oracle | Mysql | 5.1.8 | All | All | All |
| Application | Oracle | Mysql | 5.1.9 | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Ubuntu update for mysql-dfsg-5.0 - Secunia Advisories - Vulnerability Intelligence - Secunia.com | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| MySQL Security Invoker Privilege Escalation Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| Advisories | Mandriva | af854a3a-2127-422b-91ae-364da2661108 | www.mandriva.com | |
| MySQL AB :: MySQL 5.1 Reference Manual :: C.1.9 Changes in MySQL 5.1.18 (08 May 2007) | af854a3a-2127-422b-91ae-364da2661108 | dev.mysql.com | |
| [security-announce] SUSE Security Summary Report SUSE-SR:2008:003 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| Mandriva update for mysql - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| rPath update for mysql, mysql-bench, and mysql-server - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Debian update for mysql-dfsg, mysql-dfsg-5.0, and mysql-dfsg-4.1 - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| MySQL Lists: announce: MySQL Community Server 5.0.45 has been released! | af854a3a-2127-422b-91ae-364da2661108 | lists.mysql.com | |
| IBM X-Force Exchange | af854a3a-2127-422b-91ae-364da2661108 | exchange.xforce.ibmcloud.com | |
| SUSE Update for Multiple Packages - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| rPath update for mysql, mysql-bench, and mysql-server - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| MySQL Bugs: #27337: Privileges are not properly restored | af854a3a-2127-422b-91ae-364da2661108 | bugs.mysql.com | |
| rhn.redhat.com | Red Hat Support | af854a3a-2127-422b-91ae-364da2661108 | www.redhat.com | |
| MySQL Denial of Service Vulnerability and Multiple Security Issues - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| SecurityFocus | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| Webmail : Solution de messagerie professionnelle - OVHcloud- OVH | af854a3a-2127-422b-91ae-364da2661108 | www.vupen.com | |
| SecurityTracker.com Archives - MySQL SQL SECURITY INVOKER Routines Let Remote Authenticated Users Gain Elevated Privileges | af854a3a-2127-422b-91ae-364da2661108 | www.securitytracker.com | |
| Red Hat update for mysql - Advisories - Secunia | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | |
| Debian -- Security Information -- DSA-1413-1 mysql | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| osvdb.org/34765 | af854a3a-2127-422b-91ae-364da2661108 | osvdb.org | |
| Repository / Oval Repository | af854a3a-2127-422b-91ae-364da2661108 | oval.cisecurity.org | |
| USN-588-1: MySQL vulnerabilities | Ubuntu | af854a3a-2127-422b-91ae-364da2661108 | www.ubuntu.com | |
| issues.rpath.com/browse/RPL-1536 | af854a3a-2127-422b-91ae-364da2661108 | issues.rpath.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
| Organization | Published | Contributor | Statement |
|---|---|---|---|
| Red Hat | 2008-07-25 | Joshua Bressers | 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 |
There are currently no legacy QID mappings associated with this CVE.