Trailing-dot IPv4 URL bypasses IP-address guard, allows wildcard DNS SAN match
该报告还没有中文解读。
原文摘录
摘自原文(7803 字符中的一小部分)
Sorry to ruin anybody's day, but we've discovered another issue when it comes to dots.
原文中的代码
/* lib/vtls/hostcheck.c lines 87-96 */
/* normalize pattern and hostname by stripping off trailing dots */
if(hostname[hostlen - 1] == '.') /* TRUE for "127.0.0.1." */
hostlen--; /* hostlen 11 -> 10; pointer unchanged */
if(pattern[patternlen - 1] == '.') …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有