CVE-2022-35741
CWE-611Published: July 18, 2022· Updated: Jun 17, 2026
Official Description
Apache CloudStack version 4.5.0 and later has a SAML 2.0 authentication Service Provider plugin which is found to be vulnerable to XML external entity (XXE) injection. This plugin is not enabled by default and the attacker would require that this plugin be enabled to exploit the vulnerability. When the SAML 2.0 plugin is enabled in affected versions of Apache CloudStack could potentially allow the exploitation of XXE vulnerabilities. The SAML 2.0 messages constructed during the authentication flow in Apache CloudStack are XML-based and the XML data is parsed by various standard libraries that are now understood to be vulnerable to XXE injection attacks such as arbitrary file reading, possible denial of service, server-side request forgery (SSRF) on the CloudStack management server.
Risk Analysis
Apache CloudStack's SAML 2.0 authentication plugin is vulnerable to XXE injection, which can lead to arbitrary file reading or SSRF. This critical flaw is only exploitable if the SAML plugin is enabled.
No public exploit is known, and it is not in the KEV catalog. The vulnerability is remotely exploitable with low complexity.
Disable the SAML 2.0 authentication plugin if not required, or upgrade to a patched version of Apache CloudStack.
Technical Analysis
CVE-2022-35741 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (6)
Quick Facts
Related CVEs (CWE-611)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-35741 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts