1. Archivio CVE
  2. 2021
  3. CVE-2021-20699

CVE-2021-20699

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

Descrizione

Sharp NEC Displays ((UN462A R1.300 and prior to it, UN462VA R1.300 and prior to it, UN492S R1.300 and prior to it, UN492VS R1.300 and prior to it, UN552A R1.300 and prior to it, UN552S R1.300 and prior to it, UN552VS R1.300 and prior to it, UN552 R1.300 and prior to it, UN552V R1.300 and prior to it, UX552S R1.300 and prior to it, UX552 R1.300 and prior to it, V864Q R2.000 and prior to it, C861Q R2.000 and prior to it, P754Q R2.000 and prior to it, V754Q R2.000 and prior to it, C751Q R2.000 and prior to it, V984Q R2.000 and prior to it, C981Q R2.000 and prior to it, P654Q R2.000 and prior to it, V654Q R2.000 and prior to it, C651Q R2.000 and prior to it, V554Q R2.000 and prior to it, P404 R3.200 and prior to it, P484 R3.200 and prior to it, P554 R3.200 and prior to it, V404 R3.200 and prior to it, V484 R3.200 and prior to it, V554 R3.200 and prior to it, V404-T R3.200 and prior to it, V484-T R3.200 and prior to it, V554-T R3.200 and prior to it, C501 R2.000 and prior to it, C551 R2.000 and prior to it, C431 R2.000 and prior to it) allows an attacker a buffer overflow and to execute remote code by sending long parameters that contains specific characters in http request.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
sharp-nec-displays c431 firmware <= r2.000 –
sharp-nec-displays c501 firmware <= r2.000 –
sharp-nec-displays c551 firmware <= r2.000 –
sharp-nec-displays c651q firmware <= r2.000 –
sharp-nec-displays c751q firmware <= r2.000 –
sharp-nec-displays c861q firmware <= r2.000 –
sharp-nec-displays c981q firmware <= r2.000 –
sharp-nec-displays p404 firmware <= r3.201 –
sharp-nec-displays p484 firmware <= r3.201 –
sharp-nec-displays p554 firmware <= r3.201 –
sharp-nec-displays p654q firmware <= r2.000 –
sharp-nec-displays p754q firmware <= r2.000 –
sharp-nec-displays un462a firmware <= r1.300 –
sharp-nec-displays un462va firmware <= r1.300 –
sharp-nec-displays un492s firmware <= r1.300 –
sharp-nec-displays un492vs firmware <= r1.300 –
sharp-nec-displays un552 firmware <= r1.300 –
sharp-nec-displays un552a firmware <= r1.300 –
sharp-nec-displays un552s firmware <= r1.300 –
sharp-nec-displays un552v firmware <= r1.300 –
sharp-nec-displays un552vs firmware <= r1.300 –
sharp-nec-displays ux552 firmware <= r1.300 –
sharp-nec-displays ux552s firmware <= r1.300 –
sharp-nec-displays v404 firmware <= r3.201 –
sharp-nec-displays v404-t firmware <= r3.201 –
sharp-nec-displays v484 firmware <= r3.201 –
sharp-nec-displays v484-t firmware <= r3.201 –
sharp-nec-displays v554 firmware <= r3.201 –
sharp-nec-displays v554-t firmware <= r3.201 –
sharp-nec-displays v554q firmware <= r2.000 –
sharp-nec-displays v654q firmware <= r2.000 –
sharp-nec-displays v754q firmware <= r2.000 –
sharp-nec-displays v864q firmware <= r2.000 –
sharp-nec-displays v984q firmware <= r2.000 –

Tipo di vulnerabilità

CWE-77 Command injection: elementi speciali non neutralizzati in un comando

Il prodotto costruisce in tutto o in parte un comando con dati provenienti dall’esterno, senza neutralizzare gli elementi speciali che possono modificarlo prima che venga eseguito.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione Se possibile, usa chiamate a librerie invece di processi esterni per ottenere la funzione desiderata.
Sviluppo If possible, ensure that all external commands called from the program are statically created.
Sviluppo · Validazione dell’input Considera ogni input come potenzialmente malevolo. Adotta una validazione per «elenco di valori ammessi»: accetta solo gli input che rispettano rigorosamente le specifiche e rifiuta, o trasforma in qualcosa di conforme, tutto il resto. Nel validare considera tutte le proprietà rilevanti: lunghezza, tipo, intervallo dei valori ammessi, input mancanti o in più, sintassi, coerenza tra campi collegati e rispetto delle regole di business (per esempio «barca» è sintatticamente valido perché contiene solo lettere, ma non lo è se il campo deve contenere solo colori come rosso o blu). Non limitarti a cercare input malevoli o malformati: quasi certamente ne sfuggirà qualcuno, soprattutto se l’ambiente del codice cambia, lasciando all’attaccante lo spazio per aggirare la validazione. Le liste di valori vietati restano utili per rilevare possibili attacchi o scartare subito gli input più malformati.
Esercizio Run time: Run time policy enforcement may be used in an allowlist fashion to prevent use of any non-sanctioned commands.
Configurazione del sistema Assign permissions that prevent the user from accessing/opening privileged files.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 3.396 CVE di tipo CWE-77, con andamento e prevenzione

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