Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-fmq9-qjxj-qpf7

Опубликовано: 07 сент. 2026
Источник: github
Github: Не прошло ревью
CVSS3: 5.9

Описание

libmariadb allowed cleartext password leakage on TLS hostname verification failure

Impact

In the Zero-Configuration SSL protocol, the MariaDB client must refuse sending clear-text password over unverified TLS connection. Because of a programming mistake, MariaDB Connector/C (libmariadb) could have switched to a clear-text password plugin if the TLS certificate was valid, but did not belong to the connecting host. This allowed an active man-in-the-middle attacker to replace the certificate to another valid certificate and request the client to switch to the clear-text password plugin. Only MariaDB Connector/C is affected, other MariaDB connectors are safe.

Workarounds

Any of the below can be used as mitigation

  • install properly signed certificates on the server
  • configure the client to accept only specific certificate fingerprints
  • delete mysql_clear_password.so and dialog.so files
  • use restricted-auth option to restrict authentication to safe subset of plugins

References

https://jira.mariadb.org/browse/CONC-846

Credits

Aisle Research RedHat

Пакеты

Наименование

mariadb

mariadb
Затронутые версииВерсия исправления

>=3.4.1, <=3.4.9

3.4.10

EPSS

Процентиль: 8%
0.0019
Низкий

5.9 Medium

CVSS3

Дефекты

CWE-297

Связанные уязвимости

CVSS3: 5.9
redhat
5 дней назад

MariaDB Connector/C is a C and C++ client library for connecting applications to MariaDB and MySQL databases. From 3.4.1 until 3.4.10, the MariaDB Connector/C libmariadb Zero-Configuration SSL authentication-switch logic checked certificate trust failure but did not reject a TLS hostname verification mismatch before selecting a non-hashing authentication plugin. An active man-in-the-middle attacker with a valid certificate for another hostname could request mysql_clear_password and obtain the database password inside the attacker-controlled TLS connection. Other MariaDB connectors are not affected. This issue is fixed in version 3.4.10.

CVSS3: 5.9
nvd
5 дней назад

MariaDB Connector/C is a C and C++ client library for connecting applications to MariaDB and MySQL databases. From 3.4.1 until 3.4.10, the MariaDB Connector/C libmariadb Zero-Configuration SSL authentication-switch logic checked certificate trust failure but did not reject a TLS hostname verification mismatch before selecting a non-hashing authentication plugin. An active man-in-the-middle attacker with a valid certificate for another hostname could request mysql_clear_password and obtain the database password inside the attacker-controlled TLS connection. Other MariaDB connectors are not affected. This issue is fixed in version 3.4.10.

CVSS3: 5.9
debian
5 дней назад

MariaDB Connector/C is a C and C++ client library for connecting appli ...

EPSS

Процентиль: 8%
0.0019
Низкий

5.9 Medium

CVSS3

Дефекты

CWE-297