POJIA破甲
地图 / Heap‑based buffer overflow in curl -K <config_file> allows arbitrary write .

Heap‑based buffer overflow in curl -K <config_file> allows arbitrary write .

内存破坏 / 堆溢出 / #3094406

厂商
curl
严重程度
中危
赏金
—
弱点
堆溢出
研究员
@bsr13
披露日期
2025-04-27
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(14828 字符中的一小部分)
Summary: A heap‑based buffer overflow in curl’s config‑file parser (`parseconfig()` --> `getparameter()`) allows an attacker supplying a crafted config file to overwrite internal pointers (via `cleanarg()`), leading to a write‑what‑where primitive and potential remote code execution.
原文中的代码
2898     case C_USER: /* --user */
2899       /* user:password  */
2900       err = getstr(&config->userpwd, nextarg, ALLOW_BLANK); //------set break point here  ----
2901       cleanarg(clearthis);                                  //--------- set break point here  --------       
2902       break;

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

时间线

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

同类报告

Heap overflow happen when receiving short length key from ssh server using ssh protocol 1PuTTY (European Commission - DIGIT) · 2019-09-20 · $3,646Remote kernel heap overflowPlayStation · 2022-05-11CVE-2023-38545: socks5 heap buffer overflowcurl · 2023-10-11[3DS][SSL][SDK] Unchecked number of audio channels in Mobiclip SDK leads to RCE in eShop movie playerNintendo · 2020-12-18Buffer Overflow Vulnerability in WebSocket Handlingcurl · 2024-01-02Buffer overflow in req_parsebody method in lua_request.cInternet Bug Bounty · 2022-01-04
Heap‑based buffer overflow in curl -K <config_file> allows arbitrary write . · 破甲 POJIA