POJIA破甲
地图 / CVE-2025-4947: QUIC certificate check skip with wolfSSL

CVE-2025-4947: QUIC certificate check skip with wolfSSL

密码学缺陷 / Improper Validation of Certificate with Host Mismatch / #3150884

厂商
curl
严重程度
低危
赏金
—
弱点
Improper Validation of Certificate with Host Mismatch
研究员
@kurohiro
披露日期
2025-05-28
资产
https://github.com/curl/curl
CVE
CVE-2025-4947

该报告还没有中文解读。

原文摘录

摘自原文(1821 字符中的一小部分)
Summary: When using WolfSSL as the TLS backend, there is an issue where the CN or SAN in the certificate is not verified when connecting to an IP address over HTTP/3.
原文中的代码
#elif defined(USE_WOLFSSL)
  (void)data;
  if(conn_config->verifyhost) {
    if(peer->sni) {
      WOLFSSL_X509* cert = wolfSSL_get_peer_certificate(ctx->wssl.ssl);
      if(wolfSSL_X509_check_host(cert, peer->sni, strlen(peer->sni), 0, NULL)
            == WOLFSSL_FAILURE) {
        result = …

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

时间线

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

同类报告

mbedTLS / wolfSSL / rustls backends silently skip hostname verification when CURLOPT_SSL_VERIFYPEER=0curl · 2026-06-26CVE-2025-15079: libssh global knownhost overridecurl · 2026-01-07CVE-2024-2466: TLS certificate check bypass with mbedTLScurl · 2024-03-27wolfSSL backend disables hostname verification when CURLOPT_SSL_VERIFYPEER is 0curl · 2026-08-24SSH (SCP/SFTP) host-key verification is skipped on connection reuse — a pinned/known_hosts transfer silently reuses a previously-unverified connectioncurl · 2026-10-20CVE-2026-87865: knownhost callback mismatches key as missingcurl · 2026-10-14