Privilege Escalation Leads to Control The Owner Access Token Which leads to control the stream [streamlabs.com]
An invited Administrator could reach the owner's settings page by typing the settings URL directly, even though the settings menu was hidden. From there the Administrator could refresh the owner's API access token, which would break the owner's streaming widgets and could disrupt their stream.
- Triaged in 39 hours
- Fixed in 41 hours
- Paid in 41 hours
- Disclosed after 43 hours
Hi Security team,
##Summary:
I was able as Administrator to change the account owner access token
##Description:
As Administrator i have high privileges but i have some restricted areas

For example i got invitation from MrX with Administrator role.
When i navigated to MrX account as administrator i found all the menu items except the settings

so i tried to navigate to dashboard/#settings and i was able to access MrX's account settings!

I tried to use many features but couldn't but found on API Settings --> API Tokens some cool feature allowed me to Refresh API Access Token which is part of a lot of requests (will describe on the impact section)
##Steps to reproduce: we need 2 accounts
- MrX (account owner)
- MrMax
- Using MrX account go to
https://streamlabs.com/dashboard#/settings/shared-accessand create invitation with administration role, Copy the link - Open the link on your other browser which you are logged in as MrMax, accept the invite then click on
MrXto access his account

- You will get message on the top says
You are currently acting as MrX, click here to return to MrMax., now navigate to
https://streamlabs.com/dashboard#/settings/api-settings you well see empty Access token field , click on Refresh then yes

Done ^ ^
Impact
The API Access Token is used in most of API requests and a lot of other places e.g.

Here is a list of URLs the token used on , This list represents about 80% of the uses for this token here is one of the uses for this token: To stream
- I must install recording software supports streaming (e.g. OBS Studio..etc.)
- To use any of the streamlabs widgets (Alert box , Start goal , The jar ,Tip ticker , Follower goal , View count , Stream boss , Sponsor banner...etc. ) i must have link contains this token

I want to use this widget i should take this url and paste it on the streaming software to make it visible to the stream viewers
So as a bad administrator i can change the API Access Token while MrX is streaming which will stop the above widgets which revokes the main reason for making the streamlabs application which is widgets to help the streamers.
I am still investigating for more impacts and i will let you know if there is any updates
Best Wishes, MrMax
Attachments
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 settings page and the token refresh action only hid the menu entry from Administrators but did not check the user's role on the server side.
Impact
An Administrator could replace the owner's API access token, which could stop the owner's widgets and disrupt their stream; the reporter says they were still investigating further impact.
What the attacker needed
An Administrator invitation from the owner; the invited user accepts the invite; the Administrator opens the settings URL directly
How it was found
- As the owner, create an Administrator invitation from the shared-access settings page and copy the link.
- Open the link in a second browser logged in as the other user, accept the invite, then open the owner's account.
- While acting as the owner, go to the API settings page, find the empty access token field and click Refresh, then confirm.
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 site hid the settings menu from lower-ranked users but did not actually block the settings page itself. By typing the address directly, a lower-ranked user could open the owner's settings and press a button that replaces the owner's access token. That token is like a password the streaming tools use, so replacing it breaks the owner's widgets.
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.