Descrizione
TypiCMS Core before 17.0.46 contains an insufficiently protected credentials vulnerability that allows authenticated users with "read users" permission to view plaintext api_token values for all users, including superusers, via the GET /api/users endpoint. Attackers can steal a superuser's non-expiring, non-rotatable api_token from the JSON response and use it to gain full superuser API access, enabling creation and deletion of users, roles, and all content.
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.447 CVE di tipo CWE-522, con andamento e prevenzione