Descrizione
A flaw in libxml2 allows remote XML entity inclusion with default parser flags (i.e., when the caller did not request entity substitution, DTD validation, external DTD subset loading, or default DTD attributes). Depending on the context, this may expose a higher-risk attack surface in libxml2 not usually reachable with default parser flags, and expose content from local files, HTTP, or FTP servers (which might be otherwise unreachable).
Tipo di vulnerabilità
CWE-611
XML External Entity (XXE): riferimenti a entità esterne non limitati
Il prodotto elabora documenti XML che possono contenere entità che puntano a risorse esterne, finendo per includere nel risultato file o contenuti che non dovrebbe raggiungere.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere i dati dell’applicazione, Leggere file o cartelle |
| Integrità |
Aggirare i meccanismi di protezione |
| Disponibilità |
Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria |
Come si previene
Sviluppo · Configurazione del sistema
Many XML parsers and validators can be configured to disable external entity expansion.
Tutte le 1.380 CVE di tipo CWE-611, con andamento e prevenzione