Descrizione
actix-files before 0.7.4 contains an information disclosure vulnerability that allows remote unauthenticated attackers to read hidden files by requesting Windows 8.3 short-name aliases. Attackers can request short names like ENV~1 or GIT~1/config to bypass the leading-dot check in actix_files::Files and retrieve .env secrets and .git contents.
Tipo di vulnerabilità
CWE-58
Path Equivalence: Windows 8.3 Filename
The product contains a protection mechanism that restricts access to a long filename on a Windows operating system, but it does not properly restrict access to the equivalent short 8.3 filename.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza, Integrità |
Leggere file o cartelle, Modificare file o cartelle |
Come si previene
Configurazione del sistema
Disable Windows from supporting 8.3 filenames by editing the Windows registry. Preventing 8.3 filenames will not remove previously generated 8.3 filenames.
Tutte le 1 CVE di tipo CWE-58, con andamento e prevenzione