Descrizione
Spring Security, versions 4.2.x up to 4.2.12, and older unsupported versions support plain text passwords using PlaintextPasswordEncoder. If an application using an affected version of Spring Security is leveraging PlaintextPasswordEncoder and a user has a null encoded password, a malicious user (or attacker) can authenticate using a password of "null".
Tipo di vulnerabilità
CWE-522
Credenziali protette in modo insufficiente
Il prodotto trasmette o conserva credenziali di autenticazione con un metodo insicuro, che ne permette l’intercettazione o il recupero da parte di terzi.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Ottenere privilegi o assumere un’altra identità |
Come si previene
Architettura e progettazione
Use an appropriate security mechanism to protect the credentials.
Architettura e progettazione
Make appropriate use of cryptography to protect the credentials.
Sviluppo
Use industry standards to protect the credentials (e.g. LDAP, keystore, etc.).
Tutte le 1.440 CVE di tipo CWE-522, con andamento e prevenzione