POJIA破甲
地图 / Trailing-dot IPv4 URL bypasses IP-address guard, allows wildcard DNS SAN match

Trailing-dot IPv4 URL bypasses IP-address guard, allows wildcard DNS SAN match

业务逻辑 / 业务逻辑错误 / #3734921

厂商
curl
严重程度
低危
赏金
—
弱点
业务逻辑错误
研究员
@giant_anteater
披露日期
2026-05-17
资产
https://github.com/curl/curl
CVE
CVE-2022-30115

该报告还没有中文解读。

原文摘录

摘自原文(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 所有

同类报告

Modify in-flight data to payment provider Smart2PayValve · 2021-08-10 · $7,500H1514 Ability to MiTM Shopify PoS Session to Takeover CommunicationsShopify · 2019-11-04Hackerone is not properly deleting user idHackerOne · 2021-06-11Double Payout via PayPalCoinbase · 2018-04-04 · $10,000Getting New Invitations without Leaving ProgramsHackerOne · 2020-10-15[fleet.city-mobil.ru] Driver balance increasingMail.ru · —