What it is
The J2EE application stores a plaintext password in a configuration file.
Impact on systems
| Scope | Impact |
|---|---|
| Access Control | Bypass Protection Mechanism 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. |
How to prevent it
Architecture and Design
Do not hardwire passwords into your software.
Architecture and Design
Use industry standard libraries to encrypt passwords before storage in configuration files.
Source: MITRE CWE catalog · Official entry on the MITRE website