Descrizione
Vulnerability due to inadequate restriction of references to external XML entities in OpenKM Community Edition. The XML processing in FormUtils / LocalEntityResolver does not properly restrict the resolution of external resources. An authenticated remote attacker with the ROLE_USER role can exploit the flaw via a REST request. In the 6.3.x branch, this allows the attacker to trigger HTTP requests under their control (SSRF); in 7.0.3, it allows the attacker to read local files and access internal HTTP resources from the server.
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.386 CVE di tipo CWE-611, con andamento e prevenzione