CWE-488: CWE-488: Exposure of Data Element to Wrong Session

BaseStable

Description

View on MITRE
Back to CWE Lookup

Extended Description

Extended Description

Technical Details

Structure
Simple
Vulnerability Mapping
ALLOWED

Applicable To

Languages
Languages
Platforms
Languages

Frequently Asked Questions

What is CWE-488: CWE-488: Exposure of Data Element to Wrong Session?+

CWE-488: CWE-488: Exposure of Data Element to Wrong Session is a Common Weakness Enumeration (CWE) entry maintained by MITRE. Description Extended Description

What are the security consequences of CWE-488: Exposure of Data Element to Wrong Session?+

If exploited, CWE-488 (CWE-488: Exposure of Data Element to Wrong Session) it can compromise Read Application Data, leading to outcomes such as Scope: Confidentiality.

How do you prevent or mitigate CWE-488: Exposure of Data Element to Wrong Session?+

Recommended mitigations for CWE-488 include: Protect the application's sessions from information leakage. Make sure that a session's data is not used or visible by other sessions. Use a static analysis tool to scan the code for information leakage vulnerabilities (e.g. Singleton Member Field). 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.

Which programming languages are affected by CWE-488: Exposure of Data Element to Wrong Session?+

CWE-488 commonly affects Languages. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.

What is the difference between a CWE and a CVE?+

A CWE (Common Weakness Enumeration) like CWE-488 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.

Learn More