CWEweakness

CWE-1295 Debug Messages Revealing Unnecessary Information

Official page ↗
Abstraction
Base
Structure
Simple
Status
Incomplete
Languages
Not Language-Specific
CWE version
5.0

Description

The product fails to adequately prevent the revealing of unnecessary and potentially sensitive system information within debugging messages.

Extended description

Debug messages are messages that help troubleshoot an issue by revealing the internal state of the system. For example, debug data in design can be exposed through internal memory array dumps or boot logs through interfaces like UART via TAP commands, scan chain, etc. Thus, the more information contained in a debug message, the easier it is to debug. However, there is also the risk of revealing information that could help an attacker either decipher a vulnerability, and/or gain a better understanding of the system. Thus, this extra information could lower the "security by obscurity" factor. While "security by obscurity" alone is insufficient, it can help as a part of "Defense-in-depth".

Common consequences

• Confidentiality, Integrity, Availability, Access Control, Accountability, Authentication, Authorization, Non-Repudiation: Read Memory, Bypass Protection Mechanism, Gain Privileges or Assume Identity, Varies by Context

Potential mitigations

• [Implementation] Ensure that a debug message does not reveal any unnecessary information during the debug process for the intended response.

Detection methods

• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Observed examples

• CVE-2022-34364: Java-based SDK for TLS has a debug message with unnecessary information • CVE-2021-25476: Digital Rights Management (DRM) capability for mobile platform leaks pointer information, simplifying ASLR bypass • CVE-2020-24491: Processor generates debug message that contains sensitive information ("addresses of memory transactions"). • CVE-2017-18326: modem debug messages include cryptographic keys

Related

Attack pattern · CAPEC (1)

  • CAPEC-121 Exploit Non-Production Interfaces attack pattern

Observed example · CVE (4)

  • CVE-2022-34364 Dell BSAFE SSL-J, versions before 6.5 and version 7.0 contain a debug message revealing unnecessary information vulnerability. vulnerability
  • CVE-2021-25476 An information disclosure vulnerability in Widevine TA log prior to SMR Oct-2021 Release 1 allows attackers to bypass the ASLR protection… vulnerability
  • CVE-2020-24491 Debug message containing addresses of memory transactions in some Intel(R) 10th Generation Core Processors supporting SGX may allow a… vulnerability
  • CVE-2017-18326 Cryptographic keys are printed in modem debug messages in snapdragon mobile and snapdragon wear in versions MDM9607, MDM9615, MDM9625,… vulnerability

Child of · CWE (1)

  • CWE-215 Insertion of Sensitive Information Into Debugging Code weakness

Peer of · CWE (1)

  • CWE-209 Generation of Error Message Containing Sensitive Information weakness

Referenced by CAPEC · weakness (1)

  • CAPEC-121 Exploit Non-Production Interfaces attack pattern

Referenced by CVE · weakness (22)

  • CVE-2026-28811 Debug Messages Revealing Unnecessary Information in Apache JSPWiki up to 2.12.3. vulnerability
  • CVE-2026-48797 Backpropagate is a Python library for fine-tuning large language models on a single GPU. vulnerability
  • CVE-2025-59109 The dormakaba registration units 9002 (PIN Pad Units) have an exposed UART header on the backside. vulnerability
  • CVE-2025-46775 A debug messages revealing unnecessary information vulnerability in Fortinet FortiExtender 7.6.0 through 7.6.1, FortiExtender 7.4.0 through… vulnerability
  • CVE-2025-12910 Inappropriate implementation in Passkeys in Google Chrome prior to 140.0.7339.80 allowed a local attacker to obtain potentially sensitive… vulnerability
  • CVE-2025-35031 Medical Informatics Engineering Enterprise Health includes the user's current session token in debug output. vulnerability
  • CVE-2025-42604 This vulnerability exists in Meon KYC solutions due to debug mode is enabled in certain API endpoints. vulnerability
  • CVE-2025-2469 An issue has been discovered in GitLab CE/EE affecting all versions from 17.9 before 17.9.6, and 17.10 before 17.10.4. vulnerability
  • CVE-2025-31001 Debug Messages Revealing Unnecessary Information vulnerability in TLA Media GTM Kit gtm-kit allows Retrieve Embedded Sensitive Data.This… vulnerability
  • CVE-2025-2877 A flaw was found in the Ansible Automation Platform's Event-Driven Ansible. vulnerability
  • CVE-2025-20643 In DA, there is a possible out of bounds read due to a missing bounds check. vulnerability
  • CVE-2024-11217 A vulnerability was found in the OAuth-server. vulnerability
  • CVE-2024-45784 Apache Airflow versions before 2.10.3 contain a vulnerability that could expose sensitive configuration variables in task logs. vulnerability
  • CVE-2024-38516 ai-client-html is an Aimeos e-commerce HTML client component. vulnerability
  • CVE-2024-27179 Admin cookies are written in clear-text in logs. vulnerability
  • CVE-2023-5392 C300 information leak due to an analysis feature which allows extracting more memory over the network than required by the function. vulnerability
  • CVE-2023-28077 Dell BSAFE SSL-J, versions prior to 6.5, and versions 7.0 and 7.1 contain a debug message revealing unnecessary information vulnerability. vulnerability
  • CVE-2023-4215 Advantech WebAccess version 9.1.3 contains an exposure of sensitive information to an unauthorized actor vulnerability that could leak user… vulnerability
  • CVE-2022-27597 A vulnerability has been reported to affect QNAP operating systems. vulnerability
  • CVE-2022-34364 Dell BSAFE SSL-J, versions before 6.5 and version 7.0 contain a debug message revealing unnecessary information vulnerability. vulnerability
  • CVE-2021-25476 An information disclosure vulnerability in Widevine TA log prior to SMR Oct-2021 Release 1 allows attackers to bypass the ASLR protection… vulnerability
  • CVE-2021-31412 Improper sanitization of path in default RouteNotFoundError view in com.vaadin:flow-server versions 1.0.0 through 1.0.14 (Vaadin 10.0.0… vulnerability