CVE-2025-59302 Vulnerability Analysis & Exploit Details

CVE-2025-59302
Vulnerability Scoring

4.7
/10
Medium Risk

The vulnerability CVE-2025-59302 could compromise system integrity but typically requires user interaction to be exploited.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: High
    High-level privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2025-59302 Details

Status: Analyzed

Last updated: 🕝 02 Dec 2025, 14:36 UTC
Originally published on: 🕛 27 Nov 2025, 12:15 UTC

Time between publication and last update: 5 days

CVSS Release: version 3

CVSS3 Source

134c704f-9b21-4f2e-91b3-4a467353bcc0

CVSS3 Type

Secondary

CVSS3 Vector

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

CVE-2025-59302 Vulnerability Summary

CVE-2025-59302: In Apache CloudStack improper control of generation of code ('Code Injection') vulnerability is found in the following APIs which are accessible only to admins. * quotaTariffCreate * quotaTariffUpdate * createSecondaryStorageSelector * updateSecondaryStorageSelector * updateHost * updateStorage This issue affects Apache CloudStack: from 4.18.0 before 4.20.2, from 4.21.0 before 4.22.0. Users are recommended to upgrade to versions 4.20.2 or 4.22.0, which contain the fix. The fix introduces a new global configuration flag, js.interpretation.enabled, allowing administrators to control the interpretation of JavaScript expressions in these APIs, thereby mitigating the code injection risk.

Assessing the Risk of CVE-2025-59302

Access Complexity Graph

The exploitability of CVE-2025-59302 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-2025-59302

The exploitability of CVE-2025-59302 is influenced by multiple factors. Security teams should analyze system configurations and apply appropriate countermeasures to mitigate threats.

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-2025-59302, 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-2025-59302, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: Low
    CVE-2025-59302 could lead to minor leaks of non-critical information without major privacy breaches.
  • Integrity: Low
    Exploiting CVE-2025-59302 may cause minor changes to data without severely impacting its accuracy.
  • Availability: Low
    CVE-2025-59302 may slightly degrade system performance without fully affecting service availability.

CVE-2025-59302 References

External References

CWE Common Weakness Enumeration

CWE-94

CAPEC Common Attack Pattern Enumeration and Classification

  • Code Injection CAPEC-242 An adversary exploits a weakness in input validation on the target to inject new code into that which is currently executing. This differs from code inclusion in that code inclusion involves the addition or replacement of a reference to a code file, which is subsequently loaded by the target and used as part of the code of some application.
  • Leverage Executable Code in Non-Executable Files CAPEC-35 An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Manipulating User-Controlled Variables CAPEC-77 This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An adversary can override variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the adversary can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.

Vulnerable Configurations

  • 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.18.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.18.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.18.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.18.2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.18.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.18.2.5:*:*:*:*:*:*:*
  • 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:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.19.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.19.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.19.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.19.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.19.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.19.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.19.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.19.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.19.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.19.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.20.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.20.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.20.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.20.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:cloudstack:4.21.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:cloudstack:4.21.0.0:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2025-59302: 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-2026-23039 – In the Linux kernel, the following vulnerability has been resolved: drm/gud: fix NULL fb and crtc dereferences on USB disconnect On disconnect dr...
  • CVE-2026-23038 – In the Linux kernel, the following vulnerability has been resolved: pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node() In nfs4_ff_a...
  • CVE-2026-23037 – In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: allow partial RX URB allocation to succeed When es58x_alloc_...
  • CVE-2026-23036 – In the Linux kernel, the following vulnerability has been resolved: btrfs: release path before iget_failed() in btrfs_read_locked_inode() In btrf...
  • CVE-2026-23035 – In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Pass netdev to mlx5e_destroy_netdev instead of priv mlx5e_priv is ...