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

CVE-2021-44735

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

Embedded web server command injection vulnerability in Lexmark devices through 2021-12-07.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
lexmark b2236 firmware < mslsg.076.294 –
lexmark b2338 firmware < msngm.076.294 –
lexmark b2442 firmware < msngm.076.294 –
lexmark b2546 firmware < msngm.076.294 –
lexmark b2650 firmware < msngm.076.294 –
lexmark b2865 firmware < msngw.076.294 –
lexmark b3340 firmware < mslbd.076.294 –
lexmark b3442 firmware < mslbd.076.294 –
lexmark c2240 firmware < cstzj.076.294 –
lexmark c2325 firmware < csnzj.076.294 –
lexmark c2326 firmware < cslbn.076.294 –
lexmark c2425 firmware < csnzj.076.294 –
lexmark c2535 firmware < csnzj.076.294 –
lexmark c3224 firmware < cslbl.076.294 –
lexmark c3326 firmware < cslbl.076.294 –
lexmark c3426 firmware < cslbn.076.294 –
lexmark c4150 firmware < cstat.076.294 –
lexmark c6160 firmware < cstpp.076.294 –
lexmark c9235 firmware < cstmh.076.294 –
lexmark cs331 firmware < cslbl.076.294 –
lexmark cs421 firmware < csnzj.076.294 –
lexmark cs431 firmware < cslbn.076.294 –
lexmark cs439 firmware < cslbn.076.294 –
lexmark cs521 firmware < csnzj.076.294 –
lexmark cs622 firmware < cstzj.076.294 –
lexmark cs720 firmware < cstat.076.294 –
lexmark cs725 firmware < cstat.076.294 –
lexmark cs727 firmware < cstat.076.294 –
lexmark cs728 firmware < cstat.076.294 –
lexmark cs820 firmware < cstpp.076.294 –
lexmark cs827 firmware < cstpp.076.294 –
lexmark cs827 firmware < cxtpp.076.294 –
lexmark cs921 firmware < cstmh.076.294 –
lexmark cs923 firmware < cstmh.076.294 –
lexmark cs927 firmware < cstmh.076.294 –
lexmark cx331 firmware < cxlbl.076.294 –
lexmark cx421 firmware < cxnzj.076.294 –
lexmark cx431 firmware < cxlbn.076.294 –
lexmark cx522 firmware < cxtzj.076.294 –
lexmark cx622 firmware < cxtzj.076.294 –
lexmark cx625 firmware < cxtzj.076.294 –
lexmark cx725 firmware < cxtat.076.294 –
lexmark cx727 firmware < cxtat.076.294 –
lexmark cx820 firmware < cxtpp.076.294 –
lexmark cx825 firmware < cxtpp.076.294 –
lexmark cx860 firmware < cxtpp.076.294 –
lexmark cx920 firmware < cxtmh.076.294 –
lexmark cx921 firmware < cxtmh.076.294 –
lexmark cx922 firmware < cxtmh.076.294 –
lexmark cx923 firmware < cxtmh.076.294 –
lexmark cx924 firmware < cxtmh.076.294 –
lexmark m1242 firmware < msngm.076.294 –
lexmark m1246 firmware < msngm.076.294 –
lexmark m1342 firmware < mslbd.076.294 –
lexmark m3250 firmware < mstgm.076.294 –
lexmark m5255 firmware < mstgw.076.294 –
lexmark m5270 firmware < mstgw.076.294 –
lexmark mb2236 firmware < mxlsg.076.294 –
lexmark mb2338 firmware < mxngm.076.294 –
lexmark mb2442 firmware < mxtgm.076.294 –
lexmark mb2546 firmware < mxtgm.076.294 –
lexmark mb2650 firmware < mxtgm.076.294 –
lexmark mb2770 firmware < mxtgw.076.294 –
lexmark mb3442 firmware < mxlbd.076.294 –
lexmark mc2325 firmware < cxnzj.076.294 –
lexmark mc2425 firmware < cxnzj.076.294 –
lexmark mc2535 firmware < cxtzj.076.294 –
lexmark mc2640 firmware < cxtzj.076.294 –
lexmark mc3224 firmware < cxlbl.076.294 –
lexmark mc3326 firmware < cxlbl.076.294 –
lexmark mc3426 firmware < cxlbn.076.294 –
lexmark ms321 firmware < msngm.076.294 –
lexmark ms331 firmware < mslbd.076.294 –
lexmark ms421 firmware < msngm.076.294 –
lexmark ms431 firmware < mslbd.076.294 –
lexmark ms521 firmware < msngm.076.294 –
lexmark ms621 firmware < msngm.076.294 –
lexmark ms622 firmware < mstgm.076.294 –
lexmark ms725 firmware < msngw.076.294 –
lexmark ms821 firmware < msngw.076.294 –
lexmark ms822 firmware < mstgw.076.294 –
lexmark ms823 firmware < msngw.076.294 –
lexmark ms825 firmware < msngw.076.294 –
lexmark ms826 firmware < mstgw.076.294 –
lexmark mx321 firmware < mxngm.076.294 –
lexmark mx331 firmware < mxlbd.076.294 –
lexmark mx421 firmware < mxtgm.076.294 –
lexmark mx431 firmware < mxlbd.076.294 –
lexmark mx521 firmware < mxtgm.076.294 –
lexmark mx522 firmware < mxtgm.076.294 –
lexmark mx622 firmware < mxtgm.076.294 –
lexmark mx721 firmware < mxtgw.076.294 –
lexmark mx722 firmware < mxtgw.076.294 –
lexmark mx822 firmware < mxtgw.076.294 –
lexmark mx826 firmware < mxtgw.076.294 –
lexmark xc2235 firmware < cxtzj.076.294 –
lexmark xc2326 firmware < cxlbn.076.294 –
lexmark xc4140 firmware < cxtat.076.294 –
lexmark xc4143 firmware < cxtat.076.294 –
lexmark xc4150 firmware < cxtat.076.294 –

Mostrate 100 configurazioni su 119. 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