CVE-2024-50386 Vulnerability Analysis & Exploit Details

CVE-2024-50386
Vulnerability Scoring

8.5
/10
Severe Risk

Cybersecurity professionals consider CVE-2024-50386 an immediate threat requiring urgent mitigation.

Attack Complexity Details

  • Attack Complexity: High
    Exploits require significant effort and special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Changed
    Successful exploitation can impact components beyond the vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2024-50386 Details

Status: Analyzed

Last updated: 🕕 04 Feb 2025, 18:23 UTC
Originally published on: 🕒 12 Nov 2024, 15:15 UTC

Time between publication and last update: 84 days

CVSS Release: version 3

CVSS3 Source

security@apache.org

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

CVE-2024-50386 Vulnerability Summary

CVE-2024-50386: Account users in Apache CloudStack by default are allowed to register templates to be downloaded directly to the primary storage for deploying instances. Due to missing validation checks for KVM-compatible templates in CloudStack 4.0.0 through 4.18.2.4 and 4.19.0.0 through 4.19.1.2, an attacker that can register templates, can use them to deploy malicious instances on KVM-based environments and exploit this to gain access to the host filesystems that could result in the compromise of resource integrity and confidentiality, data loss, denial of service, and availability of KVM-based infrastructure managed by CloudStack. Users are recommended to upgrade to Apache CloudStack 4.18.2.5 or 4.19.1.3, or later, which addresses this issue. Additionally, all user-registered KVM-compatible templates can be scanned and checked that they are flat files that should not be using any additional or unnecessary features. For example, operators can run the following command on their file-based primary storage(s) and inspect the output. An empty output for the disk being validated means it has no references to the host filesystems; on the other hand, if the output for the disk being validated is not empty, it might indicate a compromised disk. However, bear in mind that (i) volumes created from templates will have references for the templates at first and (ii) volumes can be consolidated while migrating, losing their references to the templates. Therefore, the command execution for the primary storages can show both false positives and false negatives. for file in $(find /path/to/storage/ -type f -regex [a-f0-9\-]*.*); do echo "Retrieving file [$file] info. If the output is not empty, that might indicate a compromised disk; check it carefully."; qemu-img info -U $file | grep file: ; printf "\n\n"; done For checking the whole template/volume features of each disk, operators can run the following command: for file in $(find /path/to/storage/ -type f -regex [a-f0-9\-]*.*); do echo "Retrieving file [$file] info."; qemu-img info -U $file; printf "\n\n"; done

Assessing the Risk of CVE-2024-50386

Access Complexity Graph

The exploitability of CVE-2024-50386 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2024-50386

This vulnerability, CVE-2024-50386, requires a high level of attack complexity and low privileges, making it difficult but not impossible to exploit. Organizations should ensure robust security configurations to mitigate risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2024-50386, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2024-50386, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2024-50386 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2024-50386 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2024-50386 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.168% (probability of exploit)

EPSS Percentile: 54.83% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 45.17% of others.

CVE-2024-50386 References

External References

CWE Common Weakness Enumeration

NVD-CWE-noinfo

Vulnerable Configurations

  • cpe:2.3:a:apache:cloudstack:4.0.0:-:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.0.0:-:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.0.0:incubating:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.0.0:incubating:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.4.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.4.3:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.4.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.4.4:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.4.4:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.5.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.5.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.5.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.5.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.5.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.6.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.6.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.6.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.6.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.7.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.7.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.7.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.8:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.8:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.8.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.8.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.8.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.8.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.8.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.8.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.8.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.9.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.9.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.9.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.9.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.9.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.9.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.9.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.9.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.9.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.9.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.9.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.10.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.10.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.11.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.11.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.11.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.11.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.11.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.11.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.11.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.11.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.11.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.11.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.12.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.12.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.13.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.13.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.13.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.13.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.14.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.14.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.14.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.14.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.15.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.15.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.15.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.15.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.15.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.15.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.16.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.16.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.16.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.16.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.16.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.16.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.17.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.17.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.17.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.17.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.17.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.17.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.18.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.18.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.18.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.18.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.18.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.18.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.18.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.18.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.18.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.18.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.18.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.18.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.19.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.19.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.19.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.19.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.19.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.19.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.19.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.19.1.0:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2024-50386: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-2129 – A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecur...
  • CVE-2025-2127 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla. It has been classified as problematic. Affected is an unknown function of th...
  • CVE-2025-2126 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla and classified as critical. This issue affects some unknown processing of the...
  • CVE-2025-2125 – A vulnerability has been found in Control iD RH iD 25.2.25.0 and classified as problematic. This vulnerability affects unknown code of the file /v2...
  • CVE-2025-2124 – A vulnerability, which was classified as problematic, was found in Control iD RH iD 25.2.25.0. This affects an unknown part of the file /v2/custome...