CWE-1316 - Fabric-Address Map Allows Programming of Unwarranted Overlaps of Protected and Unprotected Ranges
CWE-1316
- Abstraction:
- Base
- Structure:
- Simple
- Status:
- Draft
- Weakness Name
Fabric-Address Map Allows Programming of Unwarranted Overlaps of Protected and Unprotected Ranges
- Description
The address map of the on-chip fabric has protected and unprotected regions overlapping, allowing an attacker to bypass access control to the overlapping portion of the protected region.
Various ranges can be defined in the system-address map, either in the memory or in Memory-Mapped-IO (MMIO) space. These ranges are usually defined using special range registers that contain information, such as base address and size. Address decoding is the process of determining for which range the incoming transaction is destined. To ensure isolation, ranges containing secret data are access-control protected. Occasionally, these ranges could overlap. The overlap could either be intentional (e.g. due to a limited number of range registers or limited choice in choosing size of the range) or unintentional (e.g. introduced by errors). Some hardware designs allow dynamic remapping of address ranges assigned to peripheral MMIO ranges. In such designs, intentional address overlaps can be created through misconfiguration by malicious software. When protected and unprotected ranges overlap, an attacker could send a transaction and potentially compromise the protections in place, violating the principle of least privilege.
- Common Consequences
Scope: Confidentiality, Integrity, Access Control, Authorization
Impact: Bypass Protection Mechanism, Read Memory, Modify Memory
- Related Weaknesses
- Release Date:
- 2020-12-10
- Latest Modification Date:
- 2023-06-29
Free security scan for your website