COMMON WEAKNESS ENUMERATIONDraft
CWE-96
Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection')
Abstraction
Base
Structure
Simple
Likelihood of Exploit
Medium
Understand the problem
What is the problem?
Root cause
How and when does the problem arise?
Lifecycle phase
Implementation
Lifecycle phase
Implementation
Risk
What does successful exploitation lead to?
Read Files or DirectoriesRead Application Data
Bypass Protection Mechanism
Gain Privileges or Assume Identity
Execute Unauthorized Code or Commands
Hide Activities
Defence
How is it prevented and fixed?
Implementation
Input Validation
Detail
Implementation
Input Validation
Implementation
Output Encoding
Detail
Implementation
Output Encoding
Verification