XXE in Prosody
CVE-2022-0217
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).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.052, 92.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Prosody
- Prosody — versions Fixed in prosody 0.11.12, Affects all versions with support for WebSockets.
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- prosody.im/security/advisory_20220113/ (Exploit, Patch, Vendor Advisory)
- prosody.im/security/advisory_20220113/1.patch (Patch, Vendor Advisory)