CWE-174: Double Decoding of the Same Data
The product decodes the same input twice, which can limit the effectiveness of any protection mechanism that occurs in between the decoding operations.
Last updated
Overview
CWE-174 (Double Decoding of the Same Data) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Common consequences
What can happen when CWE-174 is exploited.
Bypass Protection Mechanism, Execute Unauthorized Code or Commands, Varies by Context
Affects: Access Control, Confidentiality, Availability, Integrity, Other
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to prevent it
Practical mitigations for CWE-174, grouped by where in the lifecycle they apply.
Avoid making decisions based on names of resources (e.g. files) if those resources can have alternate names.