SSH/SFTP connection reuse can bypass SSH key identity after ssh_config_matches removal
身份认证 / Authentication Bypass by Primary Weakness / #3788506
该报告还没有中文解读。
原文摘录
摘自原文(5843 字符中的一小部分)
Summary: libcurl's SSH/SFTP connection reuse logic no longer binds a pooled SSH connection to the SSH key identity requested by the new transfer. After `ssh_config_matches` was removed, `url_match_proto_config()` again has no SSH-specific check for `CURLOPT_SSH_PUBLIC_KEYFILE` or …
原文中的代码
static bool url_match_proto_config(struct connectdata *conn,
struct url_conn_match *m)
{
if(!url_match_http_version(conn, m))
return FALSE;
#ifndef CURL_DISABLE_FTP
else if(get_protocol_family(m->needle->scheme) & PROTO_FAMILY_FTP) { …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @byteray_ltd · 版权归作者与 curl 所有