CWEweakness
CWE-1262 Improper Access Control for Register Interface
- Abstraction
- Base
- Structure
- Simple
- Status
- Stable
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product uses memory-mapped I/O registers that act as an interface to hardware functionality from software, but there is improper access control to those registers.
Extended description
Software commonly accesses peripherals in a System-on-Chip (SoC) or other device through a memory-mapped register interface. Malicious software could tamper with any security-critical hardware data that is accessible directly or indirectly through the register interface, which could lead to a loss of confidentiality and integrity.
Common consequences
• Confidentiality, Integrity: Read Memory, Read Application Data, Modify Memory, Modify Application Data, Gain Privileges or Assume Identity, Bypass Protection Mechanism, Unexpected State, Alter Execution Logic — Confidentiality of hardware assets may be violated if the protected information can be read out by software through the register interface. Registers storing security state, settings, other security-critical data may be corruptible by software without correctly implemented protections.
Potential mitigations
• [Architecture and Design] Design proper policies for hardware register access from software.
• [Implementation] Ensure that access control policies for register access are implemented in accordance with the specified design.
Detection methods
• Manual Analysis: This is applicable in the Architecture phase before implementation started. Make sure access policy is specified for the entire memory map. Manual analysis may not ensure the implementation is correct.
• Manual Analysis: Registers controlling hardware should have access control implemented. This access control may be checked manually for correct implementation. Items to check consist of how are trusted parties set, how are trusted parties verified, how are accesses verified, etc. Effectiveness of a manual analysis will vary depending upon how complicated the interface is constructed.
• Simulation / Emulation: Functional simulation is applicable during the Implementation Phase. Testcases must be created and executed for memory mapped registers to verify adherence to the access control policy. This method can be effective, since functional verification needs to be performed on the design, and verification for this weakness will be included. There can be difficulty covering the entire memory space during the test.
• Formal Verification: Formal verification is applicable during the Implementation phase. Assertions need to be created in order to capture illegal register access scenarios and prove that they cannot occur. Formal methods are exhaustive and can be very effective, but creating the cases for large designs may be complex and difficult.
• Automated Analysis: Information flow tracking can be applicable during the Implementation phase. Security sensitive data (assets) - for example, as stored in registers - is automatically tracked over time through the design to verify the data doesn't reach illegal destinations that violate the access policies for the memory map. This method can be very effective when used together with simulation and emulation, since detecting violations doesn't rely on specific scenarios or data values. This method does rely on simulation and emulation, so testcases must exist in order to use this method.
• Architecture or Design Review: Manual documentation review of the system memory map, register specification, and permissions associated with accessing security-relevant functionality exposed via memory-mapped registers.
• Fuzzing: Perform penetration testing (either manual or semi-automated with fuzzing) to verify that access control mechanisms such as the memory protection units or on-chip bus firewall settings adequately protect critical hardware registers from software access.
Observed examples
• CVE-2014-2915: virtualization product does not restrict access to debug and other processor registers in the hardware, allowing a crash of the host or guest OS
• CVE-2021-3011: virtual interrupt controller in a virtualization product allows crash of host by writing a certain invalid value to a register, which triggers a fatal error instead of returning an error code
• CVE-2020-12446: Driver exposes access to Model Specific Register (MSR) registers, allowing admin privileges.
• CVE-2015-2150: Virtualization product does not restrict access to PCI command registers, allowing host crash from the guest.
Related
Attack pattern · CAPEC (1)
- CAPEC-680 Exploitation of Improperly Controlled Registers attack pattern
Observed example · CVE (4)
- CVE-2021-3011 An electromagnetic-wave side-channel issue was discovered on NXP SmartMX / P5x security microcontrollers and A7x secure authentication… vulnerability
- CVE-2020-12446 The ene.sys driver in G.SKILL Trident Z Lighting Control through 1.00.08 exposes mapping and un-mapping of physical memory, reading and… vulnerability
- CVE-2015-2150 Xen 3.3.x through 4.5.x and the Linux kernel through 3.19.1 do not properly restrict access to PCI command registers, which might allow… vulnerability
- CVE-2014-2915 Xen 4.4.x, when running on ARM systems, does not properly restrict access to hardware features, which allows local guest users to cause a… vulnerability
Child of · CWE (2)
Peer of · CWE (1)
- CWE-1299 Missing Protection Mechanism for Alternate Hardware Interface weakness
Referenced by CAPEC · weakness (1)
- CAPEC-680 Exploitation of Improperly Controlled Registers attack pattern
Referenced by CVE · weakness (12)
- CVE-2025-33207 NVIDIA ConnectX and Bluefield contain a vulnerability in a control register, where a user with VF access could cause improper access… vulnerability
- CVE-2025-54509 Improper access control for register interface in the Input-Output Memory Management Unit (IOMMU) could allow a privileged attacker to… vulnerability
- CVE-2025-47385 Memory Corruption when accessing trusted execution environment without proper privilege check. vulnerability
- CVE-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… vulnerability
- CVE-2025-20788 In GPU pdma, there is a possible memory corruption due to a missing permission check. vulnerability
- CVE-2023-20599 Improper register access control in ASP may allow a privileged attacker to perform unauthorized access to ASP’s Crypto Co-Processor (CCP)… vulnerability
- CVE-2024-45556 Cryptographic issue may arise because the access control configuration permits Linux to read key registers in TCSR. vulnerability
- CVE-2024-57492 An issue in redoxOS relibc before commit 98aa4ea5 allows a local attacker to cause a denial of service via the round_up_to_page funciton. vulnerability
- CVE-2025-1882 A vulnerability was found in i-Drive i11 and i12 up to 20250227. vulnerability
- CVE-2024-6354 Improper access control in PAM dashboard in Devolutions Remote Desktop Manager 2024.2.11 and earlier on Windows allows an authenticated… vulnerability
- CVE-2022-23005 Western Digital has identified a weakness in the UFS standard that could result in a security vulnerability. vulnerability
- CVE-2015-8325 The do_setup_env function in session.c in sshd in OpenSSH through 7.2p2, when the UseLogin feature is enabled and PAM is configured to read… vulnerability
Referenced by CWE · has member (1)
- CWE-1432 Weaknesses in the 2025 CWE Most Important Hardware Weaknesses List view