1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
Jon Olav Hauglid 108ad9e44b Bug#11882603 SELECT_ACL ON ANY COLUMN IN MYSQL.PROC ALLOWS TO SEE
DEFINITION OF ANY ROUTINE.

The problem was that having the SELECT privilege any column of the
mysql.proc table by mistake allowed the user to see the definition
of all routines (using SHOW CREATE PROCEDURE/FUNCTION and SHOW
PROCEDURE/FUNCTION CODE).

This patch fixes the problem by making sure that those commands
are only allowed if the user has the SELECT privilege on the
mysql.proc table itself.

Test case added to sp-security.test.
2011-04-11 12:24:50 +02:00
..
2010-12-28 19:57:23 +01:00
2008-12-17 15:01:34 -05:00
2011-01-07 15:28:36 +02:00
2008-07-14 16:16:37 -04:00
2008-07-10 14:47:53 -04:00
2007-11-05 20:18:22 +01:00
2011-01-07 15:28:36 +02:00
2011-01-07 15:28:36 +02:00
2011-01-07 15:28:36 +02:00
2010-12-28 19:57:23 +01:00
2009-02-06 18:25:08 +01:00
2010-12-28 19:57:23 +01:00
2010-12-28 19:57:23 +01:00
2011-01-26 15:30:06 +08:00
2010-12-28 19:57:23 +01:00
2010-12-28 19:57:23 +01:00
2009-03-19 09:44:58 -04:00
2009-11-03 19:58:54 +03:00
2008-07-10 14:50:07 -04:00
2010-12-28 19:57:23 +01:00
2008-01-23 13:26:41 -07:00
2011-01-07 15:28:36 +02:00
2011-01-26 15:30:06 +08:00
2011-01-26 15:30:06 +08:00
2011-01-26 15:30:06 +08:00
2011-01-07 15:28:36 +02:00
2011-01-07 15:28:36 +02:00
2010-12-28 19:57:23 +01:00
2007-07-01 15:33:28 -07:00
2009-03-19 09:44:58 -04:00
2009-11-03 19:58:54 +03:00
2010-12-28 19:57:23 +01:00
2009-06-29 15:17:01 +02:00