CVE-2022-35741
N/A
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Apache Software Foundation | Apache CloudStack | 4.5.0 < Apache CloudStack* | affected |
Weaknesses
- XML external entity injection
Workarounds
To mitigate the risk, a CloudStack admin can do any of the following:
- Disable SAML 2.0 plugin by setting the global setting saml2.enabled to false and restart the management servers.
- Upgrade to Apache CloudStack 4.16.1.1 or 4.17.0.1 or higher.
ADP Enrichment
CVE Program Container
Additional References
- https://lists.apache.org/thread/hwhxvtwp1d5dsm156bsf1cnyvtmrfv3f
- http://www.openwall.com/lists/oss-security/2022/07/18/2
- http://www.openwall.com/lists/oss-security/2022/07/20/1
References
- https://lists.apache.org/thread/hwhxvtwp1d5dsm156bsf1cnyvtmrfv3f
- http://www.openwall.com/lists/oss-security/2022/07/18/2
- http://www.openwall.com/lists/oss-security/2022/07/20/1
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.