CWE-914β€”Improper Control of Dynamically-Identified Variables

PUBLISHEDweakness record
released 2013-02-21 Β· last modified 2025-12-11

Metadata

CWE ID:
CWE-914
Abstraction:
Base
Structure:
Simple
Status:
Incomplete
Release Date:
2013-02-21
Latest Modification Date:
2025-12-11

Weakness Name

Improper Control of Dynamically-Identified Variables

Description

The product does not properly restrict reading from or writing to dynamically-identified variables.

Many languages offer powerful features that allow the programmer to access arbitrary variables that are specified by an input string. While these features can offer significant flexibility and reduce development time, they can be extremely dangerous if attackers can modify unintended variables that have security implications.

Common Consequences

Scope:
Integrity
Impact:
Modify Application Data
Notes:
An attacker could modify sensitive data or program variables.
Scope:
Integrity
Impact:
Execute Unauthorized Code or Commands
Scope:
Other, Integrity
Impact:
Varies by Context, Alter Execution Logic

Related Weaknesses