What it is
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.
Impact on systems
| Scope | Impact |
|---|---|
| Confidentiality, Integrity, Availability | Modify Application Data, Execute Unauthorized Code or Commands, Varies by Context An attacker could gain unauthorized read or write access to internal program variables and possibly execute arbitrary code. 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. |
How to prevent it
Source: MITRE CWE catalog · Official entry on the MITRE website