POJIA破甲
地图 / Unsanitized IPFS CID Allows SSRF Against Configured Gateway

Unsanitized IPFS CID Allows SSRF Against Configured Gateway

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

厂商
curl
严重程度
低危
赏金
—
弱点
SSRF
研究员
@donutshunter
披露日期
2025-10-03
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(7183 字符中的一小部分)
`ipfs_url_rewrite()` (in `src/tool_ipfs.c`) decodes the host component (CID) of `ipfs://` / `ipns://` URLs using `CURLU_URLDECODE` and then concatenates that decoded value directly into the gateway path (`aprintf("%s%s/%s%s", ...)`) without normalization or validation. A crafted host value (for …
原文中的代码
   python3 admin_api.py
   

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

时间线

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

同类报告

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