POJIA破甲
地图 / Connector/C TLS auth-switch bypass exposes plaintext password on hostname verification failure

Connector/C TLS auth-switch bypass exposes plaintext password on hostname verification failure

密码学缺陷 / 证书校验不当 / #3896617

厂商
MariaDB
严重程度
未评级
赏金
—
弱点
证书校验不当
研究员
@mschorm
披露日期
2026-11-04
资产
MariaDB Server & Connectors - Access control bypass
CVE
CVE-2026-107819

该报告还没有中文解读。

原文摘录

摘自原文(5843 字符中的一小部分)
A logic flaw in `run_plugin_auth()` allows a man-in-the-middle attacker to capture a client's plaintext database password during TLS-secured authentication. The auth-switch guard in `plugins/auth/my_auth.c` checks only `MARIADB_TLS_VERIFY_TRUST` (bit 0, value 1) before blocking non-hashing auth …
原文中的代码
if ((mysql->net.tls_verify_status & MARIADB_TLS_VERIFY_TRUST) &&
    !password_and_hashing(mysql, auth_plugin))

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

时间线

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

同类报告

[3DS][SSL] Improper certificate validation allows an attacker to perform MitM attacksNintendo · 2020-12-18SameSite restrictions are lifted, and SameSite:Strict cookie are being sent.Brave Software · 2025-10-15CVE-2025-5025: No QUIC certificate pinning with wolfSSLcurl · 2025-05-28CVE-2020-8286: Inferior OCSP verificationcurl · 2020-12-09CVE-2024-2466: TLS certificate check bypass with mbedTLS (reward request)Internet Bug Bounty · 2024-03-29 · $2,580CVE-2025-10966: missing SFTP host verification with wolfSSHcurl · 2025-11-05