Descrizione
An issue was discovered on OnePlus One, X, 2, 3, and 3T devices. Due to a lenient updater-script in the OnePlus OTA images, and the fact that both ROMs use the same OTA verification keys, attackers can install HydrogenOS over OxygenOS and vice versa, even on locked bootloaders, which allows for exploitation of vulnerabilities patched on one image but not on the other, in addition to expansion of the attack surface. This vulnerability can be exploited by Man-in-the-Middle (MiTM) attackers targeting the update process. This is possible because the update transaction does not occur over TLS (CVE-2016-10370). In addition, physical attackers can reboot the phone into recovery, and then use 'adb sideload' to push the OTA (on OnePlus 3/3T 'Secure Start-up' must be off).
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 932 CVE di tipo CWE-319, con andamento e prevenzione