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

CVE-2025-21189

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

Descrizione

MapUrlToZone Security Feature Bypass Vulnerability

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
microsoft windows 10 1507 < 10.0.10240.20890 –
microsoft windows 10 1507 < 10.0.10240.20890 –
microsoft windows 10 1607 < 10.0.14393.7699 –
microsoft windows 10 1607 < 10.0.14393.7699 –
microsoft windows 10 1809 < 10.0.17763.6775 –
microsoft windows 10 1809 < 10.0.17763.6775 –
microsoft windows 10 21h2 < 10.0.19044.5371 –
microsoft windows 10 22h2 < 10.0.19045.5371 –
microsoft windows 11 22h2 < 10.0.22621.4751 –
microsoft windows 11 23h2 < 10.0.22631.4751 –
microsoft windows 11 24h2 < 10.0.26100.2894 –
microsoft windows server 2008 tutte sp2 –
microsoft windows server 2008 r2 sp1 –
microsoft windows server 2012 tutte –
microsoft windows server 2012 r2 –
microsoft windows server 2016 < 10.0.14393.7699 –
microsoft windows server 2019 < 10.0.17763.6775 –
microsoft windows server 2022 < 10.0.20348.3091 –
microsoft windows server 2022 23h2 < 10.0.25398.1369 –
microsoft windows server 2025 < 10.0.26100.2894 –
Tutte le 1.230 vulnerabilità di Microsoft Windows 10 1507

Tipo di vulnerabilità

CWE-41 Improper Resolution of Path Equivalence

The product is vulnerable to file system contents disclosure through path equivalence. Path equivalence involves the use of special characters in file and directory names. The associated manipulations are intended to generate multiple names for the same object.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Controllo degli accessi Leggere file o cartelle, Modificare file o cartelle, Aggirare i meccanismi di protezione

Come si previene

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 Use and specify an output encoding that can be handled by the downstream component that is reading the output. Common encodings include ISO-8859-1, UTF-7, and UTF-8. When an encoding is not specified, a downstream component may choose a different encoding, either by assuming a default encoding or automatically inferring which encoding is being used, which can be erroneous. When the encodings are inconsistent, the downstream component might treat some character or byte sequences as special, even if they are not special in the original encoding. Attackers might then be able to exploit this discrepancy and conduct injection attacks; they even might be able to bypass protection mechanisms that assume the original encoding is also being used by the downstream component.
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 45 CVE di tipo CWE-41, con andamento e prevenzione

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