CWE-1295 詳細資料

CWE-1295

Debug Messages Revealing Unnecessary Information
2020-08-20
00h00 +00:00
Incomplete
2026-10-28
00h00 +00:00
指定 CWE 通知
掌握特定 CWE 的任何變更。
管理通知

名稱: Debug Messages Revealing Unnecessary Information

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

一般資訊

引入方式

Implementation

適用平台

程式語言

類別: Not Language-Specific (Undetermined)

作業系統

類別: Not OS-Specific (Undetermined)

架構

類別: Not Architecture-Specific (Undetermined)

技術

類別: Not Technology-Specific (Undetermined)

常見後果

範圍 影響 可能性
Confidentiality
Integrity
Availability
Access Control
Accountability
Authentication
Authorization
Non-Repudiation
Read Memory, Bypass Protection Mechanism, Gain Privileges or Assume Identity, Varies by ContextMedium

觀察到的案例

參考資料 描述

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

潛在緩解措施

Phases : Implementation
Ensure that a debug message does not reveal any unnecessary information during the debug process for the intended response.

偵測方法

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.)

漏洞對應備注

理由說明 : This CWE entry is at the Base level of abstraction, which is a preferred level of abstraction for mapping to the root causes of vulnerabilities.
備註 : Carefully read both the name and description to ensure that this mapping is an appropriate fit. Do not try to 'force' a mapping to a lower-level Base/Variant simply to comply with this preferred level of abstraction.

相關攻擊模式

CAPEC ID 攻擊模式名稱
CAPEC-121 Exploit Non-Production Interfaces

參考資料

REF-1112

Android Security Bulletin - December 2018
https://source.android.com/docs/security/bulletin/2018-12-01

提交

名稱 機構 日期 發布日期 Version
Parbati Kumar Manna, Hareesh Khattri, Arun Kanuparthi Intel Corporation 2020-05-31 +00:00 2020-08-20 +00:00 4.2

修改記錄

名稱 機構 日期 備註
CWE Content Team MITRE 2021-07-20 +00:00 updated Observed_Examples, Related_Attack_Patterns, Relationships
CWE Content Team MITRE 2022-10-13 +00:00 updated References
CWE Content Team MITRE 2023-04-27 +00:00 updated Observed_Examples, References, Relationships
CWE Content Team MITRE 2023-06-29 +00:00 updated Mapping_Notes
CWE Content Team MITRE 2023-10-26 +00:00 updated Observed_Examples
CWE Content Team MITRE 2025-09-09 +00:00 updated References
CWE Content Team MITRE 2025-12-11 +00:00 updated Detection_Factors, Weakness_Ordinalities
CWE Content Team MITRE 2026-04-30 +00:00 updated Observed_Examples
CWE Content Team MITRE 2026-10-28 +00:00 updated Relationships