POJIA破甲
地图 / [High] MITM via Insecure CA Path Handling in cURL (--capath, CURLOPT_CAPATH) (CWE-494: Download of Code Without Integrity Check)

[High] MITM via Insecure CA Path Handling in cURL (--capath, CURLOPT_CAPATH) (CWE-494: Download of Code Without Integrity Check)

访问控制 / Reliance on Untrusted Inputs in a Security Decision / #3120969

厂商
curl
严重程度
中危
赏金
—
弱点
Reliance on Untrusted Inputs in a Security Decision
研究员
@oicus
披露日期
2025-06-30
资产
https://github.com/curl/curl
CVE
CVE-2022-32221

该报告还没有中文解读。

原文摘录

摘自原文(2219 字符中的一小部分)
Summary: The --capath option in cURL and CURLOPT_CAPATH in libcurl accept any directory path without validation. If an attacker provides a custom CA path containing a fake root certificate, cURL will trust malicious HTTPS endpoints signed with that fake root. This allows for full Man-in-the-Middle …

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

时间线

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

同类报告

Bypass Email Verification -- Able to Access Internal Gitlab Services that use Login with Gitlab and Perform Check on email domainGitLab · 2019-08-30Helpdesk Takeover at dmc.datastax.comDataStax · 2020-01-15verify-release rebuilds from the tarball under verification, enabling pre-check command execution and false OK for a malicious curl release tarballcurl · 2026-06-17Bypass security fixes by downgrading version of applicationMail.ru · — · $250[authdl.mail.ru] Spoofing IP addressMail.ru · —User registration using public domain email like gmail in place of professional email.Dropcontact · 2020-08-24