COMMON WEAKNESS ENUMERATIONIncomplete

CWE-525

Use of Web Browser Cache Containing Sensitive Information

The web application does not use an appropriate caching policy that specifies the extent to which each web page and associated form fields should be cached.

Soyutlama

Variant

Yapı

Simple

Sömürü İhtimali

Medium

Problemi anla

Problem nedir?

The web application does not use an appropriate caching policy that specifies the extent to which each web page and associated form fields should be cached.

Kök neden

Problem nasıl ve ne zaman oluşur?

Yaşam döngüsü evresi

Implementation

Risk

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

Read Application Data

Etkilenen güvenlik alanları: Confidentiality

Browsers often store information in a client-side cache, which can leave behind sensitive information for other users to find and exploit, such as passwords or credit card numbers. The locations at most risk include public terminals, such as those in libraries and Internet cafes.

Savunma

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

Architecture and Design

Mimari ve tasarım yaklaşımı

Detay
Protect information stored in cache.

Implementation

Uygulama aşaması savunması

Detay
Use a restrictive caching policy for forms and web pages that potentially contain sensitive information, such as "no-cache" in the Cache-Control header.

Architecture and Design

Mimari ve tasarım yaklaşımı

Detay
Do not store unnecessarily sensitive information in the cache.

Architecture and Design

Mimari ve tasarım yaklaşımı

Detay
Consider using encryption in the cache.