BaseDraft

CWE-488Exposure of Data Element to Wrong Session

Category: auth

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.

Common consequences· 1

  • Confidentiality — Read Application Data

Potential mitigations· 3

  • [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.
  • [Testing]Use a static analysis tool to scan the code for information leakage vulnerabilities (e.g. Singleton Member Field).
  • [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.

Related CAPEC attack patterns· 2

CAPEC-59CAPEC-60

References

  1. https://cwe.mitre.org/data/definitions/488.html

Exploits (incoming)2

TypeTargetConfidenceTier
AttackPatternSession Credential Falsification through Predictioncapec-59100%live
AttackPatternReusing Session IDs (aka Session Replay)capec-60100%live

(incoming)2

TypeTargetConfidenceTier
VulnerabilityCVE-2025-1247cve-2025-12470%live
VulnerabilityCVE-2025-47928cve-2025-479280%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Improper Access Control
CWE
Exposure of Sensitive System Information to an Unauthorized Control Sphere
CWE
Exposure of Sensitive Information to an Unauthorized Actor
CWE
Improper Enforcement of Behavioral Workflow
CWE
Incorrect Synchronization
CWE
Improper Restriction of Communication Channel to Intended Endpoints
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.