Descrizione
Vikunja before 2.6.0 continues to expose the raw TOTP shared secret after enrollment through the GET /api/v1/user/settings/totp and /api/v1/user/settings/totp/qrcode endpoints without re-authentication. Attackers with a valid access token can read the secret, import it into their own authenticator, and generate valid codes indefinitely to defeat the second factor and enable account takeover.
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.441 CVE di tipo CWE-522, con andamento e prevenzione