CVE-2024-39864

Apache CloudStack: Integration API service uses dynamic port when disabled

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.

Category

9.8
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 1.42% Top 25%
Vendor Advisory apache.org Vendor Advisory apache.org
Affected: Apache Software Foundation Apache CloudStack
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-39864?
CVE-2024-39864 has been scored as a critical severity vulnerability.
How to fix CVE-2024-39864?
To fix CVE-2024-39864, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-39864 being actively exploited in the wild?
It is possible that CVE-2024-39864 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-39864?
CVE-2024-39864 affects Apache Software Foundation Apache CloudStack.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.