← Məqalələrə qayıt

3. Sensitive Data Exposure (Həssas Məlumatların Sızması)

Bu nədir?

Həssas məlumatların sızması (Sensitive Data Exposure) – sistemin istifadəçi məlumatlarını (şifrələr, kredit kartı nömrələri, şəxsi məlumatlar və s.) kifayət qədər qoruyub saxlamadığı hallarda baş verən təhlükəsizlik zəifliyidir.

Necə baş verir?

Exploitation (İstismar)

Hücumçu zəif qorunan məlumatları ələ keçirərək:

Qarşısı necə alınır?

Nümunə

// Zəif nümunə:
let password = "123456";
storeInDatabase(password);

// Təhlükəsiz nümunə:
let bcrypt = require('bcrypt');
let hashedPassword = bcrypt.hashSync("123456", 10);
storeInDatabase(hashedPassword);
    
← Back to Articles

3. Sensitive Data Exposure

What is it?

Sensitive Data Exposure refers to vulnerabilities where an application fails to protect sensitive information such as passwords, credit card numbers, or personal data.

How does it happen?

Exploitation

Attackers may exploit exposed data to:

How to prevent it?

Example

// Insecure example:
let password = "123456";
storeInDatabase(password);

// Secure example:
let bcrypt = require('bcrypt');
let hashedPassword = bcrypt.hashSync("123456", 10);
storeInDatabase(hashedPassword);