Skip to content
Business logic Disclosed report Beginner

Manipulating response leads to free access to Streamlabs Prime

The Streamlabs Prime subscription status endpoint returned flags that the client-side dashboard trusted to gate premium features. By rewriting the response body so every false became true, the reporter unlocked Prime-only features such as reward redemption and multistreaming settings, and received a real coupon code for a free item.

sudi Follow

Originally disclosed on HackerOne

Medium 4.3 View original
  • Triaged in 2 days
  • Fixed in 10 days
  • Paid in 2 days
  • Disclosed after 18 days

Heyy team, I have a found cool bug which allows me to get access to streamlabs prime features for free.

Here is the api endpoint which checks whether the user has a prime subscription or not:

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

JSON
{
  "is_active": false,
  "is_pending": false,
  "is_past_due": false,
  "is_canceled": false,
  "is_pro": false,
  "type": "",
  "free_trial_claimed": false,
  "hibernate_claimed": false,
  "free_trial_eligible": false,
  "hibernate_eligible": false,
  "cooldown_eligible": false,
  "cooldown_seconds_past": null
}

Everything was set to false, so I decided to use the Burp's Match and Replace rule to replace every ocurrence of false in the Response body to true. And as expected I got access to some of the prime features, the most interesting one was the streamlabs All Stars rewards, which is available at this url, https://streamlabs.com/dashboard#/streamlabs-rewards?skipPrimeOnboarding=1

When a user which doesn't have the Streamlabs Prime tries to access the streamlabs-reward endpoint the reedeemed option won't be there:

XmrdC7NQ1V.png
XmrdC7NQ1V.png From the original on HackerOne

Now after setting the match and replace in burp now if we try to visit the streamlabs-reward endpoint.

1K1Ow4XZhv.png
1K1Ow4XZhv.png From the original on HackerOne

To confirm that I can actually redeem the reward I went ahead and clicked on the redeem button then it asked for en email and I used my hackerone alias email. Just in few seconds a mail arrived in my inbox with the code which I can use to get the Logitech mouse for free

kB9rNTOYcg.png
kB9rNTOYcg.png From the original on HackerOne
M24GT6WyfK.png
M24GT6WyfK.png

I checked other features too like Multistreaming, I was able to get the RTMP url and Stream key https://streamlabs.com/dashboard#/multistream/settings

Without match and replace rule set:

045dggyVXm.png
045dggyVXm.png From the original on HackerOne

After setting match and replace rule:

In1bDyLVZV.png
In1bDyLVZV.png From the original on HackerOne

Steps to Reproduce:

In your burpsuite Match and Replace rule add this two entries:

1st.
Type: Response Body
Match: false
Replace: true
2nd.
Type: Response Body
Match: "blocked":true
Replace: "blocked":false

Similar to this in the screenshot

dRdjCNDNX4.png
dRdjCNDNX4.png From the original on HackerOne
  1. Now goto https://streamlabs.com/dashboard#/streamlabs-rewards?skipPrimeOnboarding=1
  2. The redeem button should be there, as I have shown above in the screenshots F1142677
  3. Click on the button , provide your email and you should get the coupon code

Similar steps for checking the multistreaming endpoint,https://streamlabs.com/dashboard#/multistream/settings

Note: It might happen that when you load this url: https://streamlabs.com/dashboard#/streamlabs-rewards?skipPrimeOnboarding=1, this page might appear where it asks you to connect your paypal acc:

firefox_KZCyY6varS.png
firefox_KZCyY6varS.png From the original on HackerOne

In that case , provide any fake email id and click on continue and also skip the other options also.Once it done now try to open the streamlab-rewards url in a new tab , if it still doesn't works try loading this url instead https://streamlabs.com/dashboard#/streamlabs-rewards (here I have removed the parameter), keep refreshing the page until you get the right one.


Impact

An attacker can exploit this to get free access to prime features and also get free items at no cost as many as he wants .

PS: If you don't mind can I use that coupon code, for getting that sweet gaming mouse for free (it looks really cool lol) , no worries if your answer is no :)

Thankyou Regards Sudhanshu

The original report as published on HackerOne, by sudi. 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 premium features were gated by client-side checks on a subscription-status response, which the reporter could alter.

Impact

An attacker could unlock Prime-only features and redeem free physical rewards at no cost, and the reporter confirmed a real coupon code was issued.

What the attacker needed

Burp Suite with Match and Replace; A free Streamlabs account; An email address for reward delivery

How it was found

  1. Add a Burp Match and Replace rule that changes false to true in response bodies.
  2. Add a second rule that changes a blocked flag from true to false in response bodies.
  3. Open the Streamlabs rewards dashboard page and confirm the redeem option appears.
  4. Click redeem, supply an email address, and receive a coupon code by mail.
  5. Open the multistream settings page to see the RTMP URL and stream key.

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.

The website asked the server 'is this person a paying subscriber?' and the server answered 'no' in a block of data. The page then decided what to show based on that answer, but it trusted the answer as it arrived over the network. By intercepting the reply and flipping 'no' to 'yes', the reporter made the page believe they were a subscriber, and the page handed over premium content.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by sudi

View all

14 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.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.