Skip to content
XSS Disclosed report Intermediate

xss on https://www.rockstargames.com/GTAOnline/jp/screens/

The page after the last slash in the URL was decoded and loaded without validation, allowing an attacker to make it load an external script. This could let an attacker run code in a victim's browser and steal cookies or perform other attacks.

netfuzzer Follow

Originally disclosed on HackerOne

  • Triaged in 21 hours
  • Fixed in 24 days
  • Paid in 21 hours
  • Disclosed after 15 months

Summary by the program

In this report, the researcher identified a Cross-Site Scripting vulnerability on the /GTAOnline/jp/screens/ section of the website. Cross-Site Scripting can be exploited to steal cookies or help perform other attacks. This was possible because the page would blindly decode and attempt to load any content provided after the last slash; by utilizing a hashing strategy, the researcher was able to show how to take advantage of that behavior to force the page to load an externally hosted script. Thanks to that demonstration, we were able to put protections in place that will keep this behavior from happening any more.

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

Impact

An attacker could run their own script in a victim's browser on the site's domain, which could lead to cookie theft or other attacks.

What the attacker needed

Victim visits a crafted link

The fix

The site was changed so that it no longer decodes and loads arbitrary content from the path.

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.

A website took whatever text appeared after the final slash in the address and tried to load it as if it were part of the page. Because it did not check what that text was, someone could craft a link that made the site load a script from another server. That script would then run in the visitor's browser with the site's permissions.

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.