POJIA破甲
地图 / curl overwrites local file with -J option if file non-readable, but file writable.

curl overwrites local file with -J option if file non-readable, but file writable.

访问控制 / Improper Handling of Insufficient Permissions or Privileges / #926638

厂商
curl
严重程度
低危
赏金
—
弱点
Improper Handling of Insufficient Permissions or Privileges
研究员
@brumbrum
披露日期
2020-08-01
资产
https://github.com/curl/curl
CVE
CVE-2020-8177

该报告还没有中文解读。

原文摘录

摘自原文(3099 字符中的一小部分)
When using -J -O options on curl command line tool and a server responding with a header that is using Content-Disposition to provide a filename, existing local file will be overwritten if the file is non-readable by the current user, but file is writable by the current user.

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

时间线

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

同类报告

Access to support tickets and payment history, impersonate razer support staffRazer · — · $1,500HTTP/2 PUSH_PROMISE header loss on OOM bypasses scheme validation (regression of 2e8c922a89)curl · 2026-03-31A member-member privilege could access the https://console.rockset.com/billing?tab=payment page even though the billing page is hidden from the menu.Rockset · 2021-11-09