POJIA破甲
地图 / CVE-2022-27779: cookie for trailing dot TLD

CVE-2022-27779: cookie for trailing dot TLD

信息泄露 / Information Exposure Through Sent Data / #1553301

厂商
curl
严重程度
低危
赏金
—
弱点
Information Exposure Through Sent Data
研究员
@haxatron1
披露日期
2022-05-11
资产
https://github.com/curl/curl
CVE
CVE-2022-27779

该报告还没有中文解读。

原文摘录

摘自原文(1265 字符中的一小部分)
Summary: In CVE-2014-3620 curl prevents cookies from being set for Top Level Domains (TLDs). According to the advisory, curl's "cookie parser has no Public Suffix awareness", but it will "reject TLDs from being allowed". However, a cookie can still be set for a TLD + trailing dot.
原文中的代码
<?php

header("Set-Cookie: a=b; Domain=.me.");

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

时间线

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

同类报告

Unauthenticated API Access Exposing Premium Content and Financial DataXVIDEOS · 2025-02-09Credential leak on redirect due to improper state clearing when parsing macdef in netrc.ccurl · 2025-06-22curl cookie mixed case PSL bypassInternet Bug Bounty · 2023-12-22 · $2,540API Data Leakage Vulnerability Report - `xvcams.com`XVIDEOS · 2025-02-09Domainless COOKIEFILE cookie leaks to unrelated IP-literal hostscurl · 2026-08-21CVE-2023-46218: cookie mixed case PSL bypasscurl · 2023-12-06