CWE-102: Struts: Duplicate Validation Forms
The product uses multiple Struts validation forms with the same name.
Last updated
Overview
CWE-102 (Struts: Duplicate Validation Forms) 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.
Real-world CVEs
1 recorded CVE is caused by CWE-102 (Struts: Duplicate Validation Forms).
Common consequences
What can happen when CWE-102 is exploited.
Unexpected State
Affects: Integrity
If two validation forms have the same name, the Struts Validator arbitrarily chooses one of the forms to use for input validation and discards the other. This decision might not correspond to the programmer's expectations, possibly leading to resultant weaknesses. Moreover, it indicates that the validation logic is not up-to-date, and can indicate that other, more subtle validation errors are present.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.