Referer Leakage Vulnerability in socialclub.rockstargames.com/crew/ leads to FB'S OAuth token theft.
The report describes chaining an open redirect with the fact that the full URI is sent in the Referer header when navigating between Rockstar domains, which could leak Facebook OAuth tokens. The fix was to strengthen the Referer policy using a meta tag.
- Triaged in 12 hours
- Fixed in 3 months
- Paid in 5 days
- Disclosed after 5 months
Summary by the program
In this report, the researcher demonstrated a method to chain together separate vulnerabilities that, under certain conditions, could cause a user's Facebook Oauth tokens to leak via the Referer header. In this instance, an Open Redirect vulnerability was utilized to exploit the fact that the full URI is shared in the Referer header when going from Rockstar-owned domains to other Rockstar domains. The Open Redirect is the subject of a separate report; in this report, we addressed the problem by strengthening the Referer header policy with <meta name="referrer" content="origin" />. This fixed this issue, and it is no longer exploitable.
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 application included sensitive OAuth tokens in URLs and allowed the full URI to be sent in the Referer header when navigating to other Rockstar domains, combined with an open redirect.
Impact
Under certain conditions, a user's Facebook OAuth tokens could be leaked via the Referer header.
What the attacker needed
Open redirect on Rockstar domain; victim clicks crafted link; Facebook OAuth token in URL
The fix
The Referer header policy was strengthened with a meta tag setting referrer to origin, and the issue was fixed.
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.
An open redirect was used so the browser sent the full page address, which could contain a Facebook token, in the Referer header to another Rockstar domain.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.