POJIA破甲
地图 / SOCKS5 Heap Buffer Overflow via Malicious HTTP Redirect with Oversized Hostname

SOCKS5 Heap Buffer Overflow via Malicious HTTP Redirect with Oversized Hostname

内存破坏 / 堆溢出 / #3404025

厂商
curl
严重程度
低危
赏金
—
弱点
堆溢出
研究员
@abdullah-107
披露日期
2025-10-31
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(6584 字符中的一小部分)
Summary: A heap-based buffer overflow vulnerability exists in curl's SOCKS5 proxy handshake implementation when processing HTTP redirects containing hostnames exceeding 255 characters. When curl is configured to use SOCKS5 with hostname resolution (socks5h:// scheme) and follows an HTTP redirect to …
原文中的代码
   sudo apt-get install -y dante-server
   # Configure danted to listen on port 1080 without authentication
   sudo systemctl start danted
Create malicious HTTP server that returns redirect with oversized hostname:
Bash
printf "HTTP/1.1 301 Moved Permanently\r\nLocation: http:///$(printf 'A%.0s' …

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

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @abdullah-107 · 版权归作者与 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