Evaluating Ruby code by injecting Rescue job on the system_hook_push queue through web hook
该报告还没有中文解读。
原文摘录
摘自原文(4807 字符中的一小部分)
The secret token field of a webhook is vulnerable to a new line injection, allowing an attacker to inject non-HTTP commands in a TCP stream. When a GitLab instance is configured with an external Redis instance, e.g. on `127.0.0.1:6379`, it may result in arbitrary code execution on a Sidekiq worker …
原文中的代码
POST /root/test/hooks HTTP/1.1 Host: gitlab-instance ... ----------1282688597 Content-Disposition: form-data; name="hook[url]" http://127.0.0.1:6379/ ----------1282688597 Content-Disposition: form-data; name="hook[token]" A ...
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 GitLab 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @jobert · 版权归作者与 GitLab 所有