Descrizione
JeecgBoot before 3.9.6 fails to limit verification attempts for the 6-digit SMS code in the anonymous password-reset flow, allowing unauthenticated attackers to brute force reset codes. Attackers knowing a victim's username and phone number can submit unlimited smscode guesses to /sys/user/passwordChange within the 600-second window to reset passwords and take over administrator accounts.
Tipo di vulnerabilità
CWE-307
Tentativi di autenticazione eccessivi non limitati
Il prodotto non adotta misure sufficienti a impedire molti tentativi di accesso falliti in poco tempo, rendendo possibili gli attacchi a forza bruta sulle password.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Aggirare i meccanismi di protezione |
Come si previene
Architettura e progettazione
Common protection mechanisms include: Disconnecting the user after a small number of failed attempts Implementing a timeout Locking out a targeted account Requiring a computational task on the user's part.
Architettura e progettazione · Librerie o framework
Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator.
Tutte le 746 CVE di tipo CWE-307, con andamento e prevenzione