1. Archivio CVE
  2. 2019
  3. CVE-2019-0036

CVE-2019-0036

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

When configuring a stateless firewall filter in Junos OS, terms named using the format "internal-n" (e.g. "internal-1", "internal-2", etc.) are silently ignored. No warning is issued during configuration, and the config is committed without error, but the filter criteria will match all packets leading to unexpected results. Affected releases are Juniper Networks Junos OS: All versions prior to and including 12.3; 14.1X53 versions prior to 14.1X53-D130, 14.1X53-D49; 15.1 versions prior to 15.1F6-S12, 15.1R7-S4; 15.1X49 versions prior to 15.1X49-D161, 15.1X49-D170; 15.1X53 versions prior to 15.1X53-D236, 15.1X53-D496, 15.1X53-D69; 16.1 versions prior to 16.1R7-S4, 16.1R7-S5; 16.2 versions prior to 16.2R2-S9; 17.1 versions prior to 17.1R3; 17.2 versions prior to 17.2R1-S8, 17.2R3-S1; 17.3 versions prior to 17.3R3-S4; 17.4 versions prior to 17.4R1-S7, 17.4R2-S3; 18.1 versions prior to 18.1R2-S4, 18.1R3-S4; 18.2 versions prior to 18.2R1-S5, 18.2R2-S1; 18.2X75 versions prior to 18.2X75-D40; 18.3 versions prior to 18.3R1-S3; 18.4 versions prior to 18.4R1-S1, 18.4R1-S2.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos 17.3 r2 –
juniper junos 17.3 r3 –
juniper junos 17.3 r3-s1 –
juniper junos 17.3 r3-s2 –
juniper junos 17.3 r3-s3 –
juniper junos 17.2 r1 –
juniper junos 17.2 r1-s7 –
juniper junos 17.2 r2 –
juniper junos 17.2 r3 –
juniper junos 17.4 r1 –
juniper junos 17.4 r2 –
juniper junos 18.1 r1 –
juniper junos 18.1 r2 –
juniper junos 18.2 r1 –
juniper junos 18.2 r1-s3 –
juniper junos 18.2 r2-s1 –
juniper junos 18.2 r2-s2 –
juniper junos 18.3 r1-s1 –
juniper junos 18.2x75 –
juniper junos <= 12.3 –
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 d42 –
juniper junos 14.1x53 d43 –
juniper junos 14.1x53 d44 –
juniper junos 14.1x53 d45 –
juniper junos 14.1x53 d46 –
juniper junos 14.1x53 d47 –
juniper junos 14.1x53 d48 –
juniper junos 18.4 r1 –
juniper junos 15.1 –
juniper junos 15.1 f1 –
juniper junos 15.1 f2 –
juniper junos 15.1 f3 –
juniper junos 15.1 f4 –
juniper junos 15.1 f5 –
juniper junos 15.1 f6 –
juniper junos 15.1 r1 –
juniper junos 15.1 r2 –
juniper junos 15.1 r3 –
juniper junos 15.1 r4 –
juniper junos 15.1 r5 –
juniper junos 15.1 r6 –
juniper junos 15.1f6-s1 f6 –
juniper junos 15.1f6-s2 f6 –
juniper junos 15.1f6-s4 f6 –
juniper junos 15.1f6-s5 f6 –
juniper junos 15.1f6-s6 f6 –
juniper junos 15.1f6-s7 f6 –
juniper junos 15.1f6-s8 f6 –
juniper junos 15.1f6-s9 f6 –
juniper junos 15.1f6-s10 f6 –
juniper junos 15.1f6-s11 f6 –
juniper junos 15.1x49 d10 –
juniper junos 15.1x49 d100 –
juniper junos 15.1x49 d110 –
juniper junos 15.1x49 d120 –
juniper junos 15.1x49 d130 –
juniper junos 15.1x49 d150 –
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.1x49 d90 –
juniper junos 15.1x53 d10 –
juniper junos 15.1x53 d20 –
juniper junos 15.1x53 d21 –
juniper junos 15.1x53 d210 –
juniper junos 15.1x53 d230 –
juniper junos 15.1x53 d231 –
juniper junos 15.1x53 d232 –
juniper junos 15.1x53 d233 –
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 d40 –
juniper junos 15.1x53 d45 –
juniper junos 15.1x53 d495 –
juniper junos 15.1x53 d56 –
juniper junos 15.1x53 d60 –
juniper junos 15.1x53 d61 –
juniper junos 15.1x53 d62 –

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

Tutte le 793 vulnerabilità di Juniper Junos

Tipo di vulnerabilità

CWE-754 Controllo improprio di condizioni anomale o eccezionali

Il prodotto non controlla, o controlla in modo errato, condizioni anomale che non dovrebbero presentarsi spesso durante il normale funzionamento.

Impatto sui sistemi

AmbitoImpatto
Integrità, Disponibilità Interruzione del servizio: arresto o riavvio, Stato imprevisto

Come si previene

Requisiti · Scelta del linguaggio Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Choose languages with features such as exception handling that force the programmer to anticipate unusual conditions that may generate exceptions. Custom exceptions may need to be developed to handle unusual business-logic conditions. Be careful not to pass sensitive exceptions back to the user (CWE-209, CWE-248).
Sviluppo Check the results of all functions that return a value and verify that the value is expected.
Sviluppo If using exception handling, catch and throw specific exceptions instead of overly-general exceptions (CWE-396, CWE-397). Catch and handle exceptions as locally as possible so that exceptions do not propagate too far up the call stack (CWE-705). Avoid unchecked or uncaught exceptions where feasible (CWE-248).
Sviluppo Ensure that error messages only contain minimal details that are useful to the intended audience and no one else. The messages need to strike the balance between being too cryptic (which can confuse users) or being too detailed (which may reveal more than intended). The messages should not reveal the methods that were used to determine the error. Attackers can use detailed information to refine or optimize their original attack, thereby increasing their chances of success. If errors must be captured in some detail, record them in log messages, but consider what could occur if the log messages can be viewed by attackers. Highly sensitive information such as passwords should never be saved to log files. Avoid inconsistent messaging that might accidentally tip off an attacker about internal state, such as whether a user account exists or not. Exposing additional information to a potential attacker in the context of an exceptional condition can help the attacker determine what attack vectors are most likely to succeed beyond DoS.
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.
Architettura e progettazione · Sviluppo If the program must fail, ensure that it fails gracefully (fails closed). There may be a temptation to simply let the program fail poorly in cases such as low memory conditions, but an attacker may be able to assert control before the software has fully exited. Alternately, an uncontrolled failure could cause cascading problems with other downstream components; for example, the program could send a signal to a downstream process so the process immediately knows that a problem has occurred and has a better chance of recovery.
Architettura e progettazione Use system limits, which should help to prevent resource exhaustion. However, the product should still handle low resource conditions since they may still occur.

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

Tutte le 647 CVE di tipo CWE-754, con andamento e prevenzione

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