Skip to content
XSS Write-up Advanced

Hacking Fortnite Accounts

A SQL injection and an XSS vulnerability were found in an old Epic Games subdomain. By manipulating the OAuth state parameter, an attacker could redirect a victim to the XSS and steal their SSO token, leading to account takeover.

research.checkpoint.com

Published on research.checkpoint.com

Played in a virtual world, players of ‘Fortnite’, the massively popular game from game developer Epic Games, are tasked with testing their endurance as they battle for tools and weapons that will keep them secure and the ‘last man standing’.

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could take over any Fortnite player's account, view personal information, purchase V-bucks, and eavesdrop on in-game and background conversations.

What the attacker needed

Victim clicks a link; victim logged into SSO provider

The fix

The vulnerability was fixed by Epic Games after responsible disclosure.

How it was found

  1. Find an old subdomain with a SQL injection in a GET parameter.
  2. Discover a reflected XSS in the search bar of the same subdomain.
  3. Manipulate the OAuth redirectUrl parameter to point to the XSS page.
  4. Craft a malicious state parameter containing the XSS payload and a redirect URL.
  5. Send the crafted OAuth request to the victim, who clicks it and is redirected to the XSS page.
  6. The XSS payload steals the SSO token and sends it to the attacker's server.

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 write-up has not been written yet. The Original tab links to the source.

This report describes how security researchers found two bugs on an old Epic Games website: a SQL injection (a way to sneak database commands into a web request) and a cross-site scripting (XSS) flaw (where malicious JavaScript runs in a victim's browser). They combined these with a weakness in the login system to steal a user's login token and take over their Fortnite account.

What is XSS?

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

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.