Smuggle SocialClub's Facebook OAuth Code via Referer Leakage
The researcher combined two issues: external content could load in a Screenshot Viewer tool, and an OAuth code could leak via the Referer header. An attacker could potentially obtain OAuth tokens, but the vendor fixed the external content issue, making the proof of concept inoperable.
- Triaged in 2 days
- Fixed in 6 months
- Paid in 15 days
- Disclosed after 6 months
Summary by the program
In this report, the researcher provided a POC in which they were able to combine two issues to create a condition that potentially could have allowed an attacker to obtain OAuth tokens. One of the issues involved allowing external content to load in our Screenshot Viewer tool; we resolved this issue, which rendered the POC inoperable. We are still working on resolving the other issue, but without the ability to exploit the other issue, the impact is minimal.
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 Screenshot Viewer allowed external content to load, and the OAuth code was exposed in the URL and leaked via the Referer header.
Impact
Potentially an attacker could obtain OAuth tokens, but after the external content issue was fixed the proof of concept no longer worked, so the remaining impact is minimal.
What the attacker needed
Screenshot Viewer tool loads external content; OAuth code leaks via Referer
The fix
The external content loading issue was fixed, and the other issue is still being resolved.
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 lets you log in with another service. A short code is passed in the web address, and if that address leaks via the Referer header, an attacker could potentially obtain OAuth tokens. Here, a screenshot tool could load outside content, which helped leak the code.
What is OAuth / SSO?
Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.