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

CVE-2025-25006

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

Descrizione

Improper handling of additional special element in Microsoft Exchange Server allows an unauthorized attacker to perform spoofing over a network.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
microsoft exchange server 2016 cumulative_update_6 –
microsoft exchange server 2016 cumulative_update_7 –
microsoft exchange server 2016 cumulative_update_8 –
microsoft exchange server 2016 cumulative_update_9 –
microsoft exchange server 2019 –
microsoft exchange server 2019 cumulative_update_1 –
microsoft exchange server 2019 cumulative_update_10 –
microsoft exchange server 2019 cumulative_update_11 –
microsoft exchange server 2019 cumulative_update_12 –
microsoft exchange server 2019 cumulative_update_13 –
microsoft exchange server 2019 cumulative_update_2 –
microsoft exchange server 2019 cumulative_update_3 –
microsoft exchange server 2019 cumulative_update_4 –
microsoft exchange server 2019 cumulative_update_5 –
microsoft exchange server 2019 cumulative_update_6 –
microsoft exchange server 2019 cumulative_update_7 –
microsoft exchange server 2019 cumulative_update_8 –
microsoft exchange server 2019 cumulative_update_9 –
microsoft exchange server 2016 –
microsoft exchange server 2016 cumulative_update_1 –
microsoft exchange server 2016 cumulative_update_10 –
microsoft exchange server 2016 cumulative_update_11 –
microsoft exchange server 2016 cumulative_update_12 –
microsoft exchange server 2016 cumulative_update_13 –
microsoft exchange server 2016 cumulative_update_14 –
microsoft exchange server 2016 cumulative_update_15 –
microsoft exchange server 2016 cumulative_update_16 –
microsoft exchange server 2016 cumulative_update_17 –
microsoft exchange server 2016 cumulative_update_18 –
microsoft exchange server 2016 cumulative_update_19 –
microsoft exchange server 2016 cumulative_update_2 –
microsoft exchange server 2016 cumulative_update_20 –
microsoft exchange server 2016 cumulative_update_21 –
microsoft exchange server 2016 cumulative_update_3 –
microsoft exchange server 2016 cumulative_update_4 –
microsoft exchange server 2016 cumulative_update_5 –
microsoft exchange server subscription edition < 15.02.2562.020 –
Tutte le 259 vulnerabilità di Microsoft Exchange Server

Tipo di vulnerabilità

CWE-167 Improper Handling of Additional Special Element

The product receives input from an upstream component, but it does not handle or incorrectly handles when an additional unexpected special element is provided.

Impatto sui sistemi

AmbitoImpatto
Integrità Stato imprevisto

Come si previene

Developers should anticipate that extra special elements will be injected 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 5 CVE di tipo CWE-167, con andamento e prevenzione

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