Exposure of a valid Gitlab-Workhorse JWT leading to various bad things
该报告还没有中文解读。
原文摘录
摘自原文(11280 字符中的一小部分)
Using the **State** Uploading API we could potentially do a bad thing: - Bypass `Gitlab::Workhorse.verify_api_request!`
原文中的代码
desc 'Add a new terraform state or update an existing one'
route_setting :authentication, basic_auth_personal_access_token: true, job_token_allowed: :basic_auth
post do
authorize! :admin_terraform_state, user_project
data = request.body.read默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 GitLab 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @ledz1996 · 版权归作者与 GitLab 所有