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.
Note:References are provided for the convenience of the reader to help distinguish between vulnerabilities. The list is not intended to be complete.
BUGTRAQ:20070717 rPSA-2007-0143-1 mysql mysql-bench mysql-server
Disclaimer: The entry creation date may reflect when
the CVE-ID was allocated or reserved, and does not
necessarily indicate when this vulnerability was
discovered, shared with the affected vendor, publicly
disclosed, or updated in CVE.
This is an entry on the CVE
list, which standardizes names for security