CWE-1258 — Exposure of Sensitive System Information Due to Uncleared Debug Information
CWE-1258: Exposure of Sensitive System Information Due to Uncleared Debug Information
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Draft |
| Likelihood of exploit | — |
Description
The hardware does not fully clear security-sensitive values, such as keys and intermediate values in cryptographic operations, when debug mode is entered.
Security sensitive values, keys, intermediate steps of cryptographic operations, etc. are stored in temporary registers in the hardware. If these values are not cleared when debug mode is entered they may be accessed by a debugger allowing sensitive information to be accessible by untrusted parties.
Common consequences
- Confidentiality: Read Memory
- Access Control: Bypass Protection Mechanism
Mitigations
Architecture and Design — Whenever debug mode is enabled, all registers containing sensitive assets must be cleared.
References
- CWE page: https://cwe.mitre.org/data/definitions/1258.html
- CWE list: https://cwe.mitre.org/data/index.html
See all 1,245 pages under Weakness classes (CWE) →
Related pages
Browse by topic
Every page in the corpus, grouped. Search finds one page; this shows what else is here.