CWE-1299: Missing Protection Mechanism for Alternate Hardware Interface
13 CVEs have CWE-1299 as their primary weakness. 0 of them are in the CISA KEV catalog. The highest EPSS score among them is 0.398%.
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.
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.
Child of CWE-420: Unprotected Alternate Channel
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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-1299'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-1299'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).