CVE Vulnerabilities

CVE-2021-42646

Improper Restriction of XML External Entity Reference

Published: May 11, 2022 | Modified: Nov 21, 2024
CVSS 3.x
9.1
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS 2.x
6.4 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

XML External Entity (XXE) vulnerability in the file based service provider creation feature of the Management Console in WSO2 API Manager 2.6.0, 3.0.0, 3.1.0, 3.2.0, and 4.0.0; and WSO2 IS as Key Manager 5.7.0, 5.9.0, and 5.10.0; and WSO2 Identity Server 5.7.0, 5.8.0, 5.9.0, 5.10.0, and 5.11.0. Allows attackers to gain read access to sensitive information or cause a denial of service via crafted GET requests.

Weakness

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Software

NameVendorStart VersionEnd Version
Api_managerWso22.6.0 (including)2.6.0 (including)
Api_managerWso23.0.0 (including)3.0.0 (including)
Api_managerWso23.1.0 (including)3.1.0 (including)
Api_managerWso23.2.0 (including)3.2.0 (including)
Api_managerWso24.0.0 (including)4.0.0 (including)
Identity_serverWso25.7.0 (including)5.7.0 (including)
Identity_serverWso25.8.0 (including)5.8.0 (including)
Identity_serverWso25.9.0 (including)5.9.0 (including)
Identity_serverWso25.10.0 (including)5.10.0 (including)
Identity_serverWso25.11.0 (including)5.11.0 (including)
Identity_server_as_key_managerWso25.7.0 (including)5.7.0 (including)
Identity_server_as_key_managerWso25.9.0 (including)5.9.0 (including)
Identity_server_as_key_managerWso25.10.0 (including)5.10.0 (including)

Potential Mitigations

References