Logitech: Stored XSS in [https://streamlabs.com/dashboard#/*goal] pages

ID H1:1049012
Type hackerone
Reporter sudi
Modified 2020-12-26T13:22:30


Heyy there, I have found a stored xss vulnerability in the following goals setting pages.

https://streamlabs.com/dashboard#/followergoal https://streamlabs.com/dashboard#/bitgoal https://streamlabs.com/dashboard#/subgoal https://streamlabs.com/dashboard#/tiltifydonationgoal https://streamlabs.com/dashboard#/streamlabs-charity-donation-goal

This vulnerability is actually a self stored xss but as the site allows us to invite other users to our account dashboard, so here the xss could be used to exploit other users also.

Steps to reproduce:

We need to two accounts, one will be the victim other will be the attacker. Login to the victim's account in for eg: chrome and login to attacker's account in firefox

From Victim's acc 1. Goto https://streamlabs.com/dashboard#/settings/shared-access and click on Create Invitation option 2. From the menu choose Administrator as the role and click on the Create button 3. An invitation link will be generated copy it and open it in the browser where you are log in the attacker's acc.

From the Attacker's acc 4. The page will ask you to confirm the invitation, accept it 5. Then goto https://streamlabs.com/dashboard#/settings/shared-access 6. Under My Access, click on the hyperlink username. Clicking on the hyperlink should lead you to this page https://streamlabs.com/dashboard/act-as/{userId} 7. Now you have access to the victim's dashboard,then visit this page, https://streamlabs.com/dashboard#/followergoal 8. Under Manage Goal , in the Title field . Enter the xss payload "><img src=x onerror=alert()> 9. Save it and reload the page you should get the xss popup

Now access the same page from vitim's account, https://streamlabs.com/dashboard#/followergoal You should see a popup there too

Instead of just popping a simple alert box we can do more things as I mentioned in report #1048655, like Deleting User's site completely. Suppose the victim removes the attacker acc after some time but the attacker has added this payload (taken from that mentioned report)


As soon as the victim visits the set goal page settings this payload will execute and will delete the victim's site completely.

Video POC:



As I have already mentioned the impact in the above that how an attacker can make requests to endpoints like deleting site with the help of some js code and this actions will be performed when the victim visit's the page where we have inputted our payload.

Thankyou Regards Sudhanshu