logo

CWE-532 - Insertion of Sensitive Information into Log File

CWE-532 Medium

  • Abstraction:
  • Base
  • Structure:
  • Simple
  • Status:
  • Incomplete
Weakness Name

Insertion of Sensitive Information into Log File

Description

Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.

While logging all information may be helpful during development stages, it is important that logging levels be set appropriately before a product ships so that sensitive user data and system information are not accidentally exposed to potential attackers. Different log files may be produced and stored for:

Common Consequences

Scope: Confidentiality

Impact: Read Application Data

Notes: Logging sensitive user data often provides attackers with an additional, less-protected path to acquiring the information.

Related Weaknesses
  • Release Date:
  • 2006-07-19
  • Latest Modification Date:
  • 2023-10-26

Free security scan for your website