CWE-1318: Missing Support for Security Features in On-chip Fabrics or Buses
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.
Last updated
Overview
CWE-1318 (Missing Support for Security Features in On-chip Fabrics or Buses) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Common consequences
What can happen when CWE-1318 is exploited.
DoS: Crash, Exit, or Restart, Read Memory, Modify Memory
Affects: Confidentiality, Integrity, Access Control, Availability
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Applies to
Technologies
How to prevent it
Practical mitigations for CWE-1318, grouped by where in the lifecycle they apply.
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.
If the 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 detect it
Architecture or Design Review
Review the fabric specification and ensure that it contains signals to transfer security-sensitive signals.
Effectiveness: High
Manual Static Analysis - Source Code
Lack of security features can also be confirmed through manual RTL review of the fabric RTL.
Effectiveness: High
Code examples
MITRE examples of the weakness in code.
Several systems on chips (SoCs) use the Advanced-Microcontroller Bus Architecture (AMBA) Advanced-Peripheral Bus (APB) protocol. APB is a simple, low-power bus and uses the PPROT[2:0] bits to indicate the security state of the bus masters ;PPROT[0] indicates privilege, PPROT[1] indicates secure/non-secure transaction, and PPROT[2] indicates instruction/data. Assume that there is no fabric bridge in the SoC. One of the slaves, the power-management unit, contains registers that store the thermal-shutdown limits.
The Open-Core-Protocol (OCP) fabric supports two configurable, width-optional signals for transporting security attributes: MReqInfo and SRespInfo. MReqInfo is used to transport security attributes from bus master to slave, and SRespInfo is used to transport security attributes from slave to bus master. An SoC uses OCP to connect several bus masters, each with a unique and immutable hardware identity, to several slaves. One of the bus masters, the CPU, reports the privilege level (user or superuser) in addition to the unique identity. One of the slaves, the power-management unit, contains registers that store the thermal-shutdown limits.
Attack patterns
CAPEC attack patterns that exploit this weakness.
Frequently asked questions
Common questions about CWE-1318.
- What is CWE-1318?
- 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.
- How do you prevent CWE-1318?
- 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.
- How is CWE-1318 detected?
- Architecture or Design Review: Review the fabric specification and ensure that it contains signals to transfer security-sensitive signals.
- What are the consequences of CWE-1318?
- Exploiting CWE-1318 can lead to: DoS: Crash, Exit, or Restart, Read Memory, Modify Memory.
Sources
References
- MITRE CWE definition (CWE-1318) (opens in a new tab)
- CWE-1318 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.21). CVE associations are aggregated and kept current by RadicalNotion.AI.
Track CWE-1318 CVEs
Get an alert when a new CWE-1318 CVE affects your products, with AI-written analysis and remediation steps.