oss-sec mailing list archives

CVE-2024-42062: Apache CloudStack: User Key Exposure to Domain Admins


From: Rohit Yadav <rohit () apache org>
Date: Tue, 06 Aug 2024 15:11:48 +0000

Severity: critical

Affected versions:

- Apache CloudStack 4.10.0 through 4.18.2.2
- Apache CloudStack 4.19.0.0 through 4.19.1.0

Description:

CloudStack account-users by default use username and password based authentication for API and UI access. Account-users 
can generate and register randomised API and secret keys and use them for the purpose of API-based automation and 
integrations. Due to an access permission validation issue that affects Apache CloudStack versions 4.10.0 up to 
4.19.1.0, domain admin accounts were found to be able to query all registered account-users API and secret keys in an 
environment, including that of a root admin. An attacker who has domain admin access can exploit this to gain root 
admin and other-account privileges and perform malicious operations that can result in compromise of resources 
integrity and confidentiality, data loss, denial of service and availability of CloudStack managed infrastructure.

Users are recommended to upgrade to Apache CloudStack 4.18.2.3 or 4.19.1.1, or later, which addresses this issue. 
Additionally, all account-user API and secret keys should be regenerated.

Credit:

Fabricio Duarte (finder)

References:

https://cloudstack.apache.org/blog/security-release-advisory-4.19.1.1-4.18.2.3
https://lists.apache.org/thread/lxqtfd6407prbw3801hb4fz3ot3t8wlj
https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-3-and-4-19-1-1/
https://cloudstack.apache.org/
https://www.cve.org/CVERecord?id=CVE-2024-42062


Current thread: