Safeguard
Application Security•

CWE-1315 Improper Bus Controlling Capability in a Fabric End-point

One register bit left on can let a responder device control transactions on the fabric. A short guide to CWE-1315 and the default-off fix.

Safeguard Security Team
2 min read

CWE-1315 is a configuration weakness in an on-chip fabric. The bus controller enables bits in the fabric end-point that let responder devices control transactions on the fabric.

How it happens

For reuse, some fabric interfaces provide a configurable register bit that lets IP blocks connected to the controller access other peripherals on the fabric. That lets one end point serve a device that acts as a controller or as a responder.

If the bit is set by default in hardware, or firmware sets it later by mistake, a device meant to be a responder can now control transactions to other devices. That may compromise system security.

What an attacker gains

MITRE lists access control and protection mechanism bypass, plus the ability to read and modify memory.

How to find it

No detection methods are listed. Check the reset value of the bus-controlling bit for every responder end point. Then read the register after each stage of boot, including secure boot, and confirm it is still zero. Finally, test whether untrusted software can write to it.

How to fix it

MITRE gives the same guidance for design, implementation and system configuration:

  1. For responder devices, set the controlling bit to 0 by default.
  2. Do not set it during secure-boot flows.
  3. Access-protect writes to the register so it cannot be changed maliciously.

Quick check

Who might set the bit by mistake?

Hardware defaults can have it on, and firmware can set it incorrectly later.

Sources

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.