CVE-2022-35741
Apache CloudStack SAML Single Sign-On XXE
- Published
- Updated
- Reserved
- Assigned by
- apache
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.
Timeline
ID reserved
By apache
- 5 days later
· 5 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 8.0% · top 5.2% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
- XML external entity injection
- CWE-611 (opens in a new tab)All about CWE-611 and its CVEs
Affected products
Apache Software Foundation · Apache CloudStack
- affected 4.5.0 – < Apache CloudStack*
What to do
Workaround: To mitigate the risk, a CloudStack admin can do any of the following: 1. Disable SAML 2.0 plugin by setting the global setting saml2.enabled to false and restart the management servers. 2. Upgrade to Apache CloudStack 4.16.1.1 or 4.17.0.1 or higher.
References (3)
- https://lists.apache.org/thread/hwhxvtwp1d5dsm156bsf1cnyvtmrfv3f (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20220718 [ADVISORY] Apache CloudStack SAML Single Sign-On XXE (CVE-2022-35741) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20220720 Re: [ADVISORY] Apache CloudStack SAML Single Sign-On XXE (CVE-2022-35741) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-35741)Record last updated .