Lucene search

K
huntrZetc0de55CD91B3-1D94-4D34-8D7F-86660B41FD65
HistoryOct 27, 2022 - 1:33 a.m.

User Enumeration

2022-10-2701:33:34
zetc0de
www.huntr.dev
11
user enumeration
security endpoint
invalid username message
enumeration technique
backend response

EPSS

0.001

Percentile

30.0%

Description

The migrate-email endpoint is requiring Email, Username, and Password parameter. The Username parameter value will be queried to _userManager.Users and will returning data to user variable, if user variable contain null value, the application will return bad request with “Invalid username” message, which is similar to user doesn’t exist message.

This bad request message can be used for user enumeration, with the asumption if an Username parameter value using the valid username, the backend will returing the different message.

Proof of Concept

1. Send a request with the following parameter :

- Email parameter with any email value
- Username parameter with any value
- Password parameter with any value

2. The backend will response “Invalid username”

3. An then, try to put the valid Username on Username parameter.

4. The backend will response “Your credentials are not correct”.

EPSS

0.001

Percentile

30.0%

Related for 55CD91B3-1D94-4D34-8D7F-86660B41FD65