CWE-179: Incorrect Behavior Order: Early Validation

BaseIncomplete

The product validates input before applying protection mechanisms that modify the input, which could allow an attacker to bypass the validation via dangerous inputs that only arise after the modification.

View on MITRE
Back to CWE Lookup

Extended Description

Product needs to validate data at the proper time, after data has been canonicalized and cleansed. Early validation is susceptible to various manipulations that result in dangerous inputs that are produced by canonicalization and cleansing.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms

Learn More