POJIA破甲
地图 / Cookie attribute truncation in curl drops Secure/HttpOnly protections

Cookie attribute truncation in curl drops Secure/HttpOnly protections

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

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

该报告还没有中文解读。

原文摘录

摘自原文(1989 字符中的一小部分)
**Description:** If a `Set-Cookie` header contains an `=` immediately after a semicolon (i.e., `;=`), curl stops parsing the attributes and discards everything that follows. This silently drops protections like `Secure` and `HttpOnly`, causing curl to later send the cookie over unencrypted HTTP.
原文中的代码
python  poc.py

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

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @hasanfleyah · 版权归作者与 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