Local files could be overwritten in GitLab, leading to remote command execution
该报告还没有中文解读。
原文摘录
摘自原文(5712 字符中的一小部分)
Summary Arbitrary file overwrite A new feature (download a directory of a repository) in GitLab 11.11 introduced some changes in `./internal/service/repository/archive.go` of Gitaly.
原文中的代码
func handleArchive(ctx context.Context, writer io.Writer, in *gitalypb.GetArchiveRequest, compressCmd *exec.Cmd, format string, path string) error {
archiveCommand, err := git.Command(ctx, in.GetRepository(), "archive", …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 GitLab 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @saltyyolk · 版权归作者与 GitLab 所有