curl reuses an HTTPS connection when a response is already buffered in the TLS stack
其他弱点 / Acceptance of Extraneous Untrusted Data With Trusted Data / #4128703
该报告还没有中文解读。
原文摘录
摘自原文(2788 字符中的一小部分)
curl master (`15292ed75`, `8.23.1-DEV`) reuses an idle HTTP/1.1-over-TLS connection even when a complete extra response is already buffered in OpenSSL/GnuTLS. The `ef6b17cf1` fix only polls the socket: `Curl_cpool_conn_seems_healthy()` (`lib/conncache.c:1073`, called from `lib/url.c:1071`) uses …
原文中的代码
openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem \ -days 1 -subj /CN=localhost python3 poc.py 9443
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @shafran99 · 版权归作者与 curl 所有