Skip to content
Access control Disclosed report Beginner

Sensitive information disclosure to shared access user via streamlabs platform api

The platform API endpoint for user info did not enforce proper access control, allowing a shared access user with a Moderator role to retrieve the parent user's email and JWT token. An attacker with a Moderator invitation could obtain these sensitive details and potentially use the JWT to access the developer API.

ht0x0 Follow

Originally disclosed on HackerOne

Bounty$200 Medium 6.7 View original
  • Triaged in 8 days
  • Fixed in 13 days
  • Paid in 13 days
  • Disclosed after 14 days

Summary:

Hi there,

Hope you are doing well and stay safe.

Streamlab allows us to invite other users to manage our dashboard and cloudbot functions via following setting which named "Shared Access".

https://streamlabs.com/dashboard#/settings/shared-access

If we invite other users with Moderator role, they only have access to our dashboard and cloudbot function. But streamlab platform api doesn't have proper access control on the following api endpoint which discloses sensitive information like parent user email, jwt token to shared access users.

https://platform.streamlabs.com/api/v1/s/user/me

Steps To Reproduce:

Let's suppose there are User A and User B.

  1. Login to User A account and browse to https://streamlabs.com/dashboard#/settings/shared-access

  2. Create invitation link with Moderator access and copy link and Logout.

  3. Login to User B account and accept the invitation by pasting copied link.

  4. Go to https://streamlabs.com/dashboard#/settings/shared-access and click to access User A account.

  5. Try to access the following endpoint which response current user info including user id, username, email, etc...

    https://streamlabs.com/api/v5/user/

  6. You'll end up getting response saying "Request Unauthorized" because you don't have access to view User A information.

  7. Now if you try to access the following api endpoint, you should get response with User id, Email, Jwt token of User A.

    https://platform.streamlabs.com/api/v1/s/user/me

Video POC

Screen_Recording_2021-01-06_at_23.51.58.mov From the original on HackerOne

Impact

Disclosure of parent user's sensitive information like email, jwt token which is used to access developer api.

Thanks

Best Regards @hein_thant

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

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

Streamlabs lets an account owner invite other people to help run their channel. The feature is called Shared Access, and it is configured from the dashboard:

Text
https://streamlabs.com/dashboard#/settings/shared-access

An invitation can be issued with a Moderator role. According to the report, a Moderator is meant to get access only to the owner's dashboard and Cloudbot functions. The owner's own account data, such as their email address and the JWT used for the developer API, is not part of that grant.

The target asset is *.streamlabs.com, and the report focuses on the platform API host platform.streamlabs.com, which sits alongside the main streamlabs.com web application.

Setup

Two ordinary accounts are enough:

  • User A: the account owner who creates the Shared Access invitation.
  • User B: the invited user who accepts it with the Moderator role.

No special tooling is described. The researcher works through the dashboard in a browser and then requests two API endpoints directly.

Finding it

The researcher requested two API endpoints from the shared-access session. The web application enforces the boundary: when User B is acting on User A's account, the v5 user endpoint refuses to hand over User A's profile. The platform API's current-user endpoint lacks proper access control and returns the parent user's data.

That mismatch between the UI-level restriction and the API response is the bug: a role that is supposed to be limited to dashboard and Cloudbot functions can read the owner's sensitive account fields.

Exploitation

Step 1: create the invitation as User A

Log in to User A and browse to the Shared Access settings page:

Text
https://streamlabs.com/dashboard#/settings/shared-access

Step 2: issue a Moderator link

Create an invitation link with Moderator access, copy the link, then log out of User A.

Step 3: accept as User B

Log in to User B and accept the invitation by pasting the copied link.

Step 4: switch into User A's account

Go back to the Shared Access settings page and click to access User A's account:

Text
https://streamlabs.com/dashboard#/settings/shared-access

Step 5: confirm the intended restriction

Request the v5 user endpoint:

Text
https://streamlabs.com/api/v5/user/

The response is "Request Unauthorized", because the Moderator role has no permission to view User A's information. This is the expected behaviour and establishes the baseline.

Step 6: request the platform API endpoint

Now request the platform API's current-user endpoint:

Text
https://platform.streamlabs.com/api/v1/s/user/me

