COMMON WEAKNESS ENUMERATIONDraft

CWE-219

Storage of File with Sensitive Data Under Web Root

The product stores sensitive data under the web document root with insufficient access control, which might make it accessible to untrusted parties.

Soyutlama

Variant

Yapı

Simple

Sömürü İhtimali

Medium

Problemi anla

Problem nedir?

The product stores sensitive data under the web document root with insufficient access control, which might make it accessible to untrusted parties.

Genişletilmiş açıklama

Besides public-facing web pages and code, products may store sensitive data, code that is not directly invoked, or other files under the web document root of the web server. If the server is not configured or otherwise used to prevent direct access to those files, then attackers may obtain this sensitive data.

Kök neden

Problem nasıl ve ne zaman oluşur?

Yaşam döngüsü evresi

Operation

COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic.

Yaşam döngüsü evresi

Implementation

COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic.

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?

Implementation · System Configuration

Birden fazla yaşam döngüsü evresinde uygulanacak savunma

Detay
Avoid storing information under the web root directory.

System Configuration

Güvenli yapılandırma yaklaşımı

Detay
Access control permissions should be set to prevent reading/writing of sensitive files inside/outside of the web directory.