Detailedlikelihood: Mediumseverity: HighDraft

CAPEC-43Exploiting Multiple Input Interpretation Layers

Abstraction
Detailed
Status
Draft
Likelihood
Medium
Severity
High

Description

An attacker supplies the target software with input data that contains sequences of special characters designed to bypass input validation logic. This exploit relies on the target making multiples passes over the input data and processing a "layer" of special characters with each pass. In this manner, the attacker can disguise input that would otherwise be rejected as invalid by concealing it with layers of special/escape characters that are stripped off by subsequent processing steps. The goal is to first discover cases where the input validation layer executes before one or more parsing layers. That is, user input may go through the following logic in an application: <parser1> --> <input validator> --> <parser2>. In such cases, the attacker will need to provide input that will pass through the input validator, but after passing through parser2, will be converted into something that the input validator was supposed to stop.

Related weaknesses· 10

CWE-179CWE-181CWE-184CWE-183CWE-77CWE-78CWE-74CWE-20CWE-697CWE-707

Related attack patterns· 1

CAPEC-267 (ChildOf)

Exploits10

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements used in an OS Command ('OS Command Injection')cwe-78100%live
WeaknessIncomplete List of Disallowed Inputscwe-184100%live
WeaknessImproper Input Validationcwe-20100%live
WeaknessPermissive List of Allowed Inputscwe-183100%live
WeaknessImproper Neutralizationcwe-707100%live
WeaknessIncorrect Comparisoncwe-697100%live
WeaknessImproper Neutralization of Special Elements used in a Command ('Command Injection')cwe-77100%live
WeaknessImproper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')cwe-74100%live
WeaknessIncorrect Behavior Order: Validate Before Filtercwe-181100%live
WeaknessIncorrect Behavior Order: Early Validationcwe-179100%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CAPEC
Input Data Manipulation
CAPEC
Using Leading 'Ghost' Character Sequences to Bypass Input Filters
CAPEC
Command Injection
CAPEC
Command Delimiters
CAPEC
Buffer Overflow via Parameter Expansion
CAPEC
XSS Using Doubled Characters
Sourced from MITRE CAPEC. Curated by Adam Lundqvist, SQUR.