POJIA破甲
地图 / Buffer Overflow in WebSocket Handshake (lib/ws.c:1287)

Buffer Overflow in WebSocket Handshake (lib/ws.c:1287)

内存破坏 / 经典缓冲区溢出 / #3392174

厂商
curl
严重程度
中危
赏金
—
弱点
经典缓冲区溢出
研究员
@aybanda
披露日期
2025-10-21
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(5603 字符中的一小部分)
Summary: Buffer overflow vulnerability in curl's WebSocket implementation due to unsafe use of strcpy() in the handshake process. The vulnerability is located at lib/ws.c:1287 where strcpy(keyval, randstr) is called without proper bounds checking, despite having a bounds check earlier in the code.
原文中的代码
   # Save as websocket_exploit.py
   import socket
   
   class WebSocketExploitServer:
       def __init__(self, host='127.0.0.1', port=8080):
           self.host = host
           self.port = port
           
       def start_server(self):
           self.server_socket = …

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

时间线

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

同类报告

RCE on Steam Client via buffer overflow in Server InfoValve · 2019-03-15Malformed .BMP file in Counter-Strike 1.6 may cause shellcode injectionValve · 2020-02-27Malformed NAV file leads to buffer overflow and code execution in Left4Dead2.exeValve · 2020-03-25 · $10,000Remote vulnerabilities in sppPlayStation · 2024-04-25 · $12,500Buffer overrun in Steam SILK voice decoderValve · 2021-09-13 · $7,500[Portal 2] Remote Code Execution via voice packetsValve · 2021-05-10 · $5,000