1. CVE archive
  2. 2011
  3. CVE-2011-1755

CVE-2011-1755

7.5 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – High

Description

jabberd2 before 2.2.14 does not properly detect recursion during entity expansion, which allows remote attackers to cause a denial of service (memory and CPU consumption) via a crafted XML document containing a large number of nested entity references, a similar issue to CVE-2003-1564.

Affected products

VendorProductVersionPlatform
apple mac os x < 10.6.8 –
apple mac os x >= 10.7.0 < 10.7.2 –
apple mac os x server < 10.6.8 –
apple mac os x server >= 10.7.0 < 10.7.2 –
fedoraproject fedora 13 –
fedoraproject fedora 14 –
fedoraproject fedora 15 –
jabberd2 jabberd2 < 2.2.14 –

Vulnerability type

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.

Impact on systems

ScopeImpact
Availability DoS: Resource Consumption (Other)
If the DTD contains a large number of nested or recursive entities, this allows the attacker to expand data exponentially when the DTD is parsed, quickly consuming all system resources.

How to prevent it

Operation If possible, prohibit the use of DTDs or use an XML parser that limits the expansion of recursive DTD entities.
Implementation Before parsing XML files with associated DTDs, scan for recursive entity declarations and do not continue parsing potentially explosive content.

All 90 CWE-776 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org