POJIA破甲
地图 / CVE-2026-3783: token leak with redirect and netrc

CVE-2026-3783: token leak with redirect and netrc

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

厂商
curl
严重程度
低危
赏金
—
弱点
Information Exposure Through Sent Data
研究员
@spectreglobalsec
披露日期
2026-03-11
资产
https://github.com/curl/curl
CVE
CVE-2024-11053CVE-2025-0167CVE-2025-14524CVE-2026-3783

该报告还没有中文解读。

原文摘录

摘自原文(6528 字符中的一小部分)
Summary When `--oauth2-bearer` is used with `--netrc` and curl follows a redirect, the bearer token leaks to the redirect target. The netrc bypass at `http.c:822` skips `Curl_auth_allowed_to_host()`, allowing the token through. This is an incomplete fix for CVE-2025-14524 — the Dec 2025 SASL fix …
原文中的代码
  if(Curl_auth_allowed_to_host(data)
#ifndef CURL_DISABLE_NETRC
     || conn->bits.netrc       // <-- bypasses host check entirely
#endif
    )
    result = output_auth_headers(data, conn, authhost, request, path, FALSE);

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

时间线

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