libcurl: Secure=1 cookie flag bypasses the 8.22.0 fix and leaks over HTTP
信息泄露 / Information Exposure Through Sent Data / #4071872
该报告还没有中文解读。
原文摘录
摘自原文(2182 字符中的一小部分)
An HTTPS server can send `Set-Cookie: session=lab; Secure=1; Path=/`, and curl stores it without the Secure flag, so a later HTTP request to the same host sends `session=lab` in cleartext. I reproduced this with 8.22.0 and master `bb348b35` (`8.23.0-DEV`); the ordinary `Secure` attribute stays …
原文中的代码
curl 8.22.0 (x86_64-pc-linux-gnu) libcurl/8.22.0 OpenSSL/3.0.22
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @nonetype_ · 版权归作者与 curl 所有