COMMON WEAKNESS ENUMERATIONDraft

CWE-213

Exposure of Sensitive Information Due to Incompatible Policies

The product's intended functionality exposes information to certain actors in accordance with the developer's security policy, but this information is regarded as sensitive according to the intended security policies of other stakeholders such as the product's administrator, users, or others whose information is being processed.

Soyutlama

Base

Yapı

Simple

Sömürü İhtimali

Medium

Problemi anla

Problem nedir?

The product's intended functionality exposes information to certain actors in accordance with the developer's security policy, but this information is regarded as sensitive according to the intended security policies of other stakeholders such as the product's administrator, users, or others whose information is being processed.

Genişletilmiş açıklama

When handling information, the developer must consider whether the information is regarded as sensitive by different stakeholders, such as users or administrators. Each stakeholder effectively has its own intended security policy that the product is expected to uphold. When a developer does not treat that information as sensitive, this can introduce a vulnerability that violates the expectations of the product's users.

Kök neden

Problem nasıl ve ne zaman oluşur?

Yaşam döngüsü evresi

Policy

This can occur when the product's policy does not account for all relevant stakeholders, or when the policies of other stakeholders are not interpreted properly.

Yaşam döngüsü evresi

Requirements

This can occur when requirements do not explicitly account for all relevant stakeholders.

Yaşam döngüsü evresi

Architecture and Design

Communications or data exchange frameworks may be chosen that exchange or provide access to more information than strictly needed.

Yaşam döngüsü evresi

Implementation

This can occur when the developer does not properly track the flow of sensitive information and how it is exposed, e.g., via an API.

Risk

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

Read Application Data

Etkilenen güvenlik alanları: Confidentiality

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.