CWEweakness

CWE-110 Struts: Validator Without Form Field

Official page ↗
Abstraction
Variant
Structure
Simple
Status
Draft
Languages
Java
CWE version
5.0

Description

Validation fields that do not appear in forms they are associated with indicate that the validation logic is out of date.

Common consequences

• Other: Other — It is critically important that validation logic be maintained and kept in sync with the rest of the application. 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 all stem from incomplete or absent input validation.

Detection methods

• Automated Static Analysis: To find the issue in the implementation, manual checks or automated static analysis could be applied to the XML configuration files. • Manual Static Analysis: To find the issue in the implementation, manual checks or automated static analysis could be applied to the XML configuration files.

Related

Child of · CWE (2)

  • CWE-1164 Irrelevant Code weakness
  • CWE-20 Improper Input Validation weakness