logo
Home/CWEs/CWE-209/

CWE-209 - Generation of Error Message Containing Sensitive Information

  • Abstraction:Base
  • Structure:Simple
  • Status:Draft
  • Release Date:2006-07-19
  • Latest Modification Date:2025-09-09

Weakness Name

Generation of Error Message Containing Sensitive Information

Description

The product generates an error message that includes sensitive information about its environment, users, or associated data.

Common Consequences

Scope: Confidentiality

Impact: Read Application Data

Notes: Often this will either reveal sensitive information which may be used to launch another, more focused attack or disclose private information stored in the server. For example, an attempt to exploit a path traversal weakness (CWE-22) might yield the full pathname of the installed application. In turn, this could be used to select the proper number of ".." sequences to navigate to the targeted file. An attack using SQL injection (CWE-89) might not initially succeed, but an error message could reveal the malformed query, which would expose query logic and possibly even passwords or other sensitive information used within the query.

Related Weaknesses

CWE-200Exposure of Sensitive Information to an Unauthorized ActorHigh

CWE-755Improper Handling of Exceptional ConditionsMedium

Related Alerts

Generic Padding OracleHigh

Full Path DisclosureLow

Application Error Disclosure via WebSocketsMedium