CWE-608: Struts: Non-private Field in ActionForm Class
The product uses an ActionForm class that contains a field that has not been declared private.
Last updated
Overview
CWE-608 (Struts: Non-private Field in ActionForm Class) is a variant-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Common consequences
What can happen when CWE-608 is exploited.
Modify Application Data, Read Application Data
Affects: Integrity, Confidentiality
A field that is not declared private can be accessed without using a setter or getter.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Applies to
Languages
How to prevent it
Practical mitigations for CWE-608, grouped by where in the lifecycle they apply.