COMMON WEAKNESS ENUMERATIONIncomplete

CWE-1280

Access Control Check Implemented After Asset is Accessed

A product's hardware-based access control check occurs after the asset has been accessed.

Abstraction

Base

Structure

Simple

Likelihood of Exploit

Medium

Understand the problem

What is the problem?

A product's hardware-based access control check occurs after the asset has been accessed.

Extended description

The product implements a hardware-based access control check. The asset should be accessible only after the check is successful. If, however, this operation is not atomic and the asset is accessed before the check is complete, the security of the system may be compromised.

Root cause

How and when does the problem arise?

Lifecycle phase

Implementation

Risk

What does successful exploitation lead to?

Modify MemoryRead MemoryModify Application DataRead Application DataGain Privileges or Assume IdentityBypass Protection Mechanism

Affected security scopes: Access Control, Confidentiality, Integrity

Defence

How is it prevented and fixed?

Implementation

Implementation-phase defence

Detail
Implement the access control check first. Access should only be given to asset if agent is authorized.