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

CVE-2018-0007

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

An unauthenticated network-based attacker able to send a maliciously crafted LLDP packet to the local segment, through a local segment broadcast, may be able to cause a Junos device to enter an improper boundary check condition allowing a memory corruption to occur, leading to a denial of service. Further crafted packets may be able to sustain the denial of service condition. Score: 6.5 MEDIUM (CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) Further, if the attacker is authenticated on the target device receiving and processing the malicious LLDP packet, while receiving the crafted packets, the attacker may be able to perform command or arbitrary code injection over the target device thereby elevating their permissions and privileges, and taking control of the device. Score: 7.8 HIGH (CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) An unauthenticated network-based attacker able to send a maliciously crafted LLDP packet to one or more local segments, via LLDP proxy / tunneling agents or other LLDP through Layer 3 deployments, through one or more local segment broadcasts, may be able to cause multiple Junos devices to enter an improper boundary check condition allowing a memory corruption to occur, leading to multiple distributed Denials of Services. These Denials of Services attacks may have cascading Denials of Services to adjacent connected devices, impacts network devices, servers, workstations, etc. Further crafted packets may be able to sustain these Denials of Services conditions. Score 6.8 MEDIUM (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H) Further, if the attacker is authenticated on one or more target devices receiving and processing these malicious LLDP packets, while receiving the crafted packets, the attacker may be able to perform command or arbitrary code injection over multiple target devices thereby elevating their permissions and privileges, and taking control multiple devices. Score: 7.8 HIGH (CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) Affected releases are Juniper Networks Junos OS: 12.1X46 versions prior to 12.1X46-D71; 12.3 versions prior to 12.3R12-S7; 12.3X48 versions prior to 12.3X48-D55; 14.1 versions prior to 14.1R8-S5, 14.1R9; 14.1X53 versions prior to 14.1X53-D46, 14.1X53-D50, 14.1X53-D107; 14.2 versions prior to 14.2R7-S9, 14.2R8; 15.1 versions prior to 15.1F2-S17, 15.1F5-S8, 15.1F6-S8, 15.1R5-S7, 15.1R7; 15.1X49 versions prior to 15.1X49-D90; 15.1X53 versions prior to 15.1X53-D65; 16.1 versions prior to 16.1R4-S6, 16.1R5; 16.1X65 versions prior to 16.1X65-D45; 16.2 versions prior to 16.2R2; 17.1 versions prior to 17.1R2. No other Juniper Networks products or platforms are affected by this issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos 12.1x46 –
juniper junos 12.1x46 d10 –
juniper junos 12.1x46 d15 –
juniper junos 12.1x46 d20 –
juniper junos 12.1x46 d25 –
juniper junos 12.1x46 d30 –
juniper junos 12.1x46 d35 –
juniper junos 12.1x46 d40 –
juniper junos 12.1x46 d45 –
juniper junos 12.1x46 d50 –
juniper junos 12.1x46 d55 –
juniper junos 12.1x46 d60 –
juniper junos 12.1x46 d65 –
juniper junos 12.3 –
juniper junos 12.3 r1 –
juniper junos 12.3 r10 –
juniper junos 12.3 r11 –
juniper junos 12.3 r12 –
juniper junos 12.3 r2 –
juniper junos 12.3 r3 –
juniper junos 12.3 r4 –
juniper junos 12.3 r5 –
juniper junos 12.3 r6 –
juniper junos 12.3 r7 –
juniper junos 12.3 r8 –
juniper junos 12.3 r9 –
juniper junos 12.3x48 d10 –
juniper junos 12.3x48 d15 –
juniper junos 12.3x48 d20 –
juniper junos 12.3x48 d25 –
juniper junos 12.3x48 d30 –
juniper junos 12.3x48 d35 –
juniper junos 12.3x48 d40 –
juniper junos 12.3x48 d45 –
juniper junos 12.3x48 d50 –
juniper junos 14.1 –
juniper junos 14.1 r1 –
juniper junos 14.1 r2 –
juniper junos 14.1 r3 –
juniper junos 14.1 r4 –
juniper junos 14.1 r5 –
juniper junos 14.1 r6 –
juniper junos 14.1 r7 –
juniper junos 14.1 r8 –
juniper junos 14.1 r9 –
juniper junos 14.1x53 –
juniper junos 14.1x53 d10 –
juniper junos 14.1x53 d15 –
juniper junos 14.1x53 d16 –
juniper junos 14.1x53 d25 –
juniper junos 14.1x53 d26 –
juniper junos 14.1x53 d27 –
juniper junos 14.1x53 d30 –
juniper junos 14.1x53 d35 –
juniper junos 14.1x53 d40 –
juniper junos 14.1x53 d45 –
juniper junos 14.2 r1 –
juniper junos 14.2 r2 –
juniper junos 14.2 r3 –
juniper junos 14.2 r4 –
juniper junos 14.2 r5 –
juniper junos 14.2 r6 –
juniper junos 14.2 r7 –
juniper junos 15.1 f2 –
juniper junos 15.1 f5 –
juniper junos 15.1 f6 –
juniper junos 15.1 f7 –
juniper junos 15.1 r7 –
juniper junos 15.1x49 d10 –
juniper junos 15.1x49 d20 –
juniper junos 15.1x49 d30 –
juniper junos 15.1x49 d35 –
juniper junos 15.1x49 d40 –
juniper junos 15.1x49 d45 –
juniper junos 15.1x49 d50 –
juniper junos 15.1x49 d55 –
juniper junos 15.1x49 d60 –
juniper junos 15.1x49 d65 –
juniper junos 15.1x49 d70 –
juniper junos 15.1x49 d75 –
juniper junos 15.1x49 d80 –
juniper junos 15.1x53 d20 –
juniper junos 15.1x53 d21 –
juniper junos 15.1x53 d210 –
juniper junos 15.1x53 d25 –
juniper junos 15.1x53 d30 –
juniper junos 15.1x53 d32 –
juniper junos 15.1x53 d33 –
juniper junos 15.1x53 d34 –
juniper junos 15.1x53 d60 –
juniper junos 15.1x53 d61 –
juniper junos 15.1x53 d62 –
juniper junos 15.1x53 d63 –
juniper junos 16.1 r1 –
juniper junos 16.1 r2 –
juniper junos 16.1 r3 –
juniper junos 16.1 r4 –
juniper junos 16.1x65 d30 –
juniper junos 16.1x65 d35 –
juniper junos 16.1x65 d40 –

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

Tutte le 793 vulnerabilità di Juniper Junos

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

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