Descrizione
Dashy is a self-hostable personal dashboard. Prior to 4.0.8, Dashy deployments using OIDC can allow unauthenticated users or non-admin authenticated users to write changes to the main config.yaml through the config-saving functionality despite configured permissions, allowing unauthorized modification of dashboard configuration and potential service disruption. This issue is fixed in version 4.0.8.
Tipo di vulnerabilità
CWE-15
External Control of System or Configuration Setting
One or more system settings or configuration elements can be externally controlled by a user.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Dipende dal contesto |
Come si previene
Architettura e progettazione · Separazione dei privilegi
Suddividi il sistema in compartimenti, con aree sicure i cui confini di fiducia siano tracciati senza ambiguità. Non lasciare uscire i dati sensibili da questi confini e presta sempre attenzione quando interagisci con un compartimento esterno all’area sicura. La suddivisione va prevista già in fase di progettazione e deve favorire la separazione dei privilegi; per decidere quando usare i privilegi e quando rinunciarvi, segui il principio del privilegio minimo.
Sviluppo · Architettura e progettazione
Because setting manipulation covers a diverse set of functions, any attempt at illustrating it will inevitably be incomplete. Rather than searching for a tight-knit relationship between the functions addressed in the setting manipulation category, take a step back and consider the sorts of system values that an attacker should not be allowed to control.
Sviluppo · Architettura e progettazione
In general, do not allow user-provided or otherwise untrusted data to control sensitive values. The leverage that an attacker gains by controlling these values is not always immediately obvious, but do not underestimate the creativity of the attacker.
Tutte le 102 CVE di tipo CWE-15, con andamento e prevenzione