9.8
CRITICAL
CVE-2024-39864
CloudStack Remote Code Execution and Unauthorized Administrative Actions
Description

The CloudStack integration API service allows running its unauthenticated API server (usually on port 8096 when configured and enabled via integration.api.port global setting) for internal portal integrations and for testing purposes. By default, the integration API service port is disabled and is considered disabled when integration.api.port is set to 0 or negative. Due to an improper initialisation logic, the integration API service would listen on a random port when its port value is set to 0 (default value). An attacker that can access the CloudStack management network could scan and find the randomised integration API service port and exploit it to perform unauthorised administrative actions and 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 on the CloudStack management server hosts to only essential ports. 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:47 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2024-39864 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-39864.

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-39864 vulnerability anywhere in the article.

  • Cybersecurity News
Apache CloudStack Patches Critical Security Flaws in Latest Release

The Apache CloudStack project has announced the release of LTS security releases 4.18.2.4 and 4.19.1.2 to address four security vulnerabilities, including two rated as “Important.” CloudStack is a pop ... Read more

Published Date: Oct 17, 2024 (1 month ago)
  • 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 (3 months, 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 (3 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2024-39864 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 integration API service allows running its unauthenticated API server (usually on port 8096 when configured and enabled via integration.api.port global setting) for internal portal integrations and for testing purposes. By default, the integration API service port is disabled and is considered disabled when integration.api.port is set to 0 or negative. Due to an improper initialisation logic, the integration API service would listen on a random port when its port value is set to 0 (default value). An attacker that can access the CloudStack management network could scan and find the randomised integration API service port and exploit it to perform unauthorised administrative actions and 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 on the CloudStack management server hosts to only essential ports. 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-665
    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-39864 is associated with the following CWEs:

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