Domainless COOKIEFILE cookie leaks to unrelated IP-literal hosts
信息泄露 / Information Exposure Through Sent Data / #3952619
该报告还没有中文解读。
原文摘录
摘自原文(2469 字符中的一小部分)
When curl loads a cookie file written as raw HTTP `Set-Cookie:` header lines and a line has no `Domain` attribute, the cookie is stored with `co->domain == NULL`, because a file import has no request-host to scope it to. On the send side, `Curl_cookie_getlist` accepts any cookie in the bucket whose …
原文中的代码
printf 'HTTP/1.1 200 OK\r\nContent-Length: 0\r\n\r\n' | nc -l 8888
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @accl · 版权归作者与 curl 所有