COMMON WEAKNESS ENUMERATIONDraft

CWE-386

Symbolic Name not Mapping to Correct Object

A constant symbolic reference to an object is used, even though the reference can resolve to a different object over time.

Soyutlama

Base

Yapı

Simple

Sömürü İhtimali

Medium

Problemi anla

Problem nedir?

A constant symbolic reference to an object is used, even though the reference can resolve to a different object over time.

Kök neden

Problem nasıl ve ne zaman oluşur?

Yaşam döngüsü evresi

Architecture and Design

Yaşam döngüsü evresi

Implementation

Risk

Başarılı sömürü neye yol açar?

Gain Privileges or Assume Identity

Etkilenen güvenlik alanları: Access Control

The attacker can gain access to otherwise unauthorized resources.
Modify Application DataModify Files or DirectoriesRead Application DataRead Files or DirectoriesOther

Etkilenen güvenlik alanları: Integrity, Confidentiality, Other

Race conditions such as this kind may be employed to gain read or write access to resources not normally readable or writable by the user in question.
Modify Application DataOther

Etkilenen güvenlik alanları: Integrity, Other

The resource in question, or other resources (through the corrupted one) may be changed in undesirable ways by a malicious user.
Hide Activities

Etkilenen güvenlik alanları: Non-Repudiation

If a file or other resource is written in this method, as opposed to a valid way, logging of the activity may not occur.
Modify Files or Directories

Etkilenen güvenlik alanları: Non-Repudiation, Integrity

In some cases it may be possible to delete files that a malicious user might not otherwise have access to -- such as log files.

Savunma

Nasıl önlenir ve çözülür?

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