Details
-
Bug
-
Status: In Progress (View Workflow)
-
Critical
-
Resolution: Unresolved
-
10.11, 11.4, 11.8, 12.3, 13.0, 13.1, 13.2
Description
A user with ALTER privilege bug without SELECT can use various errors from ALTER that include the column value into the error message to see values he was not granted a privilege to see. For example
MariaDB [test]> SELECT * FROM t1;
|
ERROR 1142 (42000): SELECT command denied to user 'u'@'localhost' for table `db`.`t1`
|
MariaDB [test]> ALTER TABLE t1 ADD UNIQUE (v);
|
ERROR 1062 (23000): Duplicate entry 'foobar' for key 'v'
|
Reported by Yalguun Tumenkhuu
Attachments
Issue Links
- links to