cookie: case-insensitive path comparison in replace_existing() allows cookie eviction across distinct paths
该报告还没有中文解读。
原文摘录
摘自原文(7919 字符中的一小部分)
`replace_existing()` in `lib/cookie.c` compares cookie **paths** case-insensitively at two sites. On case-sensitive servers, `/Admin` and `/admin` are distinct resources and are supposed to produce distinct jar entries. Because libcurl conflates them, a `Set-Cookie` at one path silently evicts the …
原文中的代码
if(curl_strnequal(clist->path, co->path, cllen)) {
...
}默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有