libcurl Digest/NTLM authentication ignores an explicit Authorization header
访问控制 / Incorrect Authorization / #3963330
该报告还没有中文解读。
原文摘录
摘自原文(10035 字符中的一小部分)
When an application sets an explicit `Authorization` header via `CURLOPT_HTTPHEADER` while libcurl also has credentials configured and HTTP Digest or NTLM authentication is selected/challenged, libcurl does not honor the application's header as a replacement — it sends its own internally generated …
原文中的代码
Authorization: Digest username="svc_account", realm="...", nonce="...", uri="...",
cnonce="...", nc=00000001, qop=auth, response="...", algorithm=MD5
Authorization: Bearer LOW_PRIV_TENANT_B_TOKEN
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @subadevan · 版权归作者与 curl 所有