Improper Authorization in imran300/inventory

Valid

Reported on

Sep 4th 2021


✍️ Description

A designer user can delete any other users IDOR.

🕵️‍♂️ Proof of Concept

go to this url when logging in as a Designer.

localhost/inventory/users/delete_users/10

and then you can see that a user with id 10 will be deleted.

💥 Impact

This vulnerability is capable of delete any user.

Occurences

We have contacted a member of the imran300/inventory team and are waiting to hear back 3 months ago
amammad
3 months ago

Researcher


I didn't change the default Group permissions and also check them to didn't have the desired permissions.

Mian Muhammad Imran Shah validated this vulnerability 3 months ago
amammad has been awarded the disclosure bounty
The fix bounty is now up for grabs
Mian Muhammad Imran Shah confirmed that a fix has been merged on 9809cc 3 months ago
Mian Muhammad Imran Shah has been awarded the fix bounty