COMMON WEAKNESS ENUMERATIONDraft

CWE-620

Unverified Password Change

When setting a new password for a user, the product does not require knowledge of the original password, or using another form of authentication.

Soyutlama

Base

Yapı

Simple

Sömürü İhtimali

Medium

Problemi anla

Problem nedir?

When setting a new password for a user, the product does not require knowledge of the original password, or using another form of authentication.

Genişletilmiş açıklama

This could be used by an attacker to change passwords for another user, thus gaining the privileges associated with that user.

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

REALIZATION: This weakness is caused during implementation of an architectural security tactic.

Risk

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

Bypass Protection MechanismGain Privileges or Assume Identity

Etkilenen güvenlik alanları: Access Control

Savunma

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

Architecture and Design

Mimari ve tasarım yaklaşımı

Detay
When prompting for a password change, force the user to provide the original password in addition to the new password.

Architecture and Design

Mimari ve tasarım yaklaşımı

Detay
Do not use "forgotten password" functionality. But if you must, ensure that you are only providing information to the actual user, e.g. by using an email address or challenge question that the legitimate user already provided in the past; do not allow the current user to change this identity information until the correct password has been provided.