Descrizione
Next.js is a React framework for building full-stack web applications. From 15.4.0 to before 15.5.16 and 16.2.5, applications that rely on middleware to protect dynamic routes can be vulnerable to authorization bypass. In affected deployments, specially crafted query parameters can alter the dynamic route value seen by the page while leaving the visible path unchanged, which can allow protected content to be rendered without passing the expected middleware check. This vulnerability is fixed in 15.5.16 and 16.2.5.
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 624 CVE di tipo CWE-288, con andamento e prevenzione