CWE-1470

Class Abstraction Level
Pillar — Highest-level weakness category
Class — Abstract, language-independent
Base — Specific enough to detect
Variant — Tied to specific technology
Compound — Requires multiple weaknesses
Incomplete MITRE CWE Status
Stable — Fully reviewed and complete
Draft — Under development, may change
Incomplete — Partially defined by MITRE
Deprecated — No longer recommended
Obsolete — Replaced by another CWE
Improper External Identity Verification

Description

The product supports user accounts that include a user's external identifier or communications channel - such as email, phone number, social media account, or domain name - but it does not properly verify that the user actually controls the associated identifier or channel.

Consequences

Access Control, Authentication — Gain Privileges or Assume Identity, Bypass Protection Mechanism

Mitigations

Phase: Architecture and Design, Implementation

Before changing the contact information, send a message to the user with a confirmation code. Only make the change when the user provides the correct code. Ensure that the confirmation code is expired and rendered invalid if the user does not respond quickly enough.