CWEweakness
CWE-1274 Improper Access Control for Volatile Memory Containing Boot Code
- Abstraction
- Base
- Structure
- Simple
- Status
- Stable
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product conducts a secure-boot process that transfers bootloader code from Non-Volatile Memory (NVM) into Volatile Memory (VM), but it does not have sufficient access control or other protections for the Volatile Memory.
Common consequences
• Access Control, Integrity: Modify Memory, Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity — If the volatile-memory-region protections or access controls are insufficient to prevent modifications from an adversary or untrusted agent, the secure boot may be bypassed or replaced with the execution of an adversary's own code.
Potential mitigations
• [Architecture and Design] Ensure that the design of volatile-memory protections is enough to prevent modification from an adversary or untrusted code.
• [Testing] Test the volatile-memory protections to ensure they are safe from modification or untrusted code.
Detection methods
• Manual Analysis: Ensure the volatile memory is lockable or has locks. Ensure the volatile memory is locked for writes from untrusted agents or adversaries. Try modifying the volatile memory from an untrusted agent, and ensure these writes are dropped.
• Manual Analysis: Analyze the device using the following steps:
• Identify all fabric master agents that are active during system Boot Flow when initial code is loaded from Non-volatile storage to volatile memory.
• Identify the volatile memory regions that are used for storing loaded system executable program.
• During system boot, test programming the identified memory regions in step 2 from all the masters identified in step 1.
Only trusted masters should be allowed to write to the memory regions. For example, pluggable device peripherals should not have write access to program load memory regions.
Observed examples
• CVE-2019-2267: Locked memory regions may be modified through other interfaces in a secure-boot-loader image due to improper access control.
Related
Attack pattern · CAPEC (2)
Observed example · CVE (1)
- CVE-2019-2267 Locked regions may be modified through other interfaces in secure boot loader image due to improper access control. vulnerability
Child of · CWE (1)
- CWE-284 Improper Access Control weakness
Referenced by CAPEC · weakness (2)
Referenced by CVE · weakness (9)
- CVE-2024-36345 Improper input validation in the AMD OverDrive (AOD) System Management Mode (SMM) module could allow a privileged attacker to perform an… vulnerability
- CVE-2025-29950 Improper input validation in system management mode (SMM) could allow a privileged attacker to overwrite stack memory leading to arbitrary… vulnerability
- CVE-2025-65396 A vulnerability in the boot process of Blurams Flare Camera version 24.1114.151.929 and earlier allows a physically proximate attacker to… vulnerability
- CVE-2025-59694 The Chassis Management Board in Entrust nShield Connect XC, nShield 5c, and nShield HSMi through 13.6.11, or 13.7 (patched in 13.6.12 (LTS)… vulnerability
- CVE-2025-59404 Flock Safety Bravo Edge AI Compute Device BRAVO_00.00_local_20241017 ships with its bootloader unlocked. vulnerability
- CVE-2025-4043 An admin user can gain unauthorized write access to the /etc/rc.local file on the device, which is executed on a system boot. vulnerability
- CVE-2023-31345 Improper input validation in the SMM handler may allow a privileged attacker to overwrite SMRAM, potentially leading to arbitrary code… vulnerability
- CVE-2022-2482 A vulnerability exists in Nokia’s ASIK AirScale system module (versions 474021A.101 and 474021A.102) that could allow an attacker to place… vulnerability
- CVE-2022-2484 The signature check in the Nokia ASIK AirScale system module version 474021A.101 can be bypassed allowing an attacker to run modified… vulnerability
Referenced by CWE · has member (1)
- CWE-1343 Weaknesses in the 2021 CWE Most Important Hardware Weaknesses List view