Skip to content
XSS Disclosed report Advanced

SocialClub's Facebook OAuth Theft through Warehouse XSS.

A chain of three minor flaws allowed an attacker to steal Facebook OAuth tokens: a Flash-based cross-site scripting issue on the Warehouse page, a shared SSO between two Rockstar domains, and an OAuth redirect that accepted any subdomain of the main site. The program states this could have potentially allowed attackers to steal OAuth tokens from users.

netfuzzer Follow

Originally disclosed on HackerOne

Medium 5.9 View original
  • Triaged in 3 days
  • Fixed in 47 days
  • Paid in 17 days
  • Disclosed after 2 months

Summary by the program

In this report, the researcher was able to chain together 3 separate, minor bugs to create an exploit that was greater than the sum of its parts. This exploit could have potentially allowed attackers to steal OAuth tokens from users. The exploit chain involved taking advantage of our SSO between rockstargames.com and rockstarwarehouse.com, utilizing a Flash-based vulnerability on rockstargames.com/warehouse, and taking advantage of the ability to redirect OAuth tokens to any (socialclub|www).rockstargames.com/.

We resolved this problem by removing the exploitable Flash player in the second step of the exploit chain. This prevented this attack path from being viable. In addition, we are already in the process of updating our authentication flow to prevent the third bug in the exploit chain from being usable in the future.

The original report as published on HackerOne, by netfuzzer. 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 combination of a Flash-based XSS on the Warehouse page, shared SSO across two domains, and an OAuth redirect that accepted any subdomain of the main site allowed tokens to be sent to an attacker-controlled location.

Impact

The exploit could have potentially allowed attackers to steal OAuth tokens from users, though the program notes the attack path was later made non-viable by removing the exploitable Flash player.

What the attacker needed

Flash player present; SSO between the two Rockstar domains; OAuth redirect accepts any subdomain

The fix

The program removed the exploitable Flash player and is updating the authentication flow to prevent the redirect issue from being usable in the future.

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.

OAuth is a way to log in to one site using another site's account, like using Facebook to sign in to a game site. When that happens, the game site receives a special token that proves who you are. Here, small mistakes in how the game site handled redirects and an old Flash feature meant an attacker could trick the system into handing that token to them instead.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by netfuzzer

View all

47 more disclosed reports, best first.

More from Rockstar Games

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.