CWE-1332Improper Handling of Faults that Lead to Instruction Skips

PUBLISHEDweakness record
released 2020-12-10 · last modified 2025-04-03

Metadata

CWE ID:
CWE-1332
摘要:
Base
结构:
Simple
状态:
Stable
发布日期:
2020-12-10
更新日期:
2025-04-03

名称

Improper Handling of Faults that Lead to Instruction Skips

描述

The device is missing or incorrectly implements circuitry or sensors that detect and mitigate the skipping of security-critical CPU instructions when they occur.

The operating conditions of hardware may change in ways that cause unexpected behavior to occur, including the skipping of security-critical CPU instructions. Generally, this can occur due to electrical disturbances or when the device operates outside of its expected conditions. In practice, application code may contain conditional branches that are security-sensitive (e.g., accepting or rejecting a user-provided password). These conditional branches are typically implemented by a single conditional branch instruction in the program binary which, if skipped, may lead to effectively flipping the branch condition - i.e., causing the wrong security-sensitive branch to be taken. This affects processes such as firmware authentication, password verification, and other security-sensitive decision points. Attackers can use fault injection techniques to alter the operating conditions of hardware so that security-critical instructions are skipped more frequently or more reliably than they would in a "natural" setting.

常见后果

范围:
Confidentiality, Integrity, Authentication
影响:
Bypass Protection Mechanism, Alter Execution Logic, Unexpected State
注释:
Depending on the context, instruction skipping can have a broad range of consequences related to the generic bypassing of security critical code.

相关 CWE