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
Related attack patterns· 1
Exploits10
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')cwe-78 | 100% | live |
| Weakness | Incomplete List of Disallowed Inputscwe-184 | 100% | live |
| Weakness | Improper Input Validationcwe-20 | 100% | live |
| Weakness | Permissive List of Allowed Inputscwe-183 | 100% | live |
| Weakness | Improper Neutralizationcwe-707 | 100% | live |
| Weakness | Incorrect Comparisoncwe-697 | 100% | live |
| Weakness | Improper Neutralization of Special Elements used in a Command ('Command Injection')cwe-77 | 100% | live |
| Weakness | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')cwe-74 | 100% | live |
| Weakness | Incorrect Behavior Order: Validate Before Filtercwe-181 | 100% | live |
| Weakness | Incorrect Behavior Order: Early Validationcwe-179 | 100% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.