Descrizione
Cachet is an open source status page system. Prior to version 2.5.1, authenticated users, regardless of their privileges (User or Admin), can leak the value of any configuration entry of the dotenv file, e.g. the application secret (`APP_KEY`) and various passwords (email, database, etc). This issue was addressed in version 2.5.1 by improving `UpdateConfigCommandHandler` and preventing the use of nested variables in the resulting dotenv configuration file. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.
Tipo di vulnerabilità
CWE-75
Failure to Sanitize Special Elements into a Different Plane
The product does not adequately filter user-controlled input for special elements with control implications.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Riservatezza, Disponibilità |
Modificare i dati dell’applicazione, Eseguire codice o comandi non autorizzati |
Come si previene
Requisiti
Programming languages and supporting technologies might be chosen which are not subject to these issues.
Sviluppo
Utilize an appropriate mix of allowlist and denylist parsing to filter special element syntax from all input.
Tutte le 24 CVE di tipo CWE-75, con andamento e prevenzione