CWE - 102 : Struts: Duplicate Validation Forms
|
CWE Definition
|
http://cwe.mitre.org/data/definitions/102.html
|
|
Number of vulnerabilities:
|
0
|
|
Description
|
The application uses multiple validation forms with the same
name, which might cause the Struts Validator to validate a form that the
programmer does not expect.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. |
|
Background Details
|
Unchecked input is the root cause of some of today's worst and most common
software security problems. Cross-site scripting, SQL injection, and process
control vulnerabilities can all stem from incomplete or absent input
validation. |
|
Other Notes
|
|
|
|
Warning! CWE definitions are provided as a quick reference. They are
not complete and may not be up to date!
You must visit
http://cwe.mitre.org/ for a complete list of CWE entries
and for more details.