November 30, 2026
My First $$ Bounty: An OAuth CSRF Vulnerability
How I discovered and reproduced a Discord account-linking vulnerability in Instant Gaming and earned my first $50 reward.

By Md Tanjimul Islam Sifat
5 min read
How I discovered and reproduced a Discord account-linking vulnerability in Instant Gaming and earned my first $50 reward.
My First $50 Bug Bounty! ๐ฏ
Every bug bounty hunter remembers their first reward.
For me, that moment came from an interesting OAuth vulnerability in Instant Gaming.
On August 26, 2026, I reported a security issue in its Discord account-linking functionality. The vulnerability allowed an attacker to attach their own Discord identity to another user's Instant Gaming account without that user's permission.
I reproduced the issue using two isolated browser sessions and discovered two different attack scenarios.
The interesting part? I didn't need another person's Discord account. I used my own test account to demonstrate the issue.
Here's how I found it.
1. Understanding the Functionality
I started by looking at Instant Gaming's Discord integration.
Users could connect their Discord accounts to their Instant Gaming profiles.
Normally, the process looks like this:
User clicks Connect Discord
|
v
Instant Gaming redirects to Discord
|
v
User authorizes the application
|
v
Discord returns an authorization code
|
v
Instant Gaming processes the callback
|
v
Discord account gets connectedUser clicks Connect Discord
|
v
Instant Gaming redirects to Discord
|
v
User authorizes the application
|
v
Discord returns an authorization code
|
v
Instant Gaming processes the callback
|
v
Discord account gets connectedWhile examining this flow, I inspected the OAuth authorization request.
Something important caught my attention.
The request didn't contain a state parameter or a PKCE code_challenge.
2. Why Did the Missing State Parameter Matter?
The OAuth state parameter helps protect an authorization flow against CSRF attacks.
Think of it as a unique transaction ID.
When a user starts an OAuth process, the application should generate a random value, store it against the user's session, and validate it when the authorization response comes back.
For example:
OAuth Request:
client_id=APP_ID
response_type=code
state=RANDOM_VALUEOAuth Request:
client_id=APP_ID
response_type=code
state=RANDOM_VALUEThe callback should return the same state:
OAuth Callback:
code=AUTHORIZATION_CODE
state=RANDOM_VALUEOAuth Callback:
code=AUTHORIZATION_CODE
state=RANDOM_VALUEThe application compares both values.
If the state is missing or doesn't match, the application should reject the transaction.
In the flow I investigated, this security binding was missing.
I also noticed that PKCE was not being used.
That gave me a reason to investigate further.
But identifying missing parameters wasn't enough. I wanted to prove whether they could cause an actual account change.
3. My Testing Setup: Two Isolated Browsers
I prepared two completely separate browser profiles.
Browser A โ Attacker
- My own Discord account was logged in.
- Instant Gaming was not logged in.
Browser B โ Victim Test Account
- A separate Instant Gaming test account.
- Discord was not logged in.
- No Discord account was connected initially.
I kept both environments isolated to avoid mixing cookies, sessions, or authentication states.
My objective was simple:
Could an authorization code belonging to my Discord account be processed inside a different Instant Gaming account's session?
4. Attack Scenario One: The Login-Funnel Issue
First, I investigated the register OAuth context.
Step 1: In Browser A, I initiated Discord authorization using my own Discord account and authorized the application.
Step 2: Discord returned an authorization code to Instant Gaming.
Because Browser A wasn't authenticated to Instant Gaming, the application redirected me to a login-funnel URL. It preserved the pending OAuth operation.
Step 3: I opened that login-funnel URL in Browser B, which contained my separate Instant Gaming test account.
Step 4: Instant Gaming displayed its genuine login interface. I logged in normally using my test account.
Step 5: After authentication, the application replayed the pending OAuth callback.
Here's where things became interesting.
The authorization code belonged to my Discord account, but the callback was processed using the other Instant Gaming account's session.
I checked the Discord integration page.
The attacker's Discord identity was now connected to the victim test account!
I also logged out and logged back in.
The connection was still there.
This confirmed the first attack scenario.
5. Attack Scenario Two: One-Click Account Linking
I then investigated another OAuth context: join_discord.
I wanted to know whether the problem also existed when the victim was already logged in.
I repeated the controlled authorization process using my own Discord account.
This time:
- I generated an authorization code through my own Discord account.
- Browser B was already authenticated to the separate Instant Gaming test account.
- I examined how the application processed the corresponding OAuth callback.
- The victim's active session consumed the authorization code.
- The attacker's Discord identity became connected to the victim test account.
Unlike the first scenario, this variant didn't require the victim to log in through the login funnel.
One callback request was enough to establish the unwanted connection in the authenticated test session.
Both scenarios demonstrated the same underlying weakness: the application wasn't properly binding the OAuth authorization transaction to the Instant Gaming session that processed it.
6. What Was the Actual Impact?
I verified that:
- An attacker could force their Discord identity onto another Instant Gaming account.
- The connection persisted after logout and login.
- The attacker could remove the association by deauthorizing the application through Discord.
- The victim's Instant Gaming login email remained unchanged.
One important thing: I also tested whether this could lead to full Instant Gaming account takeover.
I couldn't demonstrate account takeover.
Even after linking my Discord identity, the official Discord sign-in process still required the victim's email and password.
I clearly mentioned this limitation in my report.
My initial severity assessment was CVSS 3.1: 4.3 (Medium).
This was an account-integrity issue, not confirmed web account takeover.
7. Reporting the Vulnerability
On August 26, 2026, I submitted the finding to Instant Gaming under ticket #13212048.
My report included:
- Missing OAuth
stateand PKCE observations. - Both affected OAuth contexts.
- Two-browser testing methodology.
- Step-by-step reproduction scenarios.
- Before-and-after account-state evidence.
- Confirmed and unconfirmed security impact.
- Recommended security improvements.
On September 14, the Instant Gaming Security Team confirmed the missing anti-CSRF binding.
There was one unexpected detail.
The vulnerability had already been reported by another researcher.
However, the team acknowledged the quality of my technical analysis and offered me a $50 reward despite the previous report.
I genuinely appreciated their recognition.
8. Receiving My First $50 Reward
The payment journey:
Date Update :
August 26 โ Vulnerability reported
September 14 โ $50 reward offered
30 November โ Resolved Confirmation
Alhamdulillah! My first $50 bug bounty reward was successfully processed. โค๏ธ
9. What I Learned From This Finding
This investigation taught me a few valuable lessons:
1. Inspect OAuth authorization requests. Don't just look at the login button. Understand what parameters the application sends and validates.
2. Test different session states. Anonymous sessions, authenticated sessions, and login transitions can reveal unexpected security weaknesses.
3. Use isolated browser profiles. They make cross-account testing much easier and help avoid session confusion.
4. Verify the actual impact. Don't call something account takeover unless you can demonstrate it.
5. Write reports with evidence. A clear reproduction and honest impact assessment make a security report much stronger.
Final Thoughts
My first rewarded bug bounty wasn't a Critical vulnerability. It was an OAuth CSRF issue that taught me a lot about authentication flows, session management, and account linking.
I'm grateful to the Instant Gaming Security Team for recognizing my work, even though the issue had previously been reported.
Alhamdulillah for my first $50 bounty and, more importantly, for the experience and knowledge gained from this investigation.
This is only the beginning. More research, more learning, and more challenges ahead, InshaAllah! ๐คฒ
Let's Connect!
Have you ever discovered an OAuth vulnerability or an account-linking issue?
What was your first bug bounty experience, and what did it teach you. Share your experience in the comments. Let's learn and grow together!
About the Author
Md Tanjimul Islam Sifat (TI Sifat)
Cybersecurity Researcher & Bug Bounty Hunter from Bangladesh. I focus on penetration testing, web application security, API security, and vulnerability research.
Admin of SftSec Tim, a cybersecurity and bug bounty learning community.
Connect with me:
- Medium: https://medium.com/@tanjimul_islam
- YouTube: https://www.youtube.com/@SftSecTim2026-p7n
- Discord: https://discord.gg/XAu8PdDeeT
Think like an attacker. Research with discipline. Disclose with integrity.
Technical references: