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.
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.
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.
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.
Apache CloudStack — versions with default or zero value of integration.api.port; fixed in versions 4.18.2.1 and 4.19.0.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HApache Cloudstack
APPApache4.0.0 – 4.18.2.1 (bez)4.19.0.0 – 4.19.0.2 (bez)
Related vulnerabilities
Apache CloudStack: nieautoryzowany dostęp między tenantami przez rozszerzenie Proxmox
Apache CloudStack — RCE przez nieuwierzytelniony port klastra (9090)
Apache CloudStack: authentication bypass przez manipulację nagłówkiem x-forwarded-for
Apache CloudStack version 4.5.0 and later has a SAML 2.0 authentication Service Provider plugin which is found...
A buffer overflow vulnerability has been found in the baremetal component of Apache CloudStack. This applies t...