J2EE Misconfiguration: Plaintext Password in Configuration File
CWE-555
Short description
The J2EE application stores a plaintext password in a configuration file.
Extended description
Storing a plaintext password in a configuration file allows anyone who can read the file to access the password-protected resource, making it an easy target for attackers.
Best practices to prevent this CWE
Phase: Architecture and Design
Do not hardwire passwords into your software.
Phase: Architecture and Design
Use industry standard libraries to encrypt passwords before storage in configuration files.