Rapid7 Vulnerability & Exploit Database

MySQL 'SQL SECURITY INVOKER' Stored Routines Privilege Escalation

Back to Search

MySQL 'SQL SECURITY INVOKER' Stored Routines Privilege Escalation

Severity
6
CVSS
(AV:N/AC:M/Au:S/C:P/I:P/A:P)
Published
03/21/2007
Created
07/25/2018
Added
07/01/2008
Modified
05/27/2016

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.

Solution(s)

  • mysql-upgrade-5_0_42
  • mysql-upgrade-5_1_18

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;