COMMON WEAKNESS ENUMERATIONDraft
CWE-668
Exposure of Resource to Wrong Sphere
Abstraction
Class
Structure
Simple
Likelihood of Exploit
Medium
Understand the problem
What is the problem?
Extended description
Root cause
How and when does the problem arise?
Lifecycle phase
Architecture and Design
Lifecycle phase
Implementation
Lifecycle phase
Operation
Risk
What does successful exploitation lead to?
Read Application Data
Modify Application Data
Varies by Context
Defence
How is it prevented and fixed?
- Follow secure coding guidelines for input handling and boundary checking.
- Enforce strict security reviews and automated static analysis (SAST) checks.