CRITICAL✓ PATCH🇵🇱 Wersja polska

CVE-2024-39864

CVSS 9.8v3.1pub. 2024-07-05upd. 2025-03-19

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.

🤖 AI Analysis
How it works

When the integration.api.port parameter is set to 0 (default value indicating service is disabled), faulty initialization logic causes an unauthenticated API server to start on a randomly selected port instead of being deactivated. An attacker with access to the CloudStack management network can perform port scanning, discover the active integration port, and send API requests to it without any authentication. This enables unauthorized administrative actions and remote code execution (RCE) on hosts managed by CloudStack.

Impact

An attacker can execute arbitrary code (RCE) on hosts managed by CloudStack and conduct unauthorized administrative operations, leading to complete breach of confidentiality, integrity, and availability of the entire infrastructure managed by CloudStack.

Mitigation & patch

Update Apache CloudStack to version 4.18.2.1, 4.19.0.2 or newer. Additionally, it is recommended to restrict network access to CloudStack management servers to only necessary ports, which reduces the risk of exposure of the random API integration port.

Who is affected

Apache CloudStack — versions with default or zero value of integration.api.port; fixed in versions 4.18.2.1 and 4.19.0.2

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Apache Cloudstack

    APP
    Apache
    4.0.0 – 4.18.2.1 (bez)4.19.0.0 – 4.19.0.2 (bez)
🟢
PATCH AVAILABLE
Vendor update available. Deploy in standard maintenance cycle.
Tags
RCE
CWE
References

Related vulnerabilities

CVE-2026-25199CRITICAL9.1PL ✓ten sam produkt

Apache CloudStack: nieautoryzowany dostęp między tenantami przez rozszerzenie Proxmox

CVE-2024-38346CRITICAL9.8PL ✓ten sam produkt

Apache CloudStack — RCE przez nieuwierzytelniony port klastra (9090)

CVE-2024-29006CRITICAL9.8PL ✓ten sam produkt

Apache CloudStack: authentication bypass przez manipulację nagłówkiem x-forwarded-for

CVE-2022-35741CRITICAL9.8ten sam produkt

Apache CloudStack version 4.5.0 and later has a SAML 2.0 authentication Service Provider plugin which is found...

CVE-2019-17562CRITICAL9.8ten sam produkt

A buffer overflow vulnerability has been found in the baremetal component of Apache CloudStack. This applies t...