Descrizione
The template upload API endpoint accepted requests from different domain when sent in conjunction with ARP spoofing + man in the middle (MiTM) attack, resulting in a CSRF attack. The required attack vector is complex, requiring a scenario with client certificate authentication, same subnet access, and injecting malicious code into an unprotected (plaintext HTTP) website which the targeted user later visits, but the possible damage warranted a Severe severity level. Mitigation: The fix to apply Cross-Origin Resource Sharing (CORS) policy request filtering was applied on the Apache NiFi 1.8.0 release. Users running a prior 1.x release should upgrade to the appropriate release.
Tipo di vulnerabilità
CWE-319
Trasmissione in chiaro di informazioni sensibili
Il prodotto trasmette dati sensibili o critici per la sicurezza senza cifrarli, su un canale che può essere intercettato.
Impatto sui sistemi
| Ambito | Impatto |
| Integrità, Riservatezza |
Leggere i dati dell’applicazione, Modificare file o cartelle |
| Integrità, Riservatezza |
Leggere i dati dell’applicazione, Modificare file o cartelle, Altro |
Come si previene
Architettura e progettazione
Before transmitting, encrypt the data using reliable, confidentiality-protecting cryptographic protocols.
Sviluppo
When using web applications with SSL, use SSL for the entire session from login to logout, not just for the initial login page.
Sviluppo
When designing hardware platforms, ensure that approved encryption algorithms (such as those recommended by NIST) protect paths from security critical data to trusted user applications.
Test
Usa strumenti e tecniche che richiedono un’analisi manuale, come i penetration test, la modellazione delle minacce e strumenti interattivi che permettono a chi testa di registrare e modificare una sessione attiva. Possono essere più efficaci delle tecniche solo automatiche, soprattutto per gli errori legati alla progettazione e alle regole di business.
Esercizio
Configure servers to use encrypted channels for communication, which may include SSL or other secure protocols.
Tutte le 937 CVE di tipo CWE-319, con andamento e prevenzione