Description
The CloudStack SAML authentication (disabled by default) does not enforce signature check. In CloudStack environments where SAML authentication is enabled, an attacker that initiates CloudStack SAML single sign-on authentication can bypass SAML authentication by submitting a spoofed SAML response with no signature and known or guessed username and other user details of a SAML-enabled CloudStack user-account. In such environments, this can result in a complete compromise of the resources owned and/or accessible by a SAML enabled user-account.
Affected users are recommended to disable the SAML authentication plugin by setting the "saml2.enabled" global setting to "false", or upgrade to version 4.18.2.2, 4.19.1.0 or later, which addresses this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache CloudStack | 4.5.0 – ≤ 4.18.2.1, 4.19.0.0 – ≤ 4.19.0.2 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
d0rb/CVE-2024-41107 ★ 8 · Jul 23, 2024
This repository contains an PoC for the critical vulnerability identified as CVE-2024-41107 in Apache CloudStack
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Apache CloudStack - SAML Signature Exclusion http/cves/2024/CVE-2024-41107.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 1
- WID-SEC-2024-1681 Apache CloudStack: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Jul 18, 2024
References
- https://lists.apache.org/thread/5q06g8zvmhcw6w3tjr6r5prqdw6zckg3 mailing-list
- https://cloudstack.apache.org/blog/security-release-advisory-cve-2024-41107 vendor-advisory
- https://github.com/apache/cloudstack/issues/4519 issue-tracking
- https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-cve-2024-41107 third-party-advisory
- http://www.openwall.com/lists/oss-security/2024/07/19/1
- http://www.openwall.com/lists/oss-security/2024/07/19/2