Weakness · Medium

CWE-1318: Missing Support for Security Features in On-chip Fabrics or Buses

What it is

On-chip fabrics or buses either do not support or are not configured to support privilege separation or other security features, such as access control.

MITRE CWE 4.19.1

Severity (our rating)
Medium
Likelihood of exploit
Not rated by MITRE
Introduced during
Architecture and Design, Implementation
Exploited in the wild
No CVE in CISA's catalog

In more detail

Certain on-chip fabrics and buses, especially simple and low-power buses, do not support security features. Apart from data transfer and addressing ports, some fabrics and buses do not have any interfaces to transfer privilege, immutable identity, or any other security attribute coming from the bus master. Similarly, they do not have dedicated signals to transport security-sensitive data from slave to master, such as completions for certain types of transactions. Few other on-chip fabrics and buses support security features and define specific interfaces/signals for transporting security attributes from master to slave or vice-versa. However, including these signals is not mandatory and could be left unconfigured when generating the register-transfer-level (RTL) description for the fabric. Such fabrics or buses should not be used to transport any security attribute coming from the bus master. In general, peripherals with security assets should not be connected to such buses before the transaction from the bus master reaches the bus, unless some form of access control is performed at a fabric bridge or another intermediate module.

What an attacker can do

  • DoS: Crash, Exit, or Restart (Confidentiality, Integrity, Access Control, Availability)
  • Read Memory (Confidentiality, Integrity, Access Control, Availability)
  • Modify Memory (Confidentiality, Integrity, Access Control, Availability)

How to prevent it

Architecture and Design

  • If fabric does not support security features, implement security checks in a bridge or any component that is between the master and the fabric. Alternatively, connect all fabric slaves that do not have any security assets under one such fabric and connect peripherals with security assets to a different fabric that supports security features.

How to find it

  • Architecture or Design Review. Review the fabric specification and ensure that it contains signals to transfer security-sensitive signals.
  • Manual Static Analysis - Source Code. Lack of security features can also be confirmed through manual RTL review of the fabric RTL.

CWE-1318 on MITRE's CWE site

H2 Security

Found it in your code?

We review where it appears, fix it with your team, and check it was not already used against you.

Talk to our team

T Academy

Stop writing it in the first place

Learn to build software and systems without weaknesses like this one, with practice on real hosts in your browser, every objective checked on the machine.

Start free

Source: MITRE Common Weakness Enumeration, CWE version 4.19.1. CWE is a trademark of The MITRE Corporation.