CWE-1470: Improper External Identity Verification
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.
Last updated
Overview
CWE-1470 (Improper External Identity Verification) is a class-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Common consequences
What can happen when CWE-1470 is exploited.
Gain Privileges or Assume Identity, Bypass Protection Mechanism
Affects: Access Control, Authentication
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to prevent it
Practical mitigations for CWE-1470, grouped by where in the lifecycle they apply.
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.