IDOR Vulnerability Allow Low-Level User change role Everyone Includes Admin in answerdev/answer
Reported on
Aug 28th 2023
Description
By manipulating the user_id in API PUT /answer/admin/api/user/role, users with low privilege can change role any users
Proof of Concept
Step 1: Login as user1 with user privilege
Step2: Call API PUT /answer/admin/api/user/role with user privilege , change role everyone includes Admin
Link POC =https://drive.google.com/file/d/1xbnCTv5ED5h_SedzpAbF5IUPVy-QkUhh
Impact
Users with low privilege can change role includes Admin
Occurrences
SECURITY.md
exists
3 months ago
@maintainer Hi, can you please specify a CVE for this vulnerability. It's necessary for my work
@m4noo We are in the process of fixing this bug, and for security reasons we will assign CVE in the next release. Thank you very much for your feedback.