1. Archivio CVE
  2. 2018
  3. CVE-2018-17153

CVE-2018-17153

9.8 Gravità critica CVSS v3.0 · fonte NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 9.8 – Critica

Descrizione

It was discovered that the Western Digital My Cloud device before 2.30.196 is affected by an authentication bypass vulnerability. An unauthenticated attacker can exploit this vulnerability to authenticate as an admin user without needing to provide a password, thereby gaining full control of the device. (Whenever an admin logs into My Cloud, a server-side session is created that is bound to the user's IP address. After the session is created, it is possible to call authenticated CGI modules by sending the cookie username=admin in the HTTP request. The invoked CGI will check if a valid session is present and bound to the user's IP address.) It was found that it is possible for an unauthenticated attacker to create a valid session without a login. The network_mgr.cgi CGI module contains a command called "cgi_get_ipv6" that starts an admin session -- tied to the IP address of the user making the request -- if the additional parameter "flag" with the value "1" is provided. Subsequent invocation of commands that would normally require admin privileges now succeed if an attacker sets the username=admin cookie.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
western digital my cloud dl2100 < 2.30.196 –
western digital my cloud dl4100 firmware < 2.30.196 –
western digital my cloud ex2 firmware < 2.30.196 –
western digital my cloud ex2 ultra firmware < 2.30.196 –
western digital my cloud ex2100 firmware < 2.30.196 –
western digital my cloud ex4 firmware < 2.30.196 –
western digital my cloud ex4100 < 2.30.196 –
western digital my cloud mirror firmware < 2.30.196 –
western digital my cloud mirror gen 2 firmware < 2.30.196 –
western digital my cloud pr2100 firmware < 2.30.196 –
western digital my cloud pr4100 < 2.30.196 –
western digital my cloud wdbctl0020hwt firmware < 2.30.196 –

Tipo di vulnerabilità

CWE-287 Autenticazione impropria

Quando un soggetto dichiara una certa identità, il prodotto non verifica, o verifica in modo insufficiente, che la dichiarazione sia vera.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità, Controllo degli accessi Leggere i dati dell’applicazione, Ottenere privilegi o assumere un’altra identità, Eseguire codice o comandi non autorizzati
Questo errore può esporre risorse o funzioni a soggetti non previsti, fornendo all’attaccante informazioni sensibili o permettendogli perfino di eseguire codice arbitrario.

Come si previene

Architettura e progettazione · Librerie o framework Usa un framework o una libreria di autenticazione, come la funzione Authentication di OWASP ESAPI.

Tutte le 5.259 CVE di tipo CWE-287, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org