What’s Vulnerable › Vulnerabilities
CVE-2007-2692
- Severity: medium (CVSS 6.0 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2007-05-16 · updated 2026-06-16
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.
Affected products
- Mysql: 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5 (+9)
- MySQL Server: 5.0.0-alpha, 5.0.3-beta, 5.0.6, 5.0.7, 5.0.8, 5.0.9 (+27)
References
- 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://osvdb.org/34765
- http://secunia.com/advisories/25301
- http://secunia.com/advisories/26073
- http://secunia.com/advisories/26430
- http://secunia.com/advisories/27823
- http://secunia.com/advisories/28637
- http://secunia.com/advisories/28838
- http://secunia.com/advisories/29443
Get alerted when CVE-2007-2692 or the next vulnerability affects your stack