XXE in Apache Cloudstack

CVE-2022-35741

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.

Vulnerability class: XXE (XML External Entity)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.080 (94.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 95th percentile — 94.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-35741: held from 0.081 to 0.080.

EPSS over last 30 days · oldest: 0.081 · newest: 0.080 · change: -0.001

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-35741?
CVE-2022-35741 is a critical-severity vulnerability in Apache Cloudstack, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 9.8/10. Published 2022-07-18.
How severe is CVE-2022-35741?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2022-35741 known to be exploited?
5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.