Descrizione
A flaw was found in Keycloak. When an administrator revokes tokens by setting a not-before revocation cutoff, Keycloak fails to enforce this boundary when processing User-Managed Access (UMA) grant requests using ID token claims. An authenticated remote user with an active session can submit a previously revoked ID token to receive a fresh Requesting Party Token (RPT). This flaw allows an attacker to bypass token revocation and retain unauthorized access to protected resources.
Tipo di vulnerabilità
CWE-324
Use of a Key Past its Expiration Date
The product uses a cryptographic key past its expiration date.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità |
Come si previene
Architettura e progettazione
Adequate consideration should be put into the user interface in order to notify users previous to the key's expiration, to explain the importance of new key generation and to walk users through the process as painlessly as possible.
Sviluppo
Replace keys within a period of time proportional to their strength.
Tutte le 18 CVE di tipo CWE-324, con andamento e prevenzione