Connection reuse ignores haproxyprotocol and HAPROXY_CLIENT_IP settings, allowing PROXY context to persist across transfers
访问控制 / Incorrect Authorization / #3741135
该报告还没有中文解读。
原文摘录
摘自原文(12530 字符中的一小部分)
libcurl's connection pool match logic does not include the CURLOPT_HAPROXYPROTOCOL setting or the CURLOPT_HAPROXY_CLIENT_IP value in its connection match key. Two transfers issued through the same `Curl_easy` or via a shared connection cache (`CURL_LOCK_DATA_CONNECT`) therefore share one TCP …
原文中的代码
curl 8.21.0-DEV (aarch64-unknown-linux-gnu) libcurl/8.21.0-DEV OpenSSL/3.0.20 zlib/1.2.13 libidn2/2.3.3 libpsl/0.21.2 nghttp2/1.52.0 Release-Date: [unreleased] Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns mqtt mqtts pop3 pop3s rtsp smtp smtps telnet tftp ws wss …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @7omoo · 版权归作者与 curl 所有