Sergei Golubchik
547dfc0e01
MDEV-32500 Information schema leaks table names and structure to unauthorized users
...
standard table KEY_COLUMN_USAGE should only show keys where
a user has some privileges on every column of the key
standard table TABLE_CONSTRAINTS should show tables where
a user has any non-SELECT privilege on the table or on any column
of the table
standard table REFERENTIAL_CONSTRAINTS is defined in terms of
TABLE_CONSTRAINTS, so the same rule applies. If the user
has no rights to see the REFERENCED_TABLE_NAME value, it should be NULL
SHOW INDEX (and STATISTICS table) is non-standard, but it seems
reasonable to use the same logic as for KEY_COLUMN_USAGE.
2023-10-23 17:40:03 +02:00
..
2022-07-27 11:02:57 +02:00
2020-04-01 11:34:32 +02:00
2022-09-30 08:48:57 +02:00
2022-12-02 16:19:13 +01:00
2022-12-02 16:19:13 +01:00
2022-03-30 15:13:01 +05:30
2022-09-12 22:10:39 +04:00
2021-06-26 08:51:17 -07:00
2020-02-05 17:22:26 +01:00
2022-09-12 22:10:39 +04:00
2022-12-13 11:37:33 +02:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-12-02 16:19:13 +01:00
2018-12-18 09:15:41 +02:00
2023-10-23 17:40:03 +02:00
2023-10-23 17:40:03 +02:00
2023-09-22 12:10:38 +02:00
2023-09-22 12:10:38 +02:00
2022-09-30 08:48:57 +02:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2022-09-12 22:10:39 +04:00
2019-05-02 11:40:06 +02:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2018-12-12 00:31:44 +01:00
2018-12-12 00:31:44 +01:00
2023-10-23 17:40:03 +02:00
2018-12-12 00:31:44 +01:00
2018-12-12 00:31:44 +01:00
2023-10-23 17:40:03 +02:00
2022-09-13 16:36:38 +03:00
2022-09-12 22:10:39 +04:00
2021-07-02 14:55:52 +03:00
2021-07-02 17:17:33 +10:00
2019-09-23 10:25:34 +03:00
2019-09-23 10:25:34 +03:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-09-30 08:48:57 +02:00
2022-10-01 23:07:26 +02:00
2022-09-13 16:36:38 +03:00
2022-09-13 16:36:38 +03:00
2022-07-27 11:02:57 +02:00
2020-04-01 11:34:32 +02:00
2022-09-30 08:48:57 +02:00
2022-12-02 16:19:13 +01:00
2022-12-02 16:19:13 +01:00
2022-03-30 15:13:01 +05:30
2022-09-12 22:10:39 +04:00
2021-06-26 08:51:17 -07:00
2022-07-27 11:02:57 +02:00
2020-04-01 11:34:32 +02:00
2022-09-30 08:48:57 +02:00
2022-12-02 16:19:13 +01:00
2022-12-02 16:19:13 +01:00
2022-03-30 15:13:01 +05:30
2022-09-12 22:10:39 +04:00
2021-06-26 23:11:10 -07:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-09-12 22:10:39 +04:00
2022-10-01 23:07:26 +02:00