Instead of refusing, this returns User A's user id, email address and JWT token. The /me path is meant to describe the caller, but in a shared-access context it resolves to the parent account and discloses fields the Moderator should never see.

The researcher recorded the whole flow:

Screen_Recording_2021-01-06_at_23.51.58.mov From the original on HackerOne

The researcher recorded a video proof of concept.

Root cause

The platform API endpoint https://platform.streamlabs.com/api/v1/s/user/me lacks proper access control for shared-access sessions. Where the v5 endpoint on streamlabs.com checks the acting user's role and returns "Request Unauthorized", the platform endpoint returns the parent user's record. The report does not describe the server-side implementation, so the exact mechanism is not stated.

Impact

A user invited with the Moderator role can read the parent user's sensitive information: the account email address and the JWT token used to access the developer API. The report frames the disclosure in those terms. The report does not describe what the JWT token itself grants beyond developer API access.

Fix

Variants to test

  1. Other /me style endpoints on sibling hosts. Look for API hosts that serve the same product but sit on a different domain from the main app. A positive result is a response containing the parent account's identifiers or secrets while the main app's equivalent endpoint returns "Request Unauthorized".
  2. Other roles in the same sharing feature. The report only covers Moderator. Try any other invitation role the product offers and check whether the platform endpoint still returns the owner's record.
  3. Other fields on the same endpoint. The report lists user id, email and JWT token. Check whether the response carries further owner-only fields, and whether any of them are usable outside the shared session.
  4. Token reuse. If a JWT for the parent account is disclosed, test whether it is accepted by the developer API independently of the shared-access session. A positive result is an authenticated call succeeding as the owner.

Hunting notes

This bug lives at the seam between two surfaces of the same product: a web app that enforces a role boundary and an API host that does not. During recon, the signal is a feature that grants partial access to another account (shared access, team members, delegated administration) combined with more than one API hostname in scope. Enumerate the "current user" endpoints on each host and compare their responses from the delegated session against the main app's response.

The report shows the contrast: the v5 endpoint returns "Request Unauthorized" while the platform endpoint returns the owner's id, email and JWT token. That side-by-side comparison, backed by a screen recording of the full invitation and request flow, makes the access-control gap unambiguous.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 10 min read.

What happened, in plain words

Streamlabs is a service that helps people run their live streams. An account owner can invite other people to help them, for example a moderator who looks after the chat. This sharing feature is called Shared Access. The idea is that the invited person gets a limited set of powers: they can use the owner's dashboard and the owner's Cloudbot (an automated chat bot), but they should not be able to see the owner's private account details.

The researcher found that one part of Streamlabs, an API on a different web address, did not respect that limit. When the invited person asked that API "who am I?", it answered with the owner's details, including the owner's email address and a JWT token (a kind of digital pass that lets software act on the owner's behalf). The main Streamlabs website correctly refused the same request, so the two parts of the product disagreed with each other, and the weaker one leaked data.

This kind of bug is called information disclosure: private information is handed to someone who should not have it. It is an access-control problem, because the system failed to check whether the person asking was allowed to see the answer.

Background you need first

A few everyday ideas make the rest of this easy to follow.

  • API: think of a restaurant. The website is the dining room you sit in, and the API is the kitchen door where the website (and other software) places orders. You send a request to a web address, and the server sends back data, usually in a machine-readable format. APIs are how apps talk to each other without a human clicking buttons.
  • Endpoint: one specific address on that API, like one particular counter in the kitchen. https://platform.streamlabs.com/api/v1/s/user/me is an endpoint.
  • Token (JWT): a string of characters that works like a wristband at an event. Once the server gives it to you, you show it on later requests instead of typing your password again. A JWT is a JSON Web Token, a standard format for such a pass. If someone else gets your wristband, they can walk around as you.
  • Role: a label that says what a person is allowed to do. Here the roles are the account owner and a Moderator.
  • Access control: the bouncer at the door checking your wristband against the list. When access control is missing or wrong, people get into places they should not.
  • /me endpoint: a common API pattern meaning "give me information about the person making this request". It is supposed to describe you, the caller.

The product and the feature

Streamlabs lets an account owner invite other people to help run their channel. The feature is called Shared Access, and it is configured from the dashboard:

Text
https://streamlabs.com/dashboard#/settings/shared-access

This is a page inside the Streamlabs website. The part after the # is handled by the browser and tells the site which settings screen to open. On this page the owner can create an invitation and choose what the invited person may do.

An invitation can be issued with a Moderator role. According to the report, a Moderator is meant to get access only to the owner's dashboard and Cloudbot functions. The owner's own account data, such as their email address and the JWT used for the developer API, is not part of that grant.

The target asset is *.streamlabs.com. The * is a wildcard meaning "any subdomain", so the scope covers streamlabs.com and every hostname that ends in .streamlabs.com. The report focuses on the platform API host platform.streamlabs.com, which sits alongside the main streamlabs.com web application. Two hostnames, one product: that is where the trouble starts.

Setup

Two ordinary accounts are enough:

  • User A: the account owner who creates the Shared Access invitation.
  • User B: the invited user who accepts it with the Moderator role.

No special tooling is described. The researcher works through the dashboard in a browser and then requests two API endpoints directly. You do not need to install anything to follow the idea: a browser and two accounts are the whole kit.

Finding it

The researcher requested two API endpoints from the shared-access session. The web application enforces the boundary: when User B is acting on User A's account, the v5 user endpoint refuses to hand over User A's profile. The platform API's current-user endpoint lacks proper access control and returns the parent user's data.

In plain terms: the front door has a guard, the side door does not. The guard at the front door is the code on streamlabs.com that checks the role. The side door is the code on platform.streamlabs.com that answers /me. The platform endpoint does not apply the same check, so it returns the owner's data.

That mismatch between the UI-level restriction and the API response is the bug: a role that is supposed to be limited to dashboard and Cloudbot functions can read the owner's sensitive account fields.

Exploitation

Step 1: create the invitation as User A

Log in to User A and browse to the Shared Access settings page:

Text
https://streamlabs.com/dashboard#/settings/shared-access

Why this step: you need to be the owner to create an invitation. This page is the control panel for the sharing feature, so it is the natural starting point.

Step 2: issue a Moderator link

Create an invitation link with Moderator access, copy the link, then log out of User A.

Why this step: the link is the invitation. Choosing Moderator is deliberate, because the whole question is whether the limited role can reach data it should not. Logging out afterwards makes sure the next actions are performed as User B, not as the owner, so the test is honest.

Step 3: accept as User B

Log in to User B and accept the invitation by pasting the copied link.

Why this step: this is how a real invited person joins. After this, User B has a shared-access relationship with User A's account, with the Moderator role attached.

Step 4: switch into User A's account

Go back to the Shared Access settings page and click to access User A's account:

Text
https://streamlabs.com/dashboard#/settings/shared-access

Why this step: accepting an invitation is not the same as acting on the owner's account. This click puts User B into the context of User A's account, which is exactly the situation the access control is supposed to handle carefully.

Step 5: confirm the intended restriction

Request the v5 user endpoint:

Text
https://streamlabs.com/api/v5/user/

This is a single web address. streamlabs.com is the main site, /api/v5/user/ is the API path, and v5 is just a version number in the path. The request asks the main site's API for the current user's profile.

The response is "Request Unauthorized", because the Moderator role has no permission to view User A's information. This is the expected behaviour and establishes the baseline.

Why this step: a baseline is a known-good answer you can compare against. Here the main site does the right thing. That makes the next step meaningful: if a second endpoint answers differently, the difference is the bug, not a misunderstanding of how the product works.

Step 6: request the platform API endpoint

Now request the platform API's current-user endpoint:

Text
https://platform.streamlabs.com/api/v1/s/user/me

Read the address piece by piece: platform.streamlabs.com is a different hostname from streamlabs.com, /api/v1/s/user/me is the path, and me is the part that means "the caller". Same product, different door.

Instead of refusing, this returns User A's user id, email address and JWT token. The /me path is meant to describe the caller, but in a shared-access context it resolves to the parent account and discloses fields the Moderator should never see.

Why this matters: the answer contains an email address, which is personal data, and a JWT token, which is a credential. A credential is not just information; it is a key. Handing a key to a guest is worse than handing them a phone book.

The researcher recorded the whole flow:

Screen_Recording_2021-01-06_at_23.51.58.mov From the original on HackerOne

The researcher recorded a video proof of concept.

Root cause

The platform API endpoint https://platform.streamlabs.com/api/v1/s/user/me lacks proper access control for shared-access sessions. Where the v5 endpoint on streamlabs.com checks the acting user's role and returns "Request Unauthorized", the platform endpoint returns the parent user's record. The report does not describe the server-side implementation, so the exact mechanism is not stated.

A simple comparison: two clerks in the same company, one trained to check the guest list and one not. The untrained clerk is not malicious; they simply were never told that some visitors are guests. The fix is training, not a new building.

Impact

A user invited with the Moderator role can read the parent user's sensitive information: the account email address and the JWT token used to access the developer API. The report frames the disclosure in those terms. The report does not describe what the JWT token itself grants beyond developer API access.

CVSS is a scoring system for the seriousness of a security flaw; 6.7 out of 10 is in the medium band. A bounty is money a company pays a researcher for reporting a valid bug responsibly.

Fix

In everyday terms: teach the second clerk to read the guest list, or make sure the guest list reaches their desk.

Variants to test

These are follow-up ideas in the same spirit, useful if you want to look for similar bugs yourself.

  1. Other /me style endpoints on sibling hosts. Look for API hosts that serve the same product but sit on a different domain from the main app. A positive result is a response containing the parent account's identifiers or secrets while the main app's equivalent endpoint returns "Request Unauthorized".
  2. Other roles in the same sharing feature. The report only covers Moderator. Try any other invitation role the product offers and check whether the platform endpoint still returns the owner's record.
  3. Other fields on the same endpoint. The report lists user id, email and JWT token. Check whether the response carries further owner-only fields, and whether any of them are usable outside the shared session.
  4. Token reuse. If a JWT for the parent account is disclosed, test whether it is accepted by the developer API independently of the shared-access session. A positive result is an authenticated call succeeding as the owner.

Hunting notes

This bug lives at the seam between two surfaces of the same product: a web app that enforces a role boundary and an API host that does not. During recon, the signal is a feature that grants partial access to another account (shared access, team members, delegated administration) combined with more than one API hostname in scope. Enumerate the "current user" endpoints on each host and compare their responses from the delegated session against the main app's response.

Recon means the early exploration phase where you map out what a product is made of: which hostnames exist, which features share accounts, which endpoints answer. The habit that pays off here is comparison: same session, two hosts, two answers.

The report shows the contrast: the v5 endpoint returns "Request Unauthorized" while the platform endpoint returns the owner's id, email and JWT token. That side-by-side comparison, backed by a screen recording of the full invitation and request flow, makes the access-control gap unambiguous.

Glossary

  • API: a way for software to talk to a server by sending requests to web addresses and receiving data back, without a human clicking through pages.
  • Endpoint: one specific address on an API that performs one specific job.
  • Hostname: the part of a web address that names the server, such as platform.streamlabs.com.
  • Subdomain: a hostname that sits under a main domain, such as platform under streamlabs.com.
  • Wildcard (*): a symbol meaning "anything here", so *.streamlabs.com covers every subdomain.
  • Shared Access: the Streamlabs feature that lets an account owner invite other people to help run their channel with a limited role.
  • Moderator: the invitation role in this report, intended to allow only the owner's dashboard and Cloudbot functions.
  • Cloudbot: Streamlabs' automated chat bot for a channel.
  • Role: a label that defines what a user is allowed to do.
  • Access control: the checks a system performs to decide whether a request is allowed.
  • Information disclosure: a flaw where private data is returned to someone who should not receive it.
  • /me endpoint: an API path that returns information about the caller making the request.
  • JWT (JSON Web Token): a standard string format used as a digital pass, shown on later requests instead of a password.
  • Token: a credential issued by a server and presented on subsequent requests to prove who you are.
  • Parent account: the owner's account, as opposed to the invited user's account.
  • Baseline: a known-correct response used for comparison, here the "Request Unauthorized" answer from the main site.
  • CVSS: a scoring system from 0 to 10 that rates the severity of a security flaw.
  • Bounty: a payment made by a company to a researcher who reports a valid security bug.
  • Recon: the exploration phase of security testing, mapping hosts, features and endpoints.
  • POC (proof of concept): a demonstration that a bug is real, here a screen recording of the full flow.

More by ht0x0

View all

4 more disclosed reports, best first.

More from Logitech

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.