Katalog CWE

CWE-555 · Słabość

J2EE Misconfiguration: Plaintext Password in Configuration File

Abstrakcja
Wariant
Status
Szkic
Dodano
19 lipca 2006
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

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

Dotyczy

Java

Wpis z katalogu CWE 4.20.