WebSocket Fragmentation DoS on Curl Client
该报告还没有中文解读。
原文摘录
摘自原文(3695 字符中的一小部分)
Summary A malicious WebSocket server can send a fragmented message (FIN=0) followed by a flood of continuation frames, causing the client (curl) to continuously allocate memory while waiting for message completion. This can result in high memory usage and potential crash (OOM), representing a …
原文中的代码
#!/usr/bin/env python3
# ws_frag_poc.py - DoS PoC for WebSocket fragmentation
import socket, base64, hashlib, threading
HOST, PORT = "0.0.0.0", 8765
def make_handshake_response(key):
GUID = b"258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
accept = base64.b64encode(hashlib.sha1(key + …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @pelioro · 版权归作者与 curl 所有