POJIA破甲
地图 / HSTS multi-trailing-dot bypass-ish: possible incomplete fix for CVE-2022-30115

HSTS multi-trailing-dot bypass-ish: possible incomplete fix for CVE-2022-30115

密码学缺陷 / 敏感信息明文传输 / #3733984

厂商
curl
严重程度
低危
赏金
—
弱点
敏感信息明文传输
研究员
@giant_anteater
披露日期
2026-05-18
资产
https://github.com/curl/curl
CVE
CVE-2022-30115

该报告还没有中文解读。

原文摘录

摘自原文(5158 字符中的一小部分)
Honestly, I'm not completely certain about this issue, but I _think_ the CVE-2022-30115 fix ("HSTS bypass via trailing dot") is incomplete: the same asymmetry exists for hostnames with two or more trailing dots, so `http://example.com../` still gets sent in plaintext when there's a valid HSTS entry …
原文中的代码
echo 'example.com "29991231 23:59:59"' > /tmp/hsts.txt
for H in 'example.com' 'example.com.' 'example.com..'; do
  echo "=== http://$H/ ===";
  ./src/curl -sv --hsts /tmp/hsts.txt \
    --resolve "$H:80:127.0.0.1" --resolve "$H:443:127.0.0.1" \
    --max-time 1 --connect-timeout 1 -o /dev/null …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有

同类报告

Reflected XSS and sensitive data exposure, including payment details, on lioncityrentals.com.sgUber · 2020-04-30 · $4,000Password Reset Link Leaked In Refer Header In Request To Third Party SitesNord Security · —Cleartext Transmission of Sensitive Information Leads to administrator accessHelium · 2020-05-30fetlife.com/signup_step_profile expose access_token of mapbox.comFetLife · 2023-11-01Cleartext Transmission of password via EmailSheer · 2024-04-22 · $200Sensitive Info Leak - An Attacker Can Retrieve All the Users Mobile Numbers at https://website-api.production.curve.app/api/waitlist/usCurve · 2020-10-23