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.
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
| Link | Tags |
|---|---|
| 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.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
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.