Descrizione
yii2-starter-kit through 4.2.0 exposes the Yii debug and Gii modules to all IP addresses by setting allowedIPs to ['*'] in its default development configuration. Unauthenticated remote attackers can access the debug endpoint to read sensitive data including session cookies and database queries, or access the Gii endpoint to generate and write PHP files into the application directory.
Tipo di vulnerabilità
CWE-489
Active Debug Code
The product is released with debugging code still enabled or active.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità, Disponibilità, Controllo degli accessi, Altro |
Aggirare i meccanismi di protezione, Leggere i dati dell’applicazione, Ottenere privilegi o assumere un’altra identità, Dipende dal contesto |
Come si previene
Build e compilazione · Distribuzione
Remove debug code before deploying the application.
Tutte le 85 CVE di tipo CWE-489, con andamento e prevenzione