← Vulnerability feed

Vulnerability record · CVE-2022-35741 · published 18 July 2022

CVE-2022-35741: Apache cloudstack xml external entity (xxe) vulnerability

Apache · Cloudstack

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.

9.8 CVSS 3.1 Critical EPSS 8.1% · top 5.4% CWE-611 · XML external entity (XXE)
9.8CVSS 3.1 base score
8.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

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.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://www.openwall.com/lists/oss-security/2022/07/18/2 Mailing ListMitigationThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/07/20/1 Mailing ListMitigationThird Party Advisory
https://lists.apache.org/thread/hwhxvtwp1d5dsm156bsf1cnyvtmrfv3f Issue TrackingMailing ListMitigationPatchVendor Advisory
http://www.openwall.com/lists/oss-security/2022/07/18/2 Mailing ListMitigationThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/07/20/1 Mailing ListMitigationThird Party Advisory
https://lists.apache.org/thread/hwhxvtwp1d5dsm156bsf1cnyvtmrfv3f Issue TrackingMailing ListMitigationPatchVendor Advisory

Track CVE-2022-35741 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2012-4501Apache cloudstack permissions and access controls vulnerabilityCitrix Cloud.com CloudStack, and Apache CloudStack pre-release, allows remote attackers to make arbitrary API calls by leveraging the system user acc…EPSS 7.8%9.9CVE-2024-50386Apache cloudstack improper input validation vulnerabilityAccount users in Apache CloudStack by default are allowed to register templates to be downloaded directly to the primary storage for deploying instan…EPSS 1.5%9.8CVE-2024-39864Apache cloudstack code injection vulnerabilityThe CloudStack integration API service allows running its unauthenticated API server (usually on port 8096 when configured and enabled via integratio…EPSS 1.8%9.8CVE-2024-38346Apache cloudstack code injection vulnerabilityThe CloudStack cluster service runs on unauthenticated port (default 9090) that can be misused to run arbitrary commands on targeted hypervisors and …EPSS 3.3%9.8CVE-2024-29006Apache cloudstack authentication bypass by spoofing vulnerabilityBy default the CloudStack management server honours the x-forwarded-for HTTP header and logs it as the source IP of an API request. This could lead t…EPSS 0.87%9.8CVE-2019-17562Apache cloudstack memory buffer overflow vulnerabilityA buffer overflow vulnerability has been found in the baremetal component of Apache CloudStack. This applies to all versions prior to 4.13.1. The vul…EPSS 2.9%9.8CVE-2016-6813Apache cloudstack vulnerabilityApache CloudStack 4.1 to 4.8.1.0 and 4.9.0.0 contain an API call designed to allow a user to register for the developer API. If a malicious user is a…EPSS 5.6%9.8CVE-2015-3252Apache cloudstack vulnerabilityApache CloudStack before 4.5.2 does not properly preserve VNC passwords when migrating KVM virtual machines, which allows remote attackers to gain ac…EPSS 2.2%

Source: NIST National Vulnerability Database (record CVE-2022-35741), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.