403
Phase: Implementation
Strategy = Input Validation
Inputs should be decoded and canonicalized to the application's current internal representation
before being validated (CWE-180). Make sure that the application does not decode the same
input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by
introducing dangerous inputs after they have been checked.
Observed Examples
Reference Description
CVE-2005-0129 "%" variable is expanded by wildcard function into disallowed commands.
https://www.cve.org/CVERecord?id=CVE-2005-0129
CVE-2002-0770 Server trusts client to expand macros, allows macro characters to be
expanded to trigger resultant information exposure.
https://www.cve.org/CVERecord?id=CVE-2002-0770
MemberOf Relationships
This MemberOf relationships table shows additional CWE Catgeories and Views that reference this
weakness as a member. This information is often useful in understanding where a weakness fits
within the context of external information sources.
Nature Type ID Name Page
MemberOf 990 SFP Secondary Cluster: Tainted Input to Command 888 2413
MemberOf 1407 Comprehensive Categorization: Improper Neutralization 1400 2532
Notes
Research Gap
Under-studied.
Taxonomy Mappings
Mapped Taxonomy Name Node ID Fit Mapped Node Name
PLOVER Variable Name Delimiter
Software Fault Patterns SFP24 Tainted input to command
Related Attack Patterns
CAPEC-ID Attack Pattern Name
15 Command Delimiters
CWE-155: Improper Neutralization of Wildcards or Matching Symbols
Weakness ID : 155
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 wildcards or matching symbols when they
are sent to a downstream component.
Extended Description
As data is parsed, an injected element 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
CWE Version 4.14
CWE-155: Improper Neutralization of Wildcards or Matching Symbols
CWE-155: Improper Neutralization of Wildcards or Matching Symbols