Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-1290 — Vulnerability Class 1

1 vulnerabilities classified as CWE-1290. AI Chinese analysis included.

MITRE CWE Description
The product implements a decoding mechanism to decode certain bus-transaction signals to security identifiers. If the decoding is implemented incorrectly, then untrusted agents can now gain unauthorized access to the asset. 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, etc.). Among various types of message information, 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). Sometimes the transactions are qualified with a security identifier. The security identifier helps the destination agent decide on the set of allowed actions (e.g., access an asset for read and writes). A decoder decodes the bus transactions to map security identifiers into necessary access-controls/protections. A common weakness that can exist in this scenario is incorrect decoding because an untrusted agent's security identifier is decoded into a trusted agent's security identifier. Thus, an untrusted agent previously without access to an asset can now gain access to the asset.
Common Consequences (1)
Confidentiality, Integrity, Availability, Access Control Modify Memory, Read Memory, DoS: Resource Consumption (Other), Execute Unauthorized Code or Commands, Gain Privileges or Assume Identity, Quality Degradation
Mitigations (2)
Architecture and Design Security identifier decoders must be reviewed for design consistency and common weaknesses.
Implementation Access and programming flows must be tested in pre-silicon and post-silicon testing in order to check for this weakness.
Examples (1)
Consider a system that has four bus masters and a decoder. The decoder is supposed to decode every bus transaction and assign a corresponding security identifier. The security identifier is used to determine accesses to the assets. The bus transaction that contains the security information is Bus_transaction [15:14], and the bits 15 through 14 contain the security identifier information. The table…
If (AES_KEY_ACCESS_POLICY[Security_Identifier] == "1") Allow access to AES-Key registers Else Deny access to AES-Key registers
Informative · Other
If (Bus_transaction[14] == "1") Security_Identifier == "1" Else Security_Identifier == "0"
Bad · Other

Vulnerabilities classified as CWE-1290 represent 1 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.