CWE•Base•Draft•5 recent CVEs
CWE-488Exposure of Data Element to Wrong Session
Description
The product does not sufficiently enforce boundaries between the states of different sessions, causing data to be provided to, or used by, the wrong session.
[object Object]
Common consequences
- Confidentiality→Read Application Data
Potential mitigations
- Architecture and DesignProtect the application's sessions from information leakage. Make sure that a session's data is not used or visible by other sessions.
- TestingUse a static analysis tool to scan the code for information leakage vulnerabilities (e.g. Singleton Member Field).
- Architecture and DesignIn a multithreading environment, storing user data in Servlet member fields introduces a data access race condition. Do not use member fields to store information in the Servlet.