POJIA破甲
地图 / Injection of `http.<url>.*` git config settings leading to SSRF

Injection of `http.<url>.*` git config settings leading to SSRF

服务端请求伪造 / SSRF / #855276

厂商
GitLab
严重程度
中危
赏金
$3,000
弱点
SSRF
研究员
@vakzz
披露日期
2020-09-08
资产
Your Own GitLab Instance
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(4459 字符中的一小部分)
When import a repo with credentials via a URL, gitaly generates the git clone command with a `-c` flag to add the Authorization header:
原文中的代码
flags = append(flags, git.ValueFlag{Name: "-c", Value: fmt.Sprintf("http.%s.extraHeader=%s", u.String(), authHeader)})

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 GitLab 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @vakzz · 版权归作者与 GitLab 所有

同类报告

SSRF in Exchange leads to ROOT access in all instancesShopify · 2018-05-23Server Side Request Forgery (SSRF) via Analytics ReportsHackerOne · 2023-12-08 · $25,000Server-Side Request Forgery using Javascript allows to exfill data from Google MetadataSnapchat · 2020-11-30Server Side Request Forgery (SSRF) at app.hellosign.com leads to AWS private keys disclosureDropbox · — · $4,913SSRF on project import via the remote_attachment_url on a NoteGitLab · 2020-06-07 · $10,000Server Side Request Forgery mitigation bypassGitLab · 2020-04-18