9.8
CRITICAL
CVE-2024-38346
CloudStack Cluster Service Unauthenticated Remote Code Execution
Description

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.

INFO

Published Date :

July 5, 2024, 2:15 p.m.

Last Modified :

July 8, 2024, 3:48 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2024-38346 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache cloudstack
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-38346.

URL Resource
http://www.openwall.com/lists/oss-security/2024/07/05/1 Mailing List
https://cloudstack.apache.org/blog/security-release-advisory-4.19.0.2-4.18.2.1 Release Notes
https://lists.apache.org/thread/6l51r00csrct61plkyd3qg3fj99215d1 Mailing List
https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-1-and-4-19-0-2/ Release Notes

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-38346 vulnerability anywhere in the article.

  • TheCyberThrone
Apache Cloudstack fixes CVE-2024-42062 & CVE-2024-42222

Apache CloudStack project has released patches for  addressing  two critical vulnerabilities, that could allow attackers to gain unauthorized access to sensitive information and compromise the integri ... Read more

Published Date: Aug 08, 2024 (1 month, 1 week ago)
  • Cybersecurity News
Apache CloudStack Releases Critical Patches (CVE-2024-42062 and CVE-2024-42222)

The Apache CloudStack project has issued an urgent security advisory, urging users to update their software immediately to address two critical vulnerabilities, CVE-2024-42062 and CVE-2024-42222. Thes ... Read more

Published Date: Aug 08, 2024 (1 month, 1 week ago)

The following table lists the changes that have been made to the CVE-2024-38346 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jul. 08, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.openwall.com/lists/oss-security/2024/07/05/1 No Types Assigned http://www.openwall.com/lists/oss-security/2024/07/05/1 Mailing List
    Changed Reference Type https://cloudstack.apache.org/blog/security-release-advisory-4.19.0.2-4.18.2.1 No Types Assigned https://cloudstack.apache.org/blog/security-release-advisory-4.19.0.2-4.18.2.1 Release Notes
    Changed Reference Type https://lists.apache.org/thread/6l51r00csrct61plkyd3qg3fj99215d1 No Types Assigned https://lists.apache.org/thread/6l51r00csrct61plkyd3qg3fj99215d1 Mailing List
    Changed Reference Type https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-1-and-4-19-0-2/ No Types Assigned https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-1-and-4-19-0-2/ Release Notes
    Added CPE Configuration OR *cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:* versions from (including) 4.0.0 up to (excluding) 4.18.2.1 *cpe:2.3:a:apache:cloudstack:*:*:*:*:*:*:*:* versions from (including) 4.19.0.0 up to (excluding) 4.19.0.2
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jul. 08, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • CVE Modified by [email protected]

    Jul. 05, 2024

    Action Type Old Value New Value
    Added Reference Apache Software Foundation http://www.openwall.com/lists/oss-security/2024/07/05/1 [No types assigned]
  • CVE Received by [email protected]

    Jul. 05, 2024

    Action Type Old Value New Value
    Added Description 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.
    Added Reference Apache Software Foundation https://lists.apache.org/thread/6l51r00csrct61plkyd3qg3fj99215d1 [No types assigned]
    Added Reference Apache Software Foundation https://cloudstack.apache.org/blog/security-release-advisory-4.19.0.2-4.18.2.1 [No types assigned]
    Added Reference Apache Software Foundation https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-1-and-4-19-0-2/ [No types assigned]
    Added CWE Apache Software Foundation CWE-94
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-38346 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-38346 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability