Proxy CONNECT response poisoning via authentication retry in cf-h1-proxy.c (libcurl)
该报告还没有中文解读。
原文摘录
摘自原文(3119 字符中的一小部分)
Summary: When an HTTP/1.x proxy returns a 407 with no Content-Length and no chunked transfer-encoding, `lib/cf-h1-proxy.c` `single_header()` sets `ts->keepon = KEEPON_DONE` but never sets `ts->close_connection = TRUE`. Because `ts->close_connection` and `conn->bits.close` both stay false, the …
原文中的代码
#!/bin/bash # Reproduction: Proxy CONNECT Response Poisoning via Authentication Retry PROXY_PORT=34371 python3 << 'PYEOF' & import socket, time NONCE = "dcd98b7102dd2f0e8b11d0f600bfb0c093" srv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) srv.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @snapple1122 · 版权归作者与 curl 所有