Descrizione
NortheBridge/luminalshine is a Sunshine-compatible game stream host for Moonlight. Prior to version 26.05.0-rc4, a latent gap exists on a default install, the file at `src/platform/windows/misc.cpp` lives at `C:\ProgramData\LuminalShine\config\apps.json` and is created by the `SYSTEM` service. Under Windows' default `C:\ProgramData` inheritance, that gives `BUILTIN\Users` only Read+Execute — not writable — so the canonical EoP doesn't actually trigger on a vanilla install. Version 26.05.0-rc4 contains a patch for the issue. As a workaround, use default condition DACLs for `ProgramData`.
Tipo di vulnerabilità
CWE-379
Creation of Temporary File in Directory with Insecure Permissions
The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere i dati dell’applicazione |
Come si previene
Requisiti
Many contemporary languages have functions which properly handle this condition. Older C temp file functions are especially susceptible.
Sviluppo
Try to store sensitive tempfiles in a directory which is not world readable -- i.e., per-user directories.
Sviluppo
Avoid using vulnerable temp file functions.
Tutte le 45 CVE di tipo CWE-379, con andamento e prevenzione