Serializable Class Containing Sensitive Data
CWE-499
The code contains a class with sensitive data, but the class does not explicitly deny serialization.
We track 1 vulnerability of this type. 100% are rated high or critical, and the average CVSS score is 8.1.
How this weakness is prevented
- Implementation: In Java, explicitly define final writeObject() to prevent serialization. This is the recommended solution. Define the writeObject() function to throw an exception explicitly denying serialization.
- Implementation: Make sure to prevent serialization of your objects.
Latest Serializable Class Containing Sensitive Data vulnerabilities
- 8.1 High severity
CraftCMS Plugin - Two-Factor Authentication: Insufficiently Protected Credentials
The CraftCMS plugin Two-Factor Authentication in versions 3.3.1, 3.3.2 and 3.3.3 discloses the password hash of the currently authenticated user after submitting a valid TOTP.