CWE-594
Weakness AllowedJ2EE Framework: Saving Unserializable Objects to Disk
Abstraction: Variant · Status: Incomplete
The J2EE container attempts to write unserializable objects to disk.
In heavy load conditions, most J2EE application frameworks flush objects to disk to manage memory requirements of incoming requests. For example, session scoped objects, and even application scoped objects, are written to disk when required. While these application frameworks do the real work of writing objects to disk, they do not enforce that those objects be serializable, thus leaving the web application vulnerable to crashes induced by serialization failure. An attacker may be able to mount a denial of service attack by sending enough requests to the server to force the web application to save objects to disk.
Mapping guidance
This CWE entry is at the Variant level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.
Modes of introduction
Content history
Submitted by members of the CWE community to extend early CWE versions
updated Time_of_Introduction
updated Common_Consequences, Relationships, Other_Notes
updated Demonstrative_Examples
updated Common_Consequences
updated Relationships
updated Potential_Mitigations
updated Description, Other_Notes
updated Relationships, Taxonomy_Mappings
updated Relationships
updated Weakness_Ordinalities
updated Relationships
updated Relationships, Time_of_Introduction
updated Mapping_Notes
updated Relationships
updated Applicable_Platforms
updated Common_Consequences, Description
0 vulnerabilities reference this CWE, most recent first.
No vulnerabilities reference this CWE.
Mitigation
All objects that become part of session and application scope must implement the java.io.Serializable interface to ensure serializability of containing objects.
No CAPEC attack patterns related to this CWE.