Katalog CWE

CWE-1323 · Słabość

Improper Management of Sensitive Trace Data

Abstrakcja
Bazowa
Status
Szkic
Dodano
20 lipca 2020
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

Trace data collected from several sources on the System-on-Chip (SoC) is stored in unprotected locations or transported to untrusted agents.

To facilitate verification of complex System-on-Chip (SoC) designs, SoC integrators add specific IP blocks that trace the SoC's internal signals in real-time. This infrastructure enables observability of the SoC's internal behavior, validation of its functional design, and detection of hardware and software bugs. Such tracing IP blocks collect traces from several sources on the SoC including the CPU, crypto coprocessors, and on-chip fabrics. Traces collected from these sources are then aggregated inside trace IP block and forwarded to trace sinks, such as debug-trace ports that facilitate debugging by external hardware and software debuggers.

Since these traces are collected from several security-sensitive sources, they must be protected against untrusted debuggers. If they are stored in unprotected memory, an untrusted software debugger can access these traces and extract secret information. Additionally, if security-sensitive traces are not tagged as secure, an untrusted hardware debugger might access them to extract confidential information.

Skutki

  • Confidentiality

    Read Memory

    An adversary can read secret values if they are captured in debug traces and stored unsafely.

Zapobieganie

  • Implementation

    Tag traces to indicate owner and debugging privilege level (designer, OEM, or end user) needed to access that trace.

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific, Not OS-Specific, Not Architecture-Specific, System on Chip

Źródła

  1. Secure design-for-debug for Systems-on-Chip — Jerry Backer, David Hely, Ramesh Karri, 2015
  2. Secure and Flexible Trace-Based Debugging of Systems-on-Chip — Jerry Backer, David Hely, Ramesh Karri, 2016

Wpis z katalogu CWE 4.20.