---
title: "CWE-1302: Missing Source Identifier in Entity Transactions on a System-On-Chip (SOC)"
url: https://radicalnotion.ai/cwe/cwe-1302
type: cwe
description: "The product implements a security identifier mechanism to differentiate what actions are allowed or disallowed when a transaction originates from an entity, but the entity does not consistently include the necessary Security Identifier with a security-critical transaction."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-1302: Missing Source Identifier in Entity Transactions on a System-On-Chip (SOC)

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 0
- **Of those, in CISA KEV:** 0
- **New in 2026:** 0
- **CWE catalog version:** 4.21

## Description

The product implements a security identifier mechanism to differentiate what actions are allowed or disallowed when a transaction originates from an entity, but the entity does not consistently include the necessary Security Identifier with a security-critical transaction.

## Background

In a System-On-Chip (SoC), various integrated circuits and hardware engines generate transactions such as to access (reads/writes) assets or perform certain actions (e.g., reset, fetch, compute). A typical transaction is comprised of source identity (to identify the originator of the transaction) and a destination identity (to route the transaction to the respective entity) in addition to much more information in the message. Sometimes the transactions are qualified with a Security Identifier. This Security Identifier helps the destination agent decide on the set of allowed or disallowed actions.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | Such issues could be introduced during hardware architecture and design and identified later during Testing or System Configuration phases. |
| Implementation | Such issues could be introduced during implementation and identified later during Testing or System Configuration phases. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Integrity, Availability, Access Control | Modify Memory, Read Memory, DoS: Crash, Exit, or Restart, Bypass Protection Mechanism, Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands | - |

## Potential mitigations

### Architecture and Design

Transaction details must be reviewed for design inconsistency and common weaknesses.

### Implementation

Security identifier definition and programming flow must be tested in pre-silicon and post-silicon testing.

## Demonstrative examples

### Example 1

Consider a system with a register for storing AES key for encryption or decryption. The key is of 128 bits implemented as a set of four 32-bit registers. The key registers are assets, and the register AES\_KEY\_ACCESS\_POLICY is defined to provide the necessary access controls.

The access-policy register defines which agents with a security identifier in the transaction can access the AES-key registers. Each bit in this 32-bit register defines a security identifier. There could be a maximum of 32 security identifiers that are allowed accesses to the AES-key registers. The number of the bit when set (i.e., "1") allows for a respective action from an agent whose identity matches the number of the bit; if set to "0" (i.e., Clear), it disallows the respective action to that corresponding agent.

Bad code:

```other
Register  Field description
AES_ENC_DEC_KEY_0  AES key [0:31] for encryption or decryption, Default 0x00000000
AES_ENC_DEC_KEY_1  AES key [32:63] for encryption or decryption, Default 0x00000000
AES_ENC_DEC_KEY_2  AES key [64:95] for encryption or decryption, Default 0x00000000
AES_ENC_DEC_KEY_4  AES key [96:127] for encryption or decryption, Default 0x00000000
AES_KEY_ACCESS_POLICY  [31:0] Default 0x00000004 - agent with Security Identifier "2" has access to AES_ENC_DEC_KEY_0 through AES_ENC_DEC_KEY_4 registers
```

Good code:

```other
Register  Field description
AES_ENC_DEC_KEY_0  AES key [0:31] for encryption or decryption, Default 0x00000000
AES_ENC_DEC_KEY_1  AES key [32:63] for encryption or decryption, Default 0x00000000
AES_ENC_DEC_KEY_2  AES key [64:95] for encryption or decryption, Default 0x00000000
AES_ENC_DEC_KEY_4  AES key [96:127] for encryption or decryption, Default 0x00000000
AES_KEY_ACCESS_POLICY  [31:0] Default 0x00000002 - agent with security identifier "2" has access to AES_ENC_DEC_KEY_0 through AES_ENC_DEC_KEY_4 registers
```

## Related attack patterns (CAPEC)

- [CAPEC-121](https://radicalnotion.ai/capec/capec-121): Exploit Non-Production Interfaces
- [CAPEC-681](https://radicalnotion.ai/capec/capec-681): Exploitation of Improperly Controlled Hardware Security Identifiers

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1294](https://radicalnotion.ai/cwe/cwe-1294) | Insecure Security Identifier Mechanism |

## Frequently asked questions

### What is CWE-1302?

The product implements a security identifier mechanism to differentiate what actions are allowed or disallowed when a transaction originates from an entity, but the entity does not consistently include the necessary Security Identifier with a security-critical transaction.

### How do you prevent CWE-1302?

Transaction details must be reviewed for design inconsistency and common weaknesses.

### What are the consequences of CWE-1302?

Exploiting CWE-1302 can lead to: Modify Memory, Read Memory, DoS: Crash, Exit, or Restart, Bypass Protection Mechanism, Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/1302.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-1302). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
