XML Parsing Vulnerability in Prosody Library: Recursive Entity Expansion and XML External Entity Injection

XML Parsing Vulnerability in Prosody Library: Recursive Entity Expansion and XML External Entity Injection

CVE-2022-0217 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

It was discovered that an internal Prosody library to load XML based on libexpat does not properly restrict the XML features allowed in parsed XML data. Given suitable attacker input, this results in expansion of recursive entity references from DTDs (CWE-776). In addition, depending on the libexpat version used, it may also allow injections using XML External Entity References (CWE-611).

Learn more about our External Network Penetration Testing.