Alt-Svc bypasses credential leak protection (CVE-2018-1000007)
信息泄露 / Information Exposure Through Sent Data / #3485826
该报告还没有中文解读。
原文摘录
摘自原文(2599 字符中的一小部分)
Summary I found a bug where curl's Alt-Svc implementation fails to strip sensitive authentication headers (Authorization and Cookies) when remapping a connection to a different host or port. This essentially bypasses the security fix for CVE-2018-1000007.
原文中的代码
return !data->state.this_is_a_follow ||
data->set.allow_auth_to_other_hosts ||
(data->state.first_host &&
curl_strequal(data->state.first_host, conn->host.name) &&
(data->state.first_remote_port == conn->remote_port) ...默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @amik_f · 版权归作者与 curl 所有