1. Archivio CVE
  2. 2023
  3. CVE-2023-31996

CVE-2023-31996

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

Descrizione

Hanwha IP Camera ANE-L7012R 1.41.01 is vulnerable to Command Injection due to improper sanitization of special characters for the NAS storage test function.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
hanwhavision ane-l6012r firmware < 1.41.03 –
hanwhavision ane-l7012r firmware < 1.41.03 –
hanwhavision ano-l6012r firmware < 1.41.03 –
hanwhavision ano-l6022r firmware < 1.41.03 –
hanwhavision ano-l6082r firmware < 1.41.03 –
hanwhavision ano-l7012r firmware < 1.41.03 –
hanwhavision ano-l7022r firmware < 1.41.03 –
hanwhavision ano-l7082r firmware < 1.41.03 –
hanwhavision anv-l6012r firmware < 1.41.03 –
hanwhavision anv-l6023r firmware < 1.41.03 –
hanwhavision anv-l6082r firmware < 1.41.03 –
hanwhavision anv-l7012r firmware < 1.41.03 –
hanwhavision anv-l7082r firmware < 1.41.03 –
hanwhavision pnm-12082rvd firmware < 2.22.00 –
hanwhavision pnm-7002vd firmware < 2.22.00 –
hanwhavision pnm-7082rvd firmware < 2.22.00 –
hanwhavision pnm-8082vt firmware < 2.22.00 –
hanwhavision pnm-9000qb firmware < 2.22.00 –
hanwhavision pnm-9000vd firmware < 2.22.00 –
hanwhavision pnm-9002vq firmware < 2.22.00 –
hanwhavision pnm-9022v firmware < 2.22.00 –
hanwhavision pnm-9031rv firmware < 2.22.00 –
hanwhavision pnm-9084qz1 firmware < 2.22.00 –
hanwhavision pnm-9084rqz firmware < 2.22.00 –
hanwhavision pnm-9084rqz1 firmware < 2.22.00 –
hanwhavision pnm-9085rqz firmware < 2.22.00 –
hanwhavision pnm-9085rqz1 firmware < 2.22.00 –
hanwhavision pnm-9322vqp firmware < 2.22.00 –
hanwhavision pnm-c12083rvd firmware < 2.22.00 –
hanwhavision pnm-c7083rvd firmware < 2.22.00 –
hanwhavision pnm-c9022rv firmware < 2.22.00 –
hanwhavision qnd-6010r firmware < 1.41.14 –
hanwhavision qnd-6011 firmware < 1.41.14 –
hanwhavision qnd-6012r firmware < 1.41.14 –
hanwhavision qnd-6012r1 firmware < 1.41.14 –
hanwhavision qnd-6020r firmware < 1.41.14 –
hanwhavision qnd-6021 firmware < 1.41.14 –
hanwhavision qnd-6022r firmware < 1.41.14 –
hanwhavision qnd-6030r firmware < 1.41.14 –
hanwhavision qnd-6032r firmware < 1.41.14 –
hanwhavision qnd-6070r firmware < 1.41.14 –
hanwhavision qnd-6082r firmware < 1.41.14 –
hanwhavision qnd-6082r1 firmware < 1.41.14 –
hanwhavision qnd-7010r firmware < 1.41.05 –
hanwhavision qnd-70142r firmware < 1.41.05 –
hanwhavision qnd-7020r firmware < 1.41.05 –
hanwhavision qnd-7022r firmware < 1.41.05 –
hanwhavision qnd-7030r firmware < 1.41.05 –
hanwhavision qnd-7032r firmware < 1.41.05 –
hanwhavision qnd-7080r firmware < 1.41.05 –
hanwhavision qnd-7082r firmware < 1.41.05 –
hanwhavision qnd-8010r firmware < 1.41.05 –
hanwhavision qnd-8011 firmware < 1.41.05 –
hanwhavision qnd-8020r firmware < 1.41.05 –
hanwhavision qnd-8021 firmware < 1.41.05 –
hanwhavision qnd-8030r firmware < 1.41.05 –
hanwhavision qnd-8080r firmware < 1.41.05 –
hanwhavision qne-7080rvw firmware < 1.41.05 –
hanwhavision qne-7088rv firmware < 1.41.05 –
hanwhavision qne-8011r firmware < 1.41.05 –
hanwhavision qne-8021r firmware < 1.41.05 –
hanwhavision qnf-8010 firmware < 1.41.05 –
hanwhavision qnf-9010 firmware < 1.41.05 –
hanwhavision qno-6010r firmware < 1.41.14 –
hanwhavision qno-6012r firmware < 1.41.14 –
hanwhavision qno-6012r1 firmware < 1.41.14 –
hanwhavision qno-6020r firmware < 1.41.14 –
hanwhavision qno-6022r firmware < 1.41.14 –
hanwhavision qno-6022r1 firmware < 1.41.14 –
hanwhavision qno-6030r firmware < 1.41.14 –
hanwhavision qno-6032r firmware < 1.41.14 –
hanwhavision qno-6070r firmware < 1.41.14 –
hanwhavision qno-6082r firmware < 1.41.14 –
hanwhavision qno-6082r1 firmware < 1.41.14 –
hanwhavision qno-7012r firmware < 1.41.05 –
hanwhavision qno-7020r firmware < 1.41.05 –
hanwhavision qno-7022r firmware < 1.41.05 –
hanwhavision qno-7030r firmware < 1.41.05 –
hanwhavision qno-7032r firmware < 1.41.05 –
hanwhavision qno-7080r firmware < 1.41.05 –
hanwhavision qno-7082r firmware < 1.41.05 –
hanwhavision qno-8010r firmware < 1.41.05 –
hanwhavision qno-8020r firmware < 1.41.05 –
hanwhavision qno-8030r firmware < 1.41.05 –
hanwhavision qno-8080r firmware < 1.41.05 –
hanwhavision qnp-6230 firmware < 1.41.14 –
hanwhavision qnp-6230h firmware < 1.41.14 –
hanwhavision qnp-6230rh firmware < 1.41.14 –
hanwhavision qnp-6250 firmware < 1.41.14 –
hanwhavision qnp-6250h firmware < 1.41.14 –
hanwhavision qnp-6250r firmware < 1.41.14 –
hanwhavision qnp-6320 firmware < 1.41.14 –
hanwhavision qnp-6320h firmware < 1.41.14 –
hanwhavision qnp-6320hs firmware < 1.41.14 –
hanwhavision qnp-6320r firmware < 1.41.14 –
hanwhavision qnv-6010r firmware < 1.41.14 –
hanwhavision qnv-6012r firmware < 1.41.14 –
hanwhavision qnv-6012r1 firmware < 1.41.14 –
hanwhavision qnv-6020r firmware < 1.41.14 –
hanwhavision qnv-6022r firmware < 1.41.14 –

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

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.392 CVE di tipo CWE-77, con andamento e prevenzione

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