Skip to content
OpenAdvisories

Weakness (CWE)

CWE-488: Exposure of Data Element to Wrong Session

Base Draft

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.

How to prevent it (3 mitigations)
  1. Architecture and Design

    Protect the application's sessions from information leakage. Make sure that a session's data is not used or visible by other sessions.

  2. Testing

    Use a static analysis tool to scan the code for information leakage vulnerabilities (e.g. Singleton Member Field).

  3. Architecture and Design

    In 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.

Source: MITRE CWE-488

0 results · Clear filters · Feed

Nothing found.