CWE - 109 : Struts: Validator Turned Off
|
CWE Definition
|
http://cwe.mitre.org/data/definitions/109.html
|
|
Number of vulnerabilities:
|
0
|
|
Description
|
Automatic filtering via a Struts bean has been turned off,
which disables the Struts Validator and custom validation logic. This exposes
the application to other weaknesses related to insufficient input
validation. |
|
Background Details
|
|
|
Other Notes
|
The Action Form mapping in the demonstrative example disables the form's
validate() method. The Struts bean: write tag automatically filters special
HTML characters, replacing a < with < and a > with
>. This action can be disabled by specifying filter="false" as an
attribute of the tag to disable specified JSP pages. However, being disabled
makes these pages susceptible to cross-site scripting attacks. An attacker
may be able to insert malicious scripts as user input to write to these JSP
pages. |
|
|
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.