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.
Publish Date : 2007-05-15 Last Update Date : 2012-11-05
| Cvss Score |
6.0 |
| Confidentiality Impact |
Partial
(There is considerable informational disclosure.) |
| Integrity Impact |
Partial
(Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.) |
| Availability Impact |
Partial
(There is reduced performance or interruptions in resource availability.) |
| Access Complexity |
Medium
(The access conditions are somewhat specialized. Some preconditions must be satistified to exploit) |
| Authentication |
Single system
(The vulnerability requires an attacker to be logged into the system (such as at a command line or via a desktop session or web interface).) |
| Gained Access |
User |
| Vulnerability Type(s) |
Gain privileges |
| CWE ID |
CWE id is not defined for this vulnerability |
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify
a vulnerability or a missing patch. Check out the OVAL definitions
if you want to learn what you should do to verify a vulnerability.