ignoring 'options' when doing connection reuse
业务逻辑 / Incorrect Comparison / #3646914
该报告还没有中文解读。
原文摘录
摘自原文(5517 字符中的一小部分)
libcurl contains a significant logic flaw in its connection pool matching mechanism. When a transfer specifies a required authentication policy—such as a specific SASL mechanism (e.g., `;AUTH=GSSAPI`) or a restricted set of SSH authentication types (`CURLOPT_SSH_AUTH_TYPES`)—libcurl fails to verify …
原文中的代码
static bool url_match_auth(struct connectdata *conn, struct url_conn_match *m) {
if(!(m->needle->scheme->flags & PROTOPT_CREDSPERREQUEST)) {
if(Curl_timestrcmp(m->needle->user, conn->user) ||
Curl_timestrcmp(m->needle->passwd, conn->passwd) || …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @spichanlio76 · 版权归作者与 curl 所有