Umbra Wiki weakness weakness/CWE-108
Back to wiki

CWE-108 — Struts: Unvalidated Action Form

provenance: imported · CWE: CWE-108

CWE-108: Struts: Unvalidated Action Form

MITRE CWE weakness

Kind Weakness
Abstraction Variant
Status Incomplete
Likelihood of exploit

Description

Every Action Form must have a corresponding validation form.

If a Struts Action Form Mapping specifies a form, it must have a validation form defined under the Struts Validator.

Common consequences

  • Other: Other
  • Confidentiality, Integrity, Availability, Other: Other

Mitigations

Implementation — Map every Action Form to a corresponding validation form. An action or a form may perform validation in other ways, but the Struts Validator provides an excellent way to verify that all input receives at least a basic level of validation. Without this approach, it is difficult, and often impossible, to establish with a high level of confidence that all input is validated.

References

  • CWE page: https://cwe.mitre.org/data/definitions/108.html
  • CWE list: https://cwe.mitre.org/data/index.html