Descrizione
better-auth versions before 1.6.11 fail to delete cached sessions when removing users via admin, anonymous, or SCIM endpoints when secondaryStorage is configured and storeSessionInDatabase is false. Attackers can reuse deleted user session tokens to maintain authentication for up to seven days after account deletion.
Tipo di vulnerabilità
CWE-459
Incomplete Cleanup
The product does not properly clean up and remove temporary or supporting resources after they have been used.
Impatto sui sistemi
| Ambito | Impatto |
| Altro, Riservatezza, Integrità |
Altro, Leggere i dati dell’applicazione, Modificare i dati dell’applicazione, Interruzione del servizio: esaurimento di risorse |
Come si previene
Architettura e progettazione · Sviluppo
Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed.
Tutte le 254 CVE di tipo CWE-459, con andamento e prevenzione