CVE-2024-39864 Apache CloudStack: Integration API service uses dynamic port when disabled
Attackers on the management network can discover a hidden unauthenticated API port to execute remote code and compromise CloudStack infrastructure.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-39864?
CVE-2024-39864 is a critical missing authorization vulnerability in Apache Cloudstack, published on 5 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2024-39864?
It affects 1 product.
Products include Apache Cloudstack.
How do I fix CVE-2024-39864?
No fix has been published for CVE-2024-39864 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2024-39864 being exploited?
There is no known exploitation of CVE-2024-39864 in the wild and no public exploit code.
Other vulnerabilities in Apache Cloudstack
- CVE-2012-4501 Missing authorization in n/a
- CVE-2024-38346 Apache CloudStack: Unauthenticated cluster service port leads to remote execution
- CVE-2024-29006 Apache CloudStack: x-forwarded-for HTTP header parsed by default
- CVE-2022-35741 Apache CloudStack SAML Single Sign-On XXE
- CVE-2019-17562 Command injection in Apache CloudStack
Sources
Also known as GHSA-qcg7-r5qq-mqmw.