1. Archivio CVE
  2. 2011
  3. CVE-2011-1324

CVE-2011-1324

5.8 Gravità media CVSS v2.0 · fonte NVD AV:N/AC:M/Au:N/C:N/I:P/A:P 5.8 – Media

Descrizione

Multiple cross-site request forgery (CSRF) vulnerabilities in the management screen on Buffalo WHR, WZR2, WZR, WER, and BBR series routers with firmware 1.x; BHR-4RV and FS-G54 routers with firmware 2.x; and AS-100 routers allow remote attackers to hijack the authentication of administrators for requests that modify settings, as demonstrated by changing the login password.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
buffalotech as-100 tutte –
buffalotech bbr-4hg tutte –
buffalotech bbr-4hg firmware 1.02 –
buffalotech bbr-4hg firmware 1.04 –
buffalotech bbr-4hg firmware 1.04 beta –
buffalotech bbr-4hg firmware 1.10 –
buffalotech bbr-4hg firmware 1.10 beta –
buffalotech bbr-4hg firmware 1.11 beta –
buffalotech bbr-4hg firmware 1.12 –
buffalotech bbr-4hg firmware 1.20 –
buffalotech bbr-4hg firmware 1.20 beta –
buffalotech bbr-4hg firmware 1.30 –
buffalotech bbr-4hg firmware 1.30 beta –
buffalotech bbr-4hg firmware 1.31 –
buffalotech bbr-4hg firmware 1.32 –
buffalotech bbr-4hg firmware 1.32 beta –
buffalotech bbr-4hg firmware 1.33 beta –
buffalotech bbr-4mg tutte –
buffalotech bbr-4mg firmware 1.00 –
buffalotech bbr-4mg firmware 1.01 beta –
buffalotech bbr-4mg firmware 1.03 –
buffalotech bbr-4mg firmware 1.04 –
buffalotech bbr-4mg firmware 1.04 beta –
buffalotech bbr-4mg firmware 1.10 –
buffalotech bbr-4mg firmware 1.10 beta –
buffalotech bbr-4mg firmware 1.11 beta –
buffalotech bbr-4mg firmware 1.12 –
buffalotech bbr-4mg firmware 1.20 –
buffalotech bbr-4mg firmware 1.20 beta –
buffalotech bbr-4mg firmware 1.30 –
buffalotech bbr-4mg firmware 1.30 beta –
buffalotech bbr-4mg firmware 1.31 –
buffalotech bbr-4mg firmware 1.32 –
buffalotech bbr-4mg firmware 1.32 beta –
buffalotech bbr-4mg firmware 1.33 –
buffalotech bbr-4mg firmware 1.33 beta –
buffalotech bhr-4rv tutte –
buffalotech bhr-4rv firmware 2.31 –
buffalotech bhr-4rv firmware 2.32 prebeta –
buffalotech bhr-4rv firmware 2.33 prebeta –
buffalotech bhr-4rv firmware 2.42 –
buffalotech bhr-4rv firmware 2.46 –
buffalotech bhr-4rv firmware 2.48 –
buffalotech fs-g54 tutte –
buffalotech fs-g54 firmware 2.07 –
buffalotech wer-a54g54 tutte –
buffalotech wer-a54g54 firmware 1.00 –
buffalotech wer-a54g54 firmware 1.01 beta –
buffalotech wer-a54g54 firmware 1.02 –
buffalotech wer-a54g54 firmware 1.03 –
buffalotech wer-a54g54 firmware 1.10 –
buffalotech wer-a54g54 firmware 1.12 –
buffalotech wer-a54g54 firmware 1.12 beta –
buffalotech wer-a54g54 firmware 1.13 –
buffalotech wer-ag54 tutte –
buffalotech wer-ag54 firmware 1.04 –
buffalotech wer-ag54 firmware 1.12 –
buffalotech wer-ag54 firmware 1.12 beta –
buffalotech wer-am54g54 tutte –
buffalotech wer-am54g54 firmware 1.11 –
buffalotech wer-am54g54 firmware 1.12 –
buffalotech wer-am54g54 firmware 1.12 beta –
buffalotech wer-am54g54 firmware 1.13 –
buffalotech wer-am54g54 firmware 1.14 –
buffalotech wer-amg54 tutte –
buffalotech wer-amg54 firmware 1.11 –
buffalotech wer-amg54 firmware 1.12 –
buffalotech wer-amg54 firmware 1.14 –
buffalotech whr-am54g54 tutte –
buffalotech whr-am54g54 firmware 1.30 –
buffalotech whr-am54g54 firmware 1.38 –
buffalotech whr-am54g54 firmware 1.40 –
buffalotech whr-am54g54 firmware 1.42 –
buffalotech whr-amg54 tutte –
buffalotech whr-amg54 firmware 1.31 –
buffalotech whr-amg54 firmware 1.38 –
buffalotech whr-amg54 firmware 1.40 –
buffalotech whr-amg54 firmware 1.42 –
buffalotech whr-ampg tutte –
buffalotech whr-ampg firmware 1.46 –
buffalotech whr-g tutte –
buffalotech whr-g firmware 1.46 –
buffalotech whr-g54s tutte –
buffalotech whr-g54s firmware 1.20 –
buffalotech whr-g54s firmware 1.21 –
buffalotech whr-g54s firmware 1.23 –
buffalotech whr-g54s firmware 1.38 –
buffalotech whr-g54s firmware 1.40 –
buffalotech whr-g54s firmware 1.42 –
buffalotech whr-hp-ampg tutte –
buffalotech whr-hp-ampg firmware 1.32 –
buffalotech whr-hp-g tutte –
buffalotech whr-hp-g firmware 1.46 –
buffalotech whr-hp-g54 tutte –
buffalotech whr-hp-g54 firmware 1.20 –
buffalotech whr-hp-g54 firmware 1.21 –
buffalotech whr-hp-g54 firmware 1.23 –
buffalotech whr-hp-g54 firmware 1.38 –
buffalotech whr-hp-g54 firmware 1.40 –
buffalotech whr-hp-g54 firmware 1.42 –

Mostrate 100 configurazioni su 118. L'elenco completo è su NVD.

Tipo di vulnerabilità

CWE-352 Cross-Site Request Forgery (CSRF)

L’applicazione web non verifica, o non può verificare, che una richiesta sia stata inviata intenzionalmente dall’utente: un sito di terzi può quindi far eseguire azioni a suo nome.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità, Non ripudio, Controllo degli accessi Ottenere privilegi o assumere un’altra identità, Aggirare i meccanismi di protezione, Leggere i dati dell’applicazione, Modificare i dati dell’applicazione, Interruzione del servizio: arresto o riavvio
Le conseguenze dipendono dalla funzione vulnerabile al CSRF. Un attaccante può indurre l’utente a inviare involontariamente una richiesta al server web (tramite un link, il caricamento di un’immagine, una XmlHttpRequest…), che viene trattata come autentica: di fatto compie qualsiasi operazione al posto della vittima, con esposizione di dati, esecuzione di codice non prevista e così via. Se la vittima è un amministratore, le conseguenze possono arrivare al controllo completo dell’applicazione web: cancellare o rubare dati, disinstallare il prodotto o usarlo per attaccare tutti i suoi utenti. Poiché l’attaccante agisce con l’identità della vittima, la portata del CSRF è limitata solo dai privilegi di quest’ultima.

Come si previene

Architettura e progettazione · Librerie o framework Usa una libreria o un framework collaudato che non permetta questo tipo di errore o che renda più facile evitarlo. Per esempio, usa pacchetti anti-CSRF come OWASP CSRFGuard, oppure il controllo di gestione delle sessioni di ESAPI, che include un componente contro il CSRF.
Sviluppo Assicurati che l’applicazione sia priva di problemi di Cross-Site Scripting (CWE-79): la maggior parte delle difese contro il CSRF si aggira con uno script controllato dall’attaccante.
Architettura e progettazione Genera un nonce univoco per ogni modulo, inseriscilo nel modulo e verificalo alla ricezione. Assicurati che il nonce non sia prevedibile (CWE-330).
Architettura e progettazione Individua le operazioni particolarmente pericolose e, quando l’utente ne esegue una, chiedi una conferma separata per essere certi che sia davvero intenzionale.
Architettura e progettazione Usa il metodo del «double-submit cookie» descritto da Felten e Zeller: quando l’utente visita il sito, il sito genera un valore pseudocasuale e lo imposta come cookie; ogni invio di modulo deve contenere quel valore sia come campo del modulo sia come cookie, e una richiesta POST è valida solo se i due valori coincidono. Per la same-origin policy un attaccante non può leggere né modificare il cookie, quindi per inviare un modulo al posto dell’utente dovrebbe indovinare il valore: se è crittograficamente robusto, è praticamente impossibile. La tecnica richiede JavaScript e può non funzionare nei browser in cui è disattivato.
Architettura e progettazione Non usare il metodo GET per richieste che modificano lo stato dell’applicazione.
Sviluppo Controlla l’intestazione HTTP Referer per verificare che la richiesta provenga da una pagina prevista. Può bloccare usi legittimi, perché utenti o proxy possono disattivare l’invio del Referer per motivi di privacy.

Tutte le 9.811 CVE di tipo CWE-352, con andamento e prevenzione

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