COMMON WEAKNESS ENUMERATIONDraft

CWE-421

Race Condition During Access to Alternate Channel

The product opens an alternate channel to communicate with an authorized user, but the channel is accessible to other actors.

Abstraction

Base

Structure

Simple

Likelihood of Exploit

Medium

Understand the problem

What is the problem?

The product opens an alternate channel to communicate with an authorized user, but the channel is accessible to other actors.

Extended description

This creates a race condition that allows an attacker to access the channel before the authorized user does.

Root cause

How and when does the problem arise?

Lifecycle phase

Architecture and Design

Risk

What does successful exploitation lead to?

Gain Privileges or Assume IdentityBypass Protection Mechanism

Affected security scopes: Access Control

Defence

How is it prevented and fixed?

  • Follow secure coding guidelines for input handling and boundary checking.
  • Enforce strict security reviews and automated static analysis (SAST) checks.