COMMON WEAKNESS ENUMERATIONIncomplete
CWE-1385
Missing Origin Validation in WebSockets
Abstraction
Variant
Structure
Simple
Likelihood of Exploit
Medium
Understand the problem
What is the problem?
Extended description
Terminology
Alternate terms and usages
Cross-Site WebSocket hijacking (CSWSH)
Root cause
How and when does the problem arise?
Lifecycle phase
Architecture and Design
Lifecycle phase
Implementation
Risk
What does successful exploitation lead to?
Varies by ContextGain Privileges or Assume IdentityBypass Protection MechanismRead Application DataModify Application DataDoS: Crash, Exit, or Restart
Defence
How is it prevented and fixed?
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Architecture and Design · Implementation
Defence to apply across several lifecycle phases
Detail
Architecture and Design · Implementation
Defence to apply across several lifecycle phases
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Implementation
Implementation-phase defence
Detail
Implementation
Implementation-phase defence
Implementation
Implementation-phase defence
Detail
Implementation