← 返回地图破甲

netrc credentials leaked to a cross-host redirect target on the Basic auth path (not covered by redirect credential protections)

身份认证 / 凭据保护不足 / #4125043

厂商
curl
严重程度
低危
赏金
—
弱点
凭据保护不足
研究员
@noraqiu
披露日期
2026-10-26
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(12084 字符中的一小部分)
curl's redirect credential-leak protection (the `CURLOPT_UNRESTRICTED_AUTH` off-by-default guarantee, enforced by `Curl_auth_allowed_to_origin()`) covers three credential sources: a custom `Authorization` header, `CURLOPT_USERNAME`/`CURLOPT_PASSWORD`, and cookies. It does **not** cover credentials …
原文中的代码
// lib/url.c:2068+  url_set_data_origin_and_creds()
//   parses the redirect URL, updates data->state.origin to the redirect target.
//   data->state.initial_origin is only cleared in Curl_pretransfer (not on redirect).

// lib/url.c:1371+  url_set_data_origin_and_creds() -> …

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

时间线

阅读 HackerOne 原文 ↗作者 @noraqiu · 版权归作者与 curl 所有

同类报告

Account takeover via leaked session cookieHackerOne · 2019-12-03 · $20,000h1-202 leaderboard photo discloses local wifi passwordHackerOne · 2018-03-25HackerOne Code sends live password-reset tokens to Segment in automatic page eventsHackerOne · 2026-09-24 · $200Authentication Token Theft via Open Redirect in Callback URL Parameterlemlist · 2025-11-14Weak/Auto Fill PasswordMTN Group · 2022-09-03HackerOne Code: a live password reset token reaches Datadog RUM, and the same session records the account it unlocksHackerOne · 2026-10-08 · $200