Descrizione
In Apache FOP before 2.2, files lying on the filesystem of the server which uses FOP can be revealed to arbitrary users who send maliciously formed SVG files. The file types that can be shown depend on the user context in which the exploitable application is running. If the user is root a full compromise of the server - including confidential or sensitive files - would be possible. XXE can also be used to attack the availability of the server via denial of service as the references within a xml document can trivially trigger an amplification attack.
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