CSRF Token Bypass in Account Deletion
该报告还没有中文解读。
原文摘录
摘自原文(1095 字符中的一小部分)
The authentication token `authenticity_token` used in the POST request for deleting an account can be bypassed, by replacing the same with a token generated for deleting another account. This way, a self submitting form can be used to delete another user's account as long as he/she's logged in.
原文中的代码
POST /users HTTP/1.1 Host: gitlab.com Referer: https://gitlab.com/profile/account Cookie: _gitlab_session=1staccount_cookie; Content-Type: application/x-www-form-urlencoded _method=delete&authenticity_token=auth_1staccount
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 GitLab 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @7h0r4pp4n · 版权归作者与 GitLab 所有