I was testing this application where as a normal user you can report other user’s on the platform which maybe sending spam messages or commenting on your projects and causing issues.
For reporting you can click on the report button and submit your reason for it and report. This one also comes from looking at code via Inspect Element on the website. While checking the source code, I found a post form which was hidden to block or delete the user’s accounts.
This was the endpoint:
POST /admin/manage-user HTTP/2
This request was taking different parameters like,
isSpam=on&deleteActivities=on&deletePrivateMessages=on&userId={VICTIM_USER_ID_HERE}&action=Delete&comment=User+deleted+by+admin+as+spam.&_csrf={CSRF_TOKEN_FROM_ATTACKER’S ACCOUNT}
I took that request and sent that to repeater, replacing my normal user’s account cookies and CSRF token in the request. For userId I added my second account’s ID and send the request and received user deleted message. I was logged into the account in the second container in Firefox I refreshed the page and user not found error. This means I am able to DELETE any user’s account on the platform by just changing the userId parameter.
I made a report and sent to the team and after 5 minutes got reply from internal team member saying they are looking into this.

After 10 minutes the team member asks me for retest and they have applied the fixed, when I tried that again 403 error and a patch has been applied and issue has been resolved.
After that the they rewarded me with bounty and $2,200 and the retest fee $175 total reward of $2,375. This was the highest retest bounty that I have got here.

Hope so you have enjoyed this :)
Many Thanks