Lucene search

K
huntrTuannq229994D50B11-20CA-46E3-9086-DD6836421675
HistoryJun 04, 2023 - 1:20 p.m.

Create multiple user with the same username (Race Condition)

2023-06-0413:20:06
tuannq2299
www.huntr.dev
9
race condition
user management
administrator
web application
user creation
security flaw
bug bounty

EPSS

0.001

Percentile

36.0%

Description

Administrator users can create multiple users with the same username which breaks the logic of the web application.

Proof of Concept

Step 1: At Administration>User Management>Manager User Screen, click on “New Local User” button

Step 2: Fill in all the required fields, notice that the email is [email protected].

Step 3: Intercept the above request

Step 4: Send the request to “Intruder”, set payload position as image below

Step 5: Set the number of payloads to 100

Step 6: Set the concurrent requests to 30 and click “Start attack”

Step 7: 30 requests creating the user with the username “[email protected]” will be sent at the same time. Looking at the result, we can see there are 3 users with the username “pentest@gmail” created.

Step 8: Send the request again and see that it fails because the user “[email protected]” was created before, which means by default, it is unacceptable that 2 users with the same username in this system.

Step 8: Go to the User Management screen to confirm that.

EPSS

0.001

Percentile

36.0%

Related for 94D50B11-20CA-46E3-9086-DD6836421675