Umbra Wiki weakness weakness/CWE-1247
Back to wiki

CWE-1247 — Improper Protection Against Voltage and Clock Glitches

provenance: imported · CWE: CWE-1247

CWE-1247: Improper Protection Against Voltage and Clock Glitches

MITRE CWE weakness

Kind Weakness
Abstraction Base
Status Stable
Likelihood of exploit

Description

The device does not contain or contains incorrectly implemented circuitry or sensors to detect and mitigate voltage and clock glitches and protect sensitive information or software contained on the device.

A device might support features such as secure boot which are supplemented with hardware and firmware support. This involves establishing a chain of trust, starting with an immutable root of trust by checking the signature of the next stage (culminating with the OS and runtime software) against a golden value before transferring control. The intermediate stages typically set up the system in a secure state by configuring several access control settings. Similarly, security logic for exercising a debug or testing interface may be implemented in hardware, firmware, or both. A device needs to guard against fault attacks such as voltage glitches and clock glitches that an attacker may employ in an attempt to compromise the system.

Common consequences

  • Confidentiality, Integrity, Availability, Access Control: Gain Privileges or Assume Identity, Bypass Protection Mechanism, Read Memory, Modify Memory, Execute Unauthorized Code or Commands

Mitigations

Architecture and Design — At the circuit-level, using Tunable Replica Circuits (TRCs) or special flip-flops such as Razor flip-flops helps mitigate glitch attacks. Working at the SoC or platform base, level sensors may be implemented to detect glitches. Implementing redundancy in security-sensitive code (e.g., where checks are performed)also can help with mitigation of glitch attacks.

References

  • CWE page: https://cwe.mitre.org/data/definitions/1247.html
  • CWE list: https://cwe.mitre.org/data/index.html