Descrizione
go-chi chi before 5.5.0 contains an authentication bypass in middleware.SupressNotFound, which calls Match with the live routing context and leaves a mounted router's parameter and child suffix in place for dispatch against the outer router. Unauthenticated attackers can request a mounted path whose suffix matches an outer public route, skipping the mounted authentication middleware and retrieving tenant-scoped data when that outer handler trusts the retained mount parameter.
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 626 CVE di tipo CWE-288, con andamento e prevenzione