Skip to content
Access control Disclosed report Beginner

Bypassing Access control, changing owner's name in a private leaderboard

A member of a private leaderboard saw the owner's rename pop-up after a forbidden error, indicating a possible access-control bypass.

tikoo_sahil Follow

Originally disclosed on HackerOne

  • Triaged in 16 hours
  • Fixed in 28 days
  • Disclosed after 29 days

Hello,

I would like to mention a bug here that is regarding changing the name of the owner of a leaderboard by a member that is first shown forbidden but when you again try to change owner's name you can see the changes to name made in the pop up that appears. Basically when I created a private leaderboard named test1 on my account ███ then in the next step I sent invitation to ████ so as this email was also mine I accepted the request to join the leaderboard and then I visited the members section of the leaderboard through my ████████ account (owner account)

There I saw an edit option for the name of the member of leaderboard test1 that was the member with email ███ , so before that I opened a new settings page and made the member with email ████ the owner and made my account role as member , see below

{ ███████}

Then on the editing page when i tried to edit the name of the user to testing with email █████ which had now become the owner and I was a member so I got the below forbidden error

{ ████████}

But when I clicked on edit button again I saw the pop up saying 'Enter new name for testing ' see below pic

{ ████}

So clearly I was able to bypass the access control set for the members of a leaderboard. So please patch it .

Regards Sahil tikoo

The original report as published on HackerOne, by tikoo_sahil. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the access check was only enforced on the first request or in the UI, while the edit action itself was not properly authorised on the server.

Impact

A member could reach the owner's rename pop-up, a limited but apparent access-control bypass.

What the attacker needed

A private leaderboard; two accounts, one owner and one member; member knows the owner's edit interface

The fix

The reporter asks for a patch; the text does not describe the fix.

How it was found

  1. Create a private leaderboard and invite a second account.
  2. Accept the invitation with the second account.
  3. As the owner, promote the second account to owner and demote yourself to member.
  4. As the member, try to edit the new owner's name and receive a forbidden error.
  5. Click the edit button again and observe the rename pop-up appears.
  6. Observe the rename pop-up appears for the member.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A regular member was blocked with an error, but the rename box still popped up on a second try, suggesting a bypass.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by tikoo_sahil

View all

4 more disclosed reports, best first.

More from WakaTime

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.