CVE-2024-38346: Apache CloudStack: Unauthenticated cluster service port leads to remote execution
The CloudStack cluster service runs on unauthenticated port (default 9090) that can be misused to run arbitrary commands on targeted hypervisors and CloudStack management server hosts. Some of these commands were found to have command injection vulnerabilities that can result in arbitrary code execution via agents on the hosts that may run as a privileged user. An attacker that can reach the cluster service on the unauthenticated port (default 9090), can exploit this to perform remote code execution on CloudStack managed hosts and result in complete compromise of the confidentiality, integrity, and availability of CloudStack managed infrastructure.
Users are recommended to restrict the network access to the cluster service port (default 9090) on a CloudStack management server host to only its peer CloudStack management server hosts. Users are recommended to upgrade to version 4.18.2.1, 4.19.0.2 or later, which addresses this issue.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-38346?
CVE-2024-38346 is considered critical due to its potential for unauthorized command execution on hypervisors and management server hosts.
How do I fix CVE-2024-38346?
To mitigate CVE-2024-38346, you should upgrade to Apache CloudStack versions 4.18.2.2 or 4.19.0.3 or higher where the vulnerability has been addressed.
Which versions of CloudStack are affected by CVE-2024-38346?
CVE-2024-38346 affects Apache CloudStack versions from 4.0.0 to 4.18.2.1 and from 4.19.0.0 to 4.19.0.2.
What type of vulnerability is CVE-2024-38346?
CVE-2024-38346 is characterized as a command injection vulnerability that allows arbitrary command execution.
Is there a workaround for CVE-2024-38346 if I can't update immediately?
A temporary workaround for CVE-2024-38346 is to restrict access to the default port 9090 to trusted IP addresses only.