Descrizione
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Coolify versions prior to and including v4.0.0-beta.420.8 have an information disclosure vulnerability in the `/api/v1/teams/{team_id}/members` and `/api/v1/teams/current/members` API endpoints allows authenticated team members to access a highly sensitive `email_change_code` from other users on the same team. This code is intended for a single-use email change verification and should be kept secret. Its exposure could enable a malicious actor to perform an unauthorized email address change on behalf of the victim. As of time of publication, no known patched versions exist.
Tipo di vulnerabilità
CWE-201
Informazioni sensibili inserite nei dati inviati
Il prodotto invia dati a un altro soggetto, ma una parte di quei dati contiene informazioni sensibili a cui il destinatario non dovrebbe avere accesso.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere file o cartelle, Leggere la memoria, Leggere i dati dell’applicazione |
Come si previene
Requisiti
Specify which data in the software should be regarded as sensitive. Consider which types of users should have access to which types of data.
Sviluppo
Ensure that any possibly sensitive data specified in the requirements is verified with designers to ensure that it is either a calculated risk or mitigated elsewhere. Any information that is not necessary to the functionality should be removed in order to lower both the overhead and the possibility of security sensitive data being sent.
Configurazione del sistema
Setup default error messages so that unexpected errors do not disclose sensitive information.
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.
Tutte le 520 CVE di tipo CWE-201, con andamento e prevenzione