> For the complete documentation index, see [llms.txt](https://pnpt.adot8.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pnpt.adot8.com/external-pentest-playbook/common-pentest-findings/username-enumeration.md).

# Username Enumeration

## Overview

User enumeration can be done on login portals, getting errors like **"Incorrect Passowrd"** when a user exists and **"User Doesn't Exist"** when a user doesn't exist.&#x20;

The **Likelihood** of these attacks are **high,** but the **Impact** of them are **low** as long as other security measures are in place.

A simple fix is to synchronize both valid and invalid user error messages

## Example 1

<figure><img src="/files/wZqQfLJjkaa90t84Rg5T" alt=""><figcaption><p>Username enumeration via a Forgot Password Feature</p></figcaption></figure>

<figure><img src="/files/qehEBhhGbxZcO9hHqXlt" alt=""><figcaption><p>Evidence</p></figcaption></figure>

<figure><img src="/files/4ibygCxn46872p5XJmbN" alt=""><figcaption><p>Remediation</p></figcaption></figure>

## Example 2

<figure><img src="/files/ly1PV6dzDJXS3d0oN7Bu" alt=""><figcaption><p>User enumeration via Onboarding page</p></figcaption></figure>

<figure><img src="/files/TJjnrqmOWy1wskrpl6Ix" alt=""><figcaption><p>Evidence and Remediation</p></figcaption></figure>
