CWE-180 - Incorrect Behavior Order: Validate Before Canonicalize
- Abstraction:Variant
- Structure:Simple
- Status:Draft
- Release Date:2006-07-19
- Latest Modification Date:2023-06-29
Weakness Name
Incorrect Behavior Order: Validate Before Canonicalize
Description
The product validates input before it is canonicalized, which prevents the product from detecting data that becomes invalid after the canonicalization step.
This can be used by an attacker to bypass the validation and launch attacks that expose weaknesses that would otherwise be prevented, such as injection.
Common Consequences
Scope: Access Control
Impact: Bypass Protection Mechanism