COMMON WEAKNESS ENUMERATIONIncomplete

CWE-1296

Incorrect Chaining or Granularity of Debug Components

The product's debug components contain incorrect chaining or granularity of debug components.

Abstraction

Base

Structure

Simple

Likelihood of Exploit

Medium

Understand the problem

What is the problem?

The product's debug components contain incorrect chaining or granularity of debug components.

Extended description

For debugging and troubleshooting a chip, several hardware design elements are often implemented, including: - Various Test Access Ports (TAPs) allow boundary scan commands to be executed. - For scanning the internal components of a chip, there are scan cells that allow the chip to be used as a "stimulus and response" mechanism. - Chipmakers might create custom methods to observe the internal components of their chips by placing various tracing hubs within their chip and creating hierarchical or interconnected structures among those hubs. Logic errors during design or synthesis could misconfigure the interconnection of the debug components, which could allow unintended access permissions.

Root cause

How and when does the problem arise?

Lifecycle phase

Implementation

Risk

What does successful exploitation lead to?

Gain Privileges or Assume IdentityBypass Protection MechanismExecute Unauthorized Code or CommandsModify MemoryModify Files or Directories

Affected security scopes: Confidentiality, Integrity, Access Control, Authentication, Authorization, Availability, Accountability

Depending on the access to debug component(s) erroneously granted, an attacker could use the debug component to gain additional understanding about the system to further an attack and/or execute other commands. This could compromise any security property, including the ones listed above.

Defence

How is it prevented and fixed?

Implementation

Implementation-phase defence

Detail
Ensure that debug components are properly chained and their granularity is maintained at different authentication levels.

Verification

How is it detected?

Architecture or Design Review

High
Appropriate Post-Si tests should be carried out at various authorization levels to ensure that debug components are properly chained and accessible only to users with appropriate credentials.

Dynamic Analysis with Manual Results Interpretation

High
Appropriate Post-Si tests should be carried out at various authorization levels to ensure that debug components are properly chained and accessible only to users with appropriate credentials.
CWE-1296: Common Weakness Enumeration Entry CWE-1296 · DayBreach Sözlük · DayBreach