CWE-536Servlet Runtime Error Message Containing Sensitive Information

PUBLISHEDweakness record
released 2006-07-19 · last modified 2025-12-11

Metadata

CWE ID:
CWE-536
Abstraction:
Variant
Structure:
Simple
Status:
Incomplete
Release Date:
2006-07-19
Latest Modification Date:
2025-12-11

Weakness Name

Servlet Runtime Error Message Containing Sensitive Information

Description

A servlet error message indicates that there exists an unhandled exception in the web application code and may provide useful information to an attacker.

Common Consequences

Scope:
Confidentiality
Impact:
Read Application Data
Notes:
The error message may contain the location of the file in which the offending function is located. This may disclose the web root's absolute path as well as give the attacker the location of application files or configuration information. It may even disclose the portion of code that failed. In many cases, an attacker can use the data to launch further attacks against the system.

Related Weaknesses