CWE-1239 - Improper Zeroization of Hardware Register
- Abstraction:
- Variant
- Structure:
- Simple
- Status:
- Draft
- Weakness Name
Improper Zeroization of Hardware Register
- Description
The hardware product does not properly clear sensitive information from built-in registers when the user of the hardware block changes.
Hardware logic operates on data stored in registers local to the hardware block. Most hardware IPs, including cryptographic accelerators, rely on registers to buffer I/O, store intermediate values, and interface with software. The result of this is that sensitive information, such as passwords or encryption keys, can exist in locations not transparent to the user of the hardware logic. When a different entity obtains access to the IP due to a change in operating mode or conditions, the new entity can extract information belonging to the previous user if no mechanisms are in place to clear register contents. It is important to clear information stored in the hardware if a physical attack on the product is detected, or if the user of the hardware block changes. The process of clearing register contents in a hardware IP is referred to as zeroization in standards for cryptographic hardware modules such as FIPS-140-2 [REF-267].
- Common Consequences
Scope: Confidentiality
Impact: Varies by Context
Notes: The consequences will depend on the information disclosed due to the vulnerability.
- Related Weaknesses
- Release Date:
- 2020-02-24
- Latest Modification Date:
- 2024-02-29
Free online web security scanner