POJIA破甲
地图 / CVE-2025-15224: libssh key passphrase bypass without agent set

CVE-2025-15224: libssh key passphrase bypass without agent set

业务逻辑 / Unlabeled / #3480925

厂商
curl
严重程度
低危
赏金
—
弱点
Unlabeled
研究员
@nyymi
披露日期
2026-01-07
资产
https://github.com/curl/curl
CVE
CVE-2025-15224

该报告还没有中文解读。

原文摘录

摘自原文(1893 字符中的一小部分)
Summary: libcurl libssh backend `CURLOPT_SSH_AUTH_TYPES` doesn't implement `CURLSSH_AUTH_AGENT` flag correctly. Rather if `CURLSSH_AUTH_PUBLICKEY` is set, the implementation acts as if `CURLSSH_AUTH_AGENT` is always implicitly defined, and thus no key passphrase is required for authentication.
原文中的代码
#include <curl/curl.h>
int main(void)
{
  CURL *curl = curl_easy_init();
  if(curl) {
    curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
    curl_easy_setopt(curl, CURLOPT_URL, "sftp://host.example/");
    curl_easy_setopt(curl, CURLOPT_SSH_AUTH_TYPES, CURLSSH_AUTH_PUBLICKEY); …

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

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @nyymi · 版权归作者与 curl 所有

同类报告

Golden techniques to bypass host validations in Android apps██████ · —Lack of Rate Limiting on Account Creation EndpointXVIDEOS · 2025-01-16 · $200SMAP bypassPlayStation · 2021-05-27Rate limit bypass on passport.acronis.work using X-Forwarded-For request headerAcronis · 2024-11-28Able to bypass authorization logic and gain more access then intendedGitHub · 2026-07-15Using special IPv4-mapped IPv6 addresses to bypass local IP banCloudflare Public Bug Bounty · 2023-01-24 · $7,500