CWEweakness
CWE-1317 Improper Access Control in Fabric Bridge
- Abstraction
- Base
- Structure
- Simple
- Status
- Draft
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product uses a fabric bridge for transactions between two Intellectual Property (IP) blocks, but the bridge does not properly perform the expected privilege, identity, or other access control checks between those IP blocks.
Extended description
For overall system security, it is important that the access-control privileges associated with any fabric transaction are consistently maintained and applied, even when they are routed or translated by a fabric bridge. A bridge that is connected to a fabric without security features forwards transactions to the slave without checking the privilege level of the master and results in a weakness in SoC access-control security. The same weakness occurs if a bridge does not check the hardware identity of the transaction received from the slave interface of the bridge.
Common consequences
• Confidentiality, Integrity, Access Control, Availability: DoS: Crash, Exit, or Restart, Bypass Protection Mechanism, Read Memory, Modify Memory
Potential mitigations
• [Architecture and Design] Ensure that the design includes provisions for access-control checks in the bridge for both upstream and downstream transactions.
• [Implementation] Implement access-control checks in the bridge for both upstream and downstream transactions.
Detection methods
• Simulation / Emulation: RTL simulation to ensure that bridge-access controls are implemented properly.
• Formal Verification: Formal verification of bridge RTL to ensure that access control cannot be bypassed.
Observed examples
• CVE-2019-6260: Baseboard Management Controller (BMC) device implements Advanced High-performance Bus (AHB) bridges that do not require authentication for arbitrary read and write access to the BMC's physical address space from the host, and possibly the network [REF-1138].
Related
Attack pattern · CAPEC (1)
- CAPEC-122 Privilege Abuse attack pattern
Observed example · CVE (1)
- CVE-2019-6260 The ASPEED ast2400 and ast2500 Baseband Management Controller (BMC) hardware and firmware implement Advanced High-performance Bus (AHB)… vulnerability
Child of · CWE (1)
- CWE-284 Improper Access Control weakness
Referenced by CAPEC · weakness (1)
- CAPEC-122 Privilege Abuse attack pattern