CWE-914 - Improper Control of Dynamically-Identified Variables
- Abstraction:Base
- Structure:Simple
- Status:Incomplete
- Release Date:2013-02-21
- Latest Modification Date:2023-10-26
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
CWE-99Improper Control of Resource Identifiers ('Resource Injection')High
CWE-913Improper Control of Dynamically-Managed Code Resources