Descrizione
Dockhand before 1.0.45 contains an authentication bypass in which the global auth hook skips authentication for any path ending in a static-asset extension such as .js, including /api/* routes, and the user-mutation handlers fail open for unauthenticated callers. Unauthenticated remote attackers can send a PUT request to /api/users/<id>.js to reset the admin's or any user's password and take over the account.
Tipo di vulnerabilità
CWE-288
Aggiramento dell’autenticazione tramite un percorso o canale alternativo
Il prodotto richiede l’autenticazione, ma offre un percorso o un canale alternativo che non la richiede.
Impatto sui sistemi
| Ambito | Impatto |
| Controllo degli accessi |
Aggirare i meccanismi di protezione |
Come si previene
Architettura e progettazione
Funnel all access through a single choke point to simplify how users can access a resource. For every access, perform a check to determine if the user has permissions to access the resource.
Tutte le 638 CVE di tipo CWE-288, con andamento e prevenzione