Descrizione
The expat XML parser in the apr_xml_* interface in xml/apr_xml.c in Apache APR-util before 1.3.7, as used in the mod_dav and mod_dav_svn modules in the Apache HTTP Server, allows remote attackers to cause a denial of service (memory consumption) via a crafted XML document containing a large number of nested entity references, as demonstrated by a PROPFIND request, a similar issue to CVE-2003-1564.
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