Buffer Overflow in WebSocket Handshake (lib/ws.c:1287)
该报告还没有中文解读。
原文摘录
摘自原文(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 所有