# CVE-2024-39864: Apache CloudStack: Integration API service uses dynamic port when disabled

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.77%, higher than 78% of CVEs (2026-12-01)
- Published: 2024-07-05T13:40:37.937Z
- Modified: 2026-06-17T07:42:55.460Z
- Weaknesses: CWE-94, CWE-665
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache CloudStack: from 4.0.0 up to 4.18.2.0; from 4.19.0.0 up to 4.19.0.1
- apache_software_foundation apache_cloudstack: from 4.0.0 up to 4.18.2.0; from 4.19.0.0 up to 4.19.0.1
- apache cloudstack: from 4.0.0 before 4.18.2.1; from 4.19.0.0 before 4.19.0.2

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://lists.apache.org/thread/6l51r00csrct61plkyd3qg3fj99215d1> (mailing-list, vendor-advisory)
- <https://cloudstack.apache.org/blog/security-release-advisory-4.19.0.2-4.18.2.1> (patch, release-notes, vendor-advisory)
- <https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-1-and-4-19-0-2/> (release-notes, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2024/07/05/1> (mailing-list)

## Sources

- CVE List: [CVE-2024-39864](https://www.cve.org/CVERecord?id=CVE-2024-39864), CVE Terms of Use, modified 2025-03-19
- NVD: [CVE-2024-39864](https://nvd.nist.gov/vuln/detail/CVE-2024-39864), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-39864 · Whole record: https://cve.day/CVE-2024-39864.json · Rebuilt by cve.day 2026-11-25T22:58:42.526Z
