Descrizione
When Keycloak is started with `--features-disabled=account,account-api`, the Account REST API is only partially disabled. Five endpoints under the versioned path `/account/v1alpha1` remain fully functional — including both read and write operations — because they lack the `checkAccountApiEnabled()` gate that correctly blocks four other endpoints in the same REST service class. The user needs to have permissions to use the API.
Tipo di vulnerabilità
CWE-425
Direct Request
The web application does not adequately enforce appropriate authorization on all restricted URLs, scripts, or files.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità, Disponibilità, Controllo degli accessi |
Leggere i dati dell’applicazione, Modificare i dati dell’applicazione, Eseguire codice o comandi non autorizzati, Ottenere privilegi o assumere un’altra identità |
Come si previene
Architettura e progettazione · Esercizio
Apply appropriate access control authorizations for each access to all restricted URLs, scripts or files.
Architettura e progettazione
Consider using MVC based frameworks such as Struts.
Tutte le 242 CVE di tipo CWE-425, con andamento e prevenzione