oss-sec mailing list archives

CVE-2024-41107: Apache CloudStack: SAML Signature Exclusion


From: Rohit Yadav <rohit () apache org>
Date: Fri, 19 Jul 2024 10:11:23 +0000

Severity: important

Affected versions:

- Apache CloudStack 4.5.0 through 4.18.2.1
- Apache CloudStack 4.19.0.0 through 4.19.0.2

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.

Credit:

Christian Gross of Netcloud AG (finder)
Damon Smith of Apple Services Engineering Security (finder)
Adam Pond of Apple Services Engineering Security (finder)
Terry Thibault of Apple Services Engineering Security (finder)

References:

https://lists.apache.org/thread/5q06g8zvmhcw6w3tjr6r5prqdw6zckg3
https://cloudstack.apache.org/blog/security-release-advisory-cve-2024-41107
https://github.com/apache/cloudstack/issues/4519
https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-cve-2024-41107
https://cloudstack.apache.org/
https://www.cve.org/CVERecord?id=CVE-2024-41107


Current thread: