logo

CWE-627 - Dynamic Variable Evaluation

CWE-627

  • Abstraction:
  • Variant
  • Structure:
  • Simple
  • Status:
  • Incomplete
Weakness Name

Dynamic Variable Evaluation

Description

In a language where the user can influence the name of a variable at runtime, if the variable names are not controlled, an attacker can read or write to arbitrary variables, or access arbitrary functions.

The resultant vulnerabilities depend on the behavior of the application, both at the crossover point and in any control/data flow that is reachable by the related variables or functions.

Common Consequences

Scope: Confidentiality, Integrity, Availability

Impact: Modify Application Data, Execute Unauthorized Code or Commands

Notes: An attacker could gain unauthorized access to internal program variables and execute arbitrary code.

Related Weaknesses
  • Release Date:
  • 2007-05-07
  • Latest Modification Date:
  • 2023-06-29

Free security scan for your website