CWE-555 · Słabość
J2EE Misconfiguration: Plaintext Password in Configuration File
- Abstrakcja
- Wariant
- Status
- Szkic
- Dodano
- 19 lipca 2006
- Ostatnia zmiana
- 11 grudnia 2025
Opis
The J2EE application stores a plaintext password in a configuration file.
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.
Skutki
Access Control
Bypass Protection Mechanism
Zapobieganie
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.
Słabość nadrzędna
Kiedy powstaje
- Architecture and Design
- Implementation
Dotyczy
Java
Wpis z katalogu CWE 4.20.