CWE-109 — Struts: Validator Turned Off
CWE-109: Struts: Validator Turned Off
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Variant |
| Status | Draft |
| Likelihood of exploit | — |
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.
Common consequences
- Access Control: Bypass Protection Mechanism
Mitigations
Implementation — Ensure that an action form mapping enables validation. Set the validate field to true.
References
- CWE page: https://cwe.mitre.org/data/definitions/109.html
- CWE list: https://cwe.mitre.org/data/index.html