cve.bz

CAPEC-680

Exploitation of Improperly Controlled Registers

High severityMedium likelihoodDetailed pattern

An adversary exploits missing or incorrectly configured access control within registers to read/write data that is not meant to be obtained or modified by a user.

On this page

Hardware systems often utilize trusted lock bits to prevent a set of registers from being written to or to restrict a register to only being written to once. Registers are also frequently used to store sensitive data leveraged in additional security operations, such as secure booting, authenticating code, device attestation, and more. However, the access control mechanisms meant to protect these registers may be fully missing or ineffective due to misconfiguration. If an adversary is able to discover improper access controls surrounding registers, it could result in the adversary obtaining sensitive data and/or modifying data that is meant to be immutable. This can ultimately result in processes like secure boot being circumvented or in protected configurations being modified.

Ask an AI about this attack pattern

Show the promptExplain the attack pattern CAPEC-680: Exploitation of Improperly Controlled Registers: how it unfolds, what it needs and how to prevent and detect it in my systems. Use https://capec.mitre.org/data/definitions/680.html and https://cve.bz/cve/capec/680?via=ask-ai-copy, which lists recent CVEs with the weaknesses it exploits. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this attack pattern's id and public links.

Prerequisites

  • Awareness of the hardware being leveraged.

  • Access to the hardware being leveraged.

Skills required

  • High skill

    Intricate knowledge of registers.

Consequences

What a successful attack can lead to
ImpactAffectsNote
Modify DataIntegrity
Read DataConfidentiality

Mitigations

  • Design proper access control policies for hardware register access from software and ensure these policies are implemented in accordance with the specified design.

  • Ensure security lock bit protections are reviewed for design inconsistencies and common weaknesses.

  • Test security lock programming flow in both pre-silicon and post-silicon environments.

  • Leverage automated tools to test that values are not reprogrammable and that write-once fields lock on writing zeros.

  • Ensure that measurement data is stored in registers that are read-only or otherwise have access controls that prevent modification by an untrusted agent.

Weaknesses it exploits

  • CWE-1224 Improper Restriction of Write-Once Bit Fields
  • CWE-1231 Improper Prevention of Lock Bit Modification
  • CWE-1233 Security-Sensitive Hardware Controls with Missing Lock Bit Protection
  • CWE-1262 Improper Access Control for Register Interface
  • CWE-1283 Mutable Attestation or Measurement Reporting Data

Recent CVEs with these weaknesses

  1. 6.8CVE-2025-33207

    NVIDIA ConnectX and Bluefield contain a vulnerability in a control register, where a user with VF access could cause improper access control for the register interface by sending a malicious command to the firmware. A successful exploit of…

  2. 4.0CVE-2025-54509

    Improper access control for register interface in the Input-Output Memory Management Unit (IOMMU) could allow a privileged attacker to cause non-coherent accesses by the AMD Secure Processor (ASP), potentially resulting in loss of integrit…

  3. 8.5CVE-2025-61972

    Missing lock bit protection for NBIO registers could allow a local admin-privileged attacker to gain arbitrary System Management Network (SMN) access, potentially resulting in arbitrary code execution in AMD Secure Processor (ASP) and loss…

  4. 5.9CVE-2025-61971

    Missing lock bit protection for NBIO registers could allow a local admin-privileged attacker to modify MMIO routing configurations, potentially resulting in loss of SEV-SNP guest integrity.

  5. 7.8CVE-2025-47385

    Memory Corruption when accessing trusted execution environment without proper privilege check.

  6. 6.7CVE-2025-52536

    Improper Prevention of Lock Bit Modification in SEV firmware could allow a privileged attacker to downgrade firmware potentially resulting in a loss of integrity.

  7. 3.3CVE-2025-36194

    IBM PowerVM Hypervisor FW1110.00 through FW1110.03, FW1060.00 through FW1060.51, and FW950.00 through FW950.F0 may expose a limited amount of data to a peer partition in specific shared processor configurations during certain operations.

  8. 4.4CVE-2025-20788

    In GPU pdma, there is a possible memory corruption due to a missing permission check. This could lead to local denial of service with no additional execution privileges needed. User interaction is needed for exploitation. Patch ID: ALPS101…

The newest records naming one of them. Each weakness's page lists them all.

Part of
  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels

Examples

During a System-on-Chip's (SoC) secure boot process, the code to be authenticated is measured to determine th…

During a System-on-Chip's (SoC) secure boot process, the code to be authenticated is measured to determine the code's validity. This entails the one-way hash of the code binary being calculated and extended to the previous hash. The value obtained after completion of the boot flow is then stored in a register with the intent of later verifying this value to determine if the boot flow has been tampered with. However, the register being used does not prevent an adversary from modifying the register's contents, which can result in the adversary spoofing the measurement data used in the attestation process.

MITRE's words, unchanged: CAPEC-680 at MITRE. CAPEC is Copyright © 2007–2026, The MITRE Corporation, used under the CAPEC terms of use: “The MITRE Corporation (MITRE) hereby grants you a non-exclusive, royalty-free license to use Common Attack Pattern Enumeration and Classification (CAPEC™) for research, development, and commercial purposes. Any copy you make for such purposes is authorized provided that you reproduce MITRE’s copyright designation and this license in any such copy.” CAPEC and the CAPEC logo are trademarks of The MITRE Corporation. Credits. All attack patterns.