{"dataType":"CVE_RECORD","cveMetadata":{"cveId":"CVE-2024-39864","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","state":"PUBLISHED","assignerShortName":"apache","dateReserved":"2024-07-01T10:59:29.245Z","datePublished":"2024-07-05T13:40:37.937Z","dateUpdated":"2025-03-19T14:44:07.745Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Apache CloudStack","vendor":"Apache Software Foundation","versions":[{"lessThanOrEqual":"4.18.2.0","status":"affected","version":"4.0.0","versionType":"semver"},{"lessThanOrEqual":"4.19.0.1","status":"affected","version":"4.19.0.0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Adam Pond of Apple Services Engineering Security"},{"lang":"en","type":"finder","value":"Terry Thibault of Apple Services Engineering Security"},{"lang":"en","type":"finder","value":"Damon Smith of Apple Services Engineering Security"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<div><p>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).&nbsp;<span style=\"background-color: rgb(255, 255, 255);\">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</span>&nbsp;compromise of the confidentiality, integrity, and availability of CloudStack managed infrastructure.<span style=\"background-color: rgb(255, 255, 255);\"><br></span></p><span style=\"background-color: rgb(255, 255, 255);\"><div><span style=\"background-color: rgb(255, 255, 255);\">Users are recommended to restrict the network access on the CloudStack management server hosts to only essential ports. </span>Users are recommended to upgrade to version 4.18.2.1, 4.19.0.2 or later, which addresses this issue.</div></span></div>"}],"value":"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.\n\nUsers 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."}],"metrics":[{"other":{"content":{"text":"important"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-665","description":"CWE-665 Improper Initialization","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","shortName":"apache","dateUpdated":"2024-07-05T13:45:07.813Z"},"references":[{"tags":["vendor-advisory","mailing-list"],"url":"https://lists.apache.org/thread/6l51r00csrct61plkyd3qg3fj99215d1"},{"tags":["vendor-advisory","patch"],"url":"https://cloudstack.apache.org/blog/security-release-advisory-4.19.0.2-4.18.2.1"},{"tags":["third-party-advisory"],"url":"https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-1-and-4-19-0-2/"},{"url":"http://www.openwall.com/lists/oss-security/2024/07/05/1"}],"source":{"discovery":"UNKNOWN"},"title":"Apache CloudStack: Integration API service uses dynamic port when disabled","x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"affected":[{"vendor":"apache_software_foundation","product":"apache_cloudstack","cpes":["cpe:2.3:a:apache_software_foundation:apache_cloudstack:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"4.0.0","status":"affected","lessThanOrEqual":"4.18.2.0","versionType":"custom"},{"version":"4.19.0.0","status":"affected","lessThanOrEqual":"4.19.0.1","versionType":"custom"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-07-08T13:38:45.994090Z","id":"CVE-2024-39864","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-03-19T14:44:07.745Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T04:33:10.752Z"},"title":"CVE Program Container","references":[{"tags":["vendor-advisory","mailing-list","x_transferred"],"url":"https://lists.apache.org/thread/6l51r00csrct61plkyd3qg3fj99215d1"},{"tags":["vendor-advisory","patch","x_transferred"],"url":"https://cloudstack.apache.org/blog/security-release-advisory-4.19.0.2-4.18.2.1"},{"tags":["third-party-advisory","x_transferred"],"url":"https://www.shapeblue.com/shapeblue-security-advisory-apache-cloudstack-security-releases-4-18-2-1-and-4-19-0-2/"},{"url":"http://www.openwall.com/lists/oss-security/2024/07/05/1","tags":["x_transferred"]}]}]},"dataVersion":"5.1"}