# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://pnpt.adot8.com/external-pentest-playbook/common-pentest-findings/username-enumeration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
