Skip to content
XSS Disclosed report Intermediate

DOM based XSS on /GTAOnline/tw/starterpack/

A DOM-based cross-site scripting flaw existed on localised pages of the Rockstar Games GTA Online site, and an open redirect elsewhere on the site could be used to leak tokens through the Referer header. An attacker could run script in a victim's browser and exfiltrate sensitive tokens.

netfuzzer Follow

Originally disclosed on HackerOne

  • Triaged in 5 hours
  • Fixed in 23 days
  • Paid in 5 hours
  • Disclosed after 15 months

Summary by the program

In this report the researcher identified a DOM-based XSS vulnerability impacting localized versions of the https://www.rockstargames.com/GTAOnline/ site in varying locations. This attack also took advantage of an Open Redirect vulnerability on another part of the site to demonstrate how an attacker could use this to exfiltrate sensitive tokens via the Referer header. The Open Redirect was fixed in another report, and the XSS was addressed in this report. This behavior is no longer exploitable.

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 page's client-side JavaScript took a value from the URL and inserted it into the DOM without proper sanitisation, and a separate open redirect allowed control of the Referer header.

Impact

An attacker could execute script in a victim's browser and exfiltrate sensitive tokens via the Referer header; the text says this behaviour is no longer exploitable.

What the attacker needed

Victim visits a crafted link

The fix

The XSS was addressed in this report and the open redirect was fixed in another report.

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.

Cross-site scripting (XSS) lets an attacker run their own JavaScript in another person's browser on a trusted website. The 'DOM-based' kind happens because the page's own client-side code reads something from the address bar and puts it into the page without cleaning it. Here the attacker also used an open redirect, a link on the same site that sends visitors to any address chosen by the attacker, to help steal login tokens.

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.