Katalog CWE

CWE-532 · Słabość

Insertion of Sensitive Information into Log File

Abstrakcja
Bazowa
Status
Niekompletny
Ryzyko wykorzystania
średnie
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 product writes sensitive information to a log file.

Skutki

  • Confidentiality

    Read Application Data

    Logging sensitive user data, full path names, or system information often provides attackers with an additional, less-protected path to acquiring the information.

Zapobieganie

  • Architecture and Design, Implementation

    Consider seriously the sensitivity of the information written into log files. Do not write secrets into the log files.

  • Distribution

    Remove debug log files before deploying the application into production.

  • Operation

    Protect log files against unauthorized read/write.

  • Implementation

    Adjust configurations appropriately when software is transitioned from a debug state to production.

Przykłady podatności

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific

Wpis z katalogu CWE 4.20.