One Strict-Transport-Security response header empties the victim's entire HSTS store, silently,
该报告还没有中文解读。
原文摘录
摘自原文(6191 字符中的一小部分)
Summary One `Strict-Transport-Security` response header, from any HTTPS server the victim contacts, leaves the victim's on-disk HSTS store at **zero bytes**. Every host in it loses HSTS protection, including hosts unrelated to the server that sent the header. curl exits 0 and prints nothing.
原文中的代码
*fh = curlx_fopen(filename, FOPEN_WRITETEXT); /* "w", truncates */
if(!*fh)
goto fail;
if(curlx_fstat(fileno(*fh), &sb) == -1 || !S_ISREG(sb.st_mode)) {
return CURLE_OK;
}
curlx_fclose(*fh);默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @xshubhamraj · 版权归作者与 curl 所有