394
Mapped Taxonomy Name Node ID Fit Mapped Node Name
Software Fault Patterns SFP24 Tainted input to command
Related Attack Patterns
CAPEC-ID Attack Pattern Name
468 Generic Cross-Browser Cross-Domain Theft
CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
Weakness ID : 150
Structure : Simple
Abstraction : Variant
Description
The product receives input from an upstream component, but it does not neutralize or incorrectly
neutralizes special elements that could be interpreted as escape, meta, or control character
sequences when they are sent to a downstream component.
Extended Description
As data is parsed, an injected/absent/malformed delimiter may cause the process to take
unexpected actions.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 138 Improper Neutralization of Special Elements 373
Relevant to the view "Architectural Concepts" (CWE-1008)
Nature Type ID Name Page
MemberOf 1019 Validate Inputs 2433
Applicable Platforms
Language : Not Language-Specific (Prevalence = Undetermined)
Common Consequences
Scope Impact Likelihood
Integrity Unexpected State
Potential Mitigations
Developers should anticipate that escape, meta and control characters/sequences will be
injected/removed/manipulated in the input vectors of their product. Use an appropriate
combination of denylists and allowlists to ensure only valid, expected and appropriate input is
processed by the system.
Phase: Implementation
Strategy = Input Validation
Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use
a list of acceptable inputs that strictly conform to specifications. Reject any input that does not
strictly conform to specifications, or transform it into something that does. When performing
CWE Version 4.14
CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences