Descrizione
MariaDB Connector/R2DBC is a non-blocking MariaDB and MySQL client implemented in Java. Prior to 1.4.1, org.mariadb:r2dbc-mariadb does not gate clear-text password authentication plugins on transport encryption because the AuthenticationPlugin interface has no capability for a plugin to require a secure connection. A hostile or man-in-the-middle MariaDB server can send an AuthSwitchRequest naming mysql_clear_password or dialog (PAM) over a plain-TCP unencrypted connection, and AuthenticationFlow permits ClearPasswordPluginFlow or PamPluginFlow to return the user's password as cleartext bytes on the wire. The disclosed credentials can subsequently be used to authenticate directly to the database server. This issue is fixed in version 1.4.1.
Tipo di vulnerabilità
CWE-319
Trasmissione in chiaro di informazioni sensibili
Il prodotto trasmette dati sensibili o critici per la sicurezza senza cifrarli, su un canale che può essere intercettato.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Riservatezza |
Leggere i dati dell’applicazione, Modificare file o cartelle |
| Integrità, Riservatezza |
Leggere i dati dell’applicazione, Modificare file o cartelle, Altro |
Come si previene
Architettura e progettazione
Before transmitting, encrypt the data using reliable, confidentiality-protecting cryptographic protocols.
Sviluppo
When using web applications with SSL, use SSL for the entire session from login to logout, not just for the initial login page.
Sviluppo
When designing hardware platforms, ensure that approved encryption algorithms (such as those recommended by NIST) protect paths from security critical data to trusted user applications.
Test
Usa strumenti e tecniche che richiedono un’analisi manuale, come i penetration test, la modellazione delle minacce e strumenti interattivi che permettono a chi testa di registrare e modificare una sessione attiva. Possono essere più efficaci delle tecniche solo automatiche, soprattutto per gli errori legati alla progettazione e alle regole di business.
Esercizio
Configure servers to use encrypted channels for communication, which may include SSL or other secure protocols.
Tutte le 940 CVE di tipo CWE-319, con andamento e prevenzione