Professional Documents
Culture Documents
CWE - CWE-209_ Generation of Error Message Containing Sensitive Information (4.14)
CWE - CWE-209_ Generation of Error Message Containing Sensitive Information (4.14)
Home About ▼ CWE List ▼ Mapping ▼ Top-N Lists ▼ Community ▼ News ▼ Search
Mapping
View customized information: Conceptual Operational Complete Custom
Friendly
Description
The product generates an error message that includes sensitive information about its environment, users, or associated data.
Extended Description
The sensitive information may be valuable information on its own (such as a password), or it may be useful for launching
other, more serious attacks. The error message may be created in different ways:
self-generated: the source code explicitly constructs the error message and delivers it
externally-generated: the external environment, such as a language interpreter, handles the error and constructs its
own message, whose contents are not under direct control by the programmer
An attacker may use the contents of error messages to help launch another, more focused attack. 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.
Relationships
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name
ChildOf 755 Improper Handling of Exceptional Conditions
ChildOf 200 Exposure of Sensitive Information to an Unauthorized Actor
ParentOf 210 Self-generated Error Message Containing Sensitive Information
ParentOf 211 Externally-Generated Error Message Containing Sensitive Information
ParentOf 550 Server-generated Error Message Containing Sensitive Information
PeerOf 1295 Debug Messages Revealing Unnecessary Information
CanFollow 600 Uncaught Exception in Servlet
CanFollow 756 Missing Custom Error Page
Relevant to the view "Weaknesses for Simplified Mapping of Published Vulnerabilities" (CWE-1003)
Relevant to the view "Architectural Concepts" (CWE-1008)
Memberships
Rationale:
This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes
of vulnerabilities.
Comments:
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a
mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
Taxonomy Mappings
Content History
Submissions
Submission Date Submitter Organization
2006-07-19 CLASP
(CWE Draft 3, 2006-07-19)
Contributions
Contribution Date Contributor Organization
2022-07-11 Nick Johnston
Identified incorrect language tag in demonstrative example.
Modifications
Previous Entry Names