1. Archivio CVE
  2. 2025
  3. CVE-2025-52989

CVE-2025-52989

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

Descrizione

An Improper Neutralization of Delimiters vulnerability in the UI of Juniper Networks Junos OS and Junos OS Evolved allows a local, authenticated attacker with high privileges to modify the system configuration. A user with limited configuration and commit permissions, using a specifically crafted annotate configuration command, can change any part of the device configuration. This issue affects:  Junos OS:  * all versions before 22.2R3-S7, * 22.4 versions before 22.4R3-S7, * 23.2 versions before 23.2R2-S4, * 23.4 versions before 23.4R2-S4, * 24.2 versions before 24.2R2-S1, * 24.4 versions before 24.4R1-S2, 24.4R2; Junos OS Evolved: * all versions before 22.4R3-S7-EVO, * 23.2-EVO versions before 23.2R2-S4-EVO, * 23.4-EVO versions before 23.4R2-S5-EVO,  * 24.2-EVO versions before 24.2R2-S1-EVO * 24.4-EVO versions before 24.4R2-EVO.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
juniper junos < 22.2 –
juniper junos 22.2 –
juniper junos 22.2 r1 –
juniper junos 22.2 r1-s1 –
juniper junos 22.2 r1-s2 –
juniper junos 22.2 r2 –
juniper junos 22.2 r2-s1 –
juniper junos 22.2 r2-s2 –
juniper junos 22.2 r3 –
juniper junos 22.2 r3-s1 –
juniper junos 22.2 r3-s2 –
juniper junos 22.2 r3-s3 –
juniper junos 22.2 r3-s4 –
juniper junos 22.2 r3-s5 –
juniper junos 22.2 r3-s6 –
juniper junos 22.4 –
juniper junos 22.4 r1 –
juniper junos 22.4 r1-s1 –
juniper junos 22.4 r1-s2 –
juniper junos 22.4 r2 –
juniper junos 22.4 r2-s1 –
juniper junos 22.4 r2-s2 –
juniper junos 22.4 r3 –
juniper junos 22.4 r3-s1 –
juniper junos 22.4 r3-s2 –
juniper junos 22.4 r3-s3 –
juniper junos 22.4 r3-s4 –
juniper junos 22.4 r3-s5 –
juniper junos 22.4 r3-s6 –
juniper junos 23.2 –
juniper junos 23.2 r1 –
juniper junos 23.2 r1-s1 –
juniper junos 23.2 r1-s2 –
juniper junos 23.2 r2 –
juniper junos 23.2 r2-s1 –
juniper junos 23.2 r2-s2 –
juniper junos 23.2 r2-s3 –
juniper junos 23.4 –
juniper junos 23.4 r1 –
juniper junos 23.4 r1-s1 –
juniper junos 23.4 r1-s2 –
juniper junos 23.4 r2 –
juniper junos 23.4 r2-s1 –
juniper junos 23.4 r2-s2 –
juniper junos 23.4 r2-s3 –
juniper junos 24.2 –
juniper junos 24.2 r1 –
juniper junos 24.2 r1-s1 –
juniper junos 24.2 r1-s2 –
juniper junos 24.2 r2 –
juniper junos 24.4 –
juniper junos 24.4 r1 –
juniper junos 24.4 r2 –
juniper junos os evolved 22.4 r3-s4 –
juniper junos os evolved 22.4 r3-s5 –
juniper junos os evolved 22.4 r3-s6 –
juniper junos os evolved 23.2 –
juniper junos os evolved 23.2 r1 –
juniper junos os evolved 23.2 r1-s1 –
juniper junos os evolved 23.2 r1-s2 –
juniper junos os evolved 23.2 r2 –
juniper junos os evolved 23.2 r2-s1 –
juniper junos os evolved 23.2 r2-s2 –
juniper junos os evolved 23.2 r2-s3 –
juniper junos os evolved 23.4 –
juniper junos os evolved 23.4 r1 –
juniper junos os evolved 23.4 r1-s1 –
juniper junos os evolved 23.4 r1-s2 –
juniper junos os evolved 23.4 r2 –
juniper junos os evolved 23.4 r2-s1 –
juniper junos os evolved 23.4 r2-s2 –
juniper junos os evolved 23.4 r2-s3 –
juniper junos os evolved 23.4 r2-s4 –
juniper junos os evolved 24.2 –
juniper junos os evolved 24.2 r1 –
juniper junos os evolved 24.2 r1-s2 –
juniper junos os evolved 24.2 r2 –
juniper junos os evolved 24.4 –
juniper junos os evolved 24.4 r1 –
juniper junos os evolved 24.4 r1-s2 –
juniper junos os evolved 24.4 r1-s3 –
juniper junos os evolved < 22.4 –
juniper junos os evolved 22.4 –
juniper junos os evolved 22.4 r1 –
juniper junos os evolved 22.4 r1-s1 –
juniper junos os evolved 22.4 r1-s2 –
juniper junos os evolved 22.4 r2 –
juniper junos os evolved 22.4 r2-s1 –
juniper junos os evolved 22.4 r2-s2 –
juniper junos os evolved 22.4 r3 –
juniper junos os evolved 22.4 r3-s1 –
juniper junos os evolved 22.4 r3-s2 –
juniper junos os evolved 22.4 r3-s3 –
Tutte le 793 vulnerabilità di Juniper Junos
Tutte le 250 vulnerabilità di Juniper Junos Os Evolved

Tipo di vulnerabilità

CWE-140 Improper Neutralization of Delimiters

The product does not neutralize or incorrectly neutralizes delimiters.

Impatto sui sistemi

AmbitoImpatto
Integrità Stato imprevisto

Come si previene

Sviluppo · Validazione dell’input Developers should anticipate that delimiters will be injected/removed/manipulated in the input vectors of their product. Use an appropriate combination of denylists and allowlists to ensure only valid, expected and appropriate input is processed by the system.
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.
Sviluppo · Codifica dell’output Usare stringhe di query, codice o comandi generati dinamicamente che mescolano controllo e dati è rischioso, ma a volte è inevitabile. In quel caso racchiudi correttamente gli argomenti tra virgolette e applica l’escaping a ogni carattere speciale. L’approccio più prudente è applicare l’escaping o filtrare tutti i caratteri che non rientrano in un elenco molto ristretto (per esempio tutto ciò che non è alfanumerico o spazio); se servono caratteri speciali, racchiudi ogni argomento tra virgolette dopo il filtraggio. Attenzione all’argument injection (CWE-88).
Sviluppo · Validazione dell’input Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.

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

Tutte le 20 CVE di tipo CWE-140, con andamento e prevenzione

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