CWEweakness
CWE-1299 Missing Protection Mechanism for Alternate Hardware Interface
- Abstraction
- Base
- Structure
- Simple
- Status
- Draft
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The lack of protections on alternate paths to access
control-protected assets (such as unprotected shadow registers
and other external facing unguarded interfaces) allows an
attacker to bypass existing protections to the asset that are
only performed against the primary path.
Extended description
An asset inside a chip might have access-control
protections through one interface. However, if all paths to
the asset are not protected, an attacker might compromise
the asset through alternate paths. These alternate paths
could be through shadow or mirror registers inside the IP
core, or could be paths from other external-facing
interfaces to the IP core or SoC.
Consider an SoC with various interfaces such as UART,
SMBUS, PCIe, USB, etc. If access control is implemented for
SoC internal registers only over the PCIe interface, then
an attacker could still modify the SoC internal registers
through alternate paths by coming through interfaces such
as UART, SMBUS, USB, etc.
Alternatively, attackers might be able to bypass
existing protections by exploiting unprotected, shadow
registers. Shadow registers and mirror registers typically
refer to registers that can be accessed from multiple
addresses. Writing to or reading from the aliased/mirrored
address has the same effect as writing to the address of
the main register. They are typically implemented within an
IP core or SoC to temporarily hold certain data. These data
will later be updated to the main register, and both
registers will be in synch. If the shadow registers are not
access-protected, attackers could simply initiate
transactions to the shadow registers and compromise system
security.
Common consequences
• Confidentiality, Integrity, Availability, Access Control: Modify Memory, Read Memory, DoS: Resource Consumption (Other), Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity, Alter Execution Logic, Bypass Protection Mechanism, Quality Degradation
Potential mitigations
• [Requirements] Protect assets from accesses against all potential interfaces and alternate paths.
• [Architecture and Design] Protect assets from accesses against all potential interfaces and alternate paths.
• [Implementation] Protect assets from accesses against all potential interfaces and alternate paths.
Observed examples
• CVE-2022-38399: Missing protection mechanism on serial connection allows for arbitrary OS command execution.
• CVE-2020-9285: Mini-PCI Express slot does not restrict direct memory access.
• CVE-2020-8004: When the internal flash is protected by blocking access on the Data Bus (DBUS), it can still be indirectly accessed through the Instruction Bus (IBUS).
• CVE-2017-18293: When GPIO is protected by blocking access
to corresponding GPIO resource registers,
protection can be bypassed by writing to the
corresponding banked GPIO registers instead.
• CVE-2020-15483: monitor device allows access to physical UART debug port without authentication
Related
Attack pattern · CAPEC (2)
Observed example · CVE (5)
- CVE-2020-9285 Some versions of Sonos One (1st and 2nd generation) allow partial or full memory access via attacker controlled hardware that can be… vulnerability
- CVE-2022-38399 Missing protection mechanism for alternate hardware interface in SmaCam CS-QR10 all versions and SmaCam Night Vision CS-QR20 all versions… vulnerability
- CVE-2020-15483 An issue was discovered on Nescomed Multipara Monitor M1000 devices. vulnerability
- CVE-2020-8004 STMicroelectronics STM32F1 devices have Incorrect Access Control. vulnerability
- CVE-2017-18293 When a particular GPIO is protected by blocking access to the corresponding GPIO resource registers, the protection can be bypassed using… vulnerability
Child of · CWE (3)
Peer of · CWE (1)
- CWE-1191 On-Chip Debug and Test Interface With Improper Access Control weakness
Referenced by CAPEC · weakness (2)
Referenced by CVE · weakness (11)
- CVE-2026-78862 An issue in Mercusys AC12 V2 allows a local attacker to execute arbitrary code via the UART serial interface on the printed circuit board… vulnerability
- CVE-2025-35998 Missing protection mechanism for alternate hardware interface in the Intel(R) Quick Assist Technology for some Intel(R) Platforms within… vulnerability
- CVE-2025-41697 An attacker can use an undocumented UART port on the PCB as a side-channel to get root access e.g. vulnerability
- CVE-2025-1073 Panasonic IR Control Hub (IR Blaster) versions 1.17 and earlier may allow an attacker with physical access to load unauthorized firmware… vulnerability
- CVE-2025-26409 A serial interface can be accessed with physical access to the PCB of Wattsense Bridge devices. vulnerability
- CVE-2024-47944 The device directly executes .patch firmware upgrade files on a USB stick without any prior authentication in the admin interface. vulnerability
- CVE-2024-39723 IBM FlashSystem 5300 USB ports may be usable even if the port has been disabled by the administrator. vulnerability
- CVE-2023-29060 The FACSChorus workstation operating system does not restrict what devices can interact with its USB ports. vulnerability
- CVE-2023-29063 The FACSChorus workstation does not prevent physical access to its PCI express (PCIe) slots, which could allow a threat actor to insert a… vulnerability
- CVE-2022-43557 The BD BodyGuard™ infusion pumps specified allow for access through the RS-232 (serial) port interface. vulnerability
- CVE-2021-3788 An exposed debug interface was reported in some Motorola-branded Binatone Hubble Cameras that could allow an attacker with physical access… vulnerability