Descrizione
MISP exposes critical infrastructure settings—specifically the Redis host addresses used by the core application, the ZeroMQ plugin, and the SimpleBackgroundJobs plugin—through its web UI and API to site-admin users. The background job workers trust raw Redis job payloads without additional validation. An attacker who obtains a hijacked site-admin session (for example, through a stored cross-site scripting vulnerability) can modify the Redis host settings to point at an attacker-controlled Redis server and then restart the workers. Once the workers connect to the attacker's Redis instance, the attacker can inject malicious job payloads that the workers execute, achieving arbitrary command execution as the worker account. Additionally, the download_attachments_on_load setting, which controls inline attachment rendering, was modifiable through the same interface, allowing a hijacked session to re-enable a feature that could facilitate further client-side attacks. The vulnerability requires site-admin privileges and a prior session-compromise mechanism; it does not require unauthenticated access. The impact is remote code execution in the context of the MISP worker process and potential data exfiltration through the attacker-controlled Redis connection.
Tipo di vulnerabilità
CWE-284
Controllo degli accessi improprio
Il prodotto non limita, o limita in modo errato, l’accesso a una risorsa da parte di soggetti non autorizzati.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Dipende dal contesto, Ottenere privilegi o assumere un’altra identità Quando un meccanismo di protezione non viene applicato o non funziona, un attaccante può compromettere la sicurezza del prodotto: ottenere privilegi, leggere informazioni sensibili, eseguire comandi, eludere i controlli e così via. |
Come si previene
Architettura e progettazione · Esercizio
Gestisci con molta attenzione l’assegnazione e l’uso dei privilegi, e definisci in modo esplicito le zone di fiducia del software.
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 7.877 CVE di tipo CWE-284, con andamento e prevenzione