Encoded slash traversal in the IPFS/IPNS URL rewrite escapes the configured gateway namespace
其他弱点 / Improper Handling of URL Encoding (Hex Encoding) / #4027511
该报告还没有中文解读。
原文摘录
摘自原文(3671 字符中的一小部分)
curl 8.22.0's IPFS/IPNS CLI rewrite decodes the user path after its first dot-segment cleanup, then places that decoded path after the configured gateway base and `/ipfs/<cid>` or `/ipns/<name>` namespace. An encoded slash can therefore become a structural separator too late for the first cleanup, …
原文中的代码
curl -O https://curl.se/download/curl-8.22.0.tar.xz tar -xf curl-8.22.0.tar.xz cd curl-8.22.0 ./configure make -j2
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @1rhino2 · 版权归作者与 curl 所有