Descrizione
Solr versions 1.3.0 to 1.4.1, 3.1.0 to 3.6.2 and 4.0.0 to 4.10.4 are vulnerable to an XML resource consumption attack (a.k.a. Lol Bomb) via it’s update handler.?By leveraging XML DOCTYPE and ENTITY type elements, the attacker can create a pattern that will expand when the server parses the XML causing OOMs.
Tipo di vulnerabilità
CWE-776
Improper Restriction of Recursive Entity References in DTDs
The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità |
Interruzione del servizio: esaurimento di risorse |
Come si previene
Esercizio
If possible, prohibit the use of DTDs or use an XML parser that limits the expansion of recursive DTD entities.
Sviluppo
Before parsing XML files with associated DTDs, scan for recursive entity declarations and do not continue parsing potentially explosive content.
Tutte le 88 CVE di tipo CWE-776, con andamento e prevenzione