KILL authorization trusts the presented login name instead of the authenticated anonymous account
内存破坏 / Incorrect Calculation of Buffer Size / #3897588
该报告还没有中文解读。
原文摘录
摘自原文(2273 字符中的一小部分)
When a supplied username falls back to an anonymous MariaDB account, the security context retains the supplied login name in `user` while the authenticated identity in `priv_user` is empty. KILL authorization compares `user`, allowing the anonymous session to kill a connection whose user matches …
原文中的代码
CREATE USER ''@'127.0.0.1'; CREATE USER 'killvictim'@'localhost' IDENTIFIED BY 'victim-test-only'; FLUSH PRIVILEGES;
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 MariaDB 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @dogeshark · 版权归作者与 MariaDB 所有