SOCKS5 Heap Buffer Overflow via Malicious HTTP Redirect with Oversized Hostname
该报告还没有中文解读。
原文摘录
摘自原文(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 所有