DOM BASED XSS ON https://www.rockstargames.com/GTAOnline/features
A DOM-based cross-site scripting vulnerability existed on the GTAOnline features page, likely allowing an attacker to steal cookies. The issue was linked to a regression of a previously fixed directory traversal problem, and both were resolved together.
- Triaged in 43 hours
- Fixed in 2 months
- Paid in 4 days
- Disclosed after 17 months
Summary by the program
In this report, the researcher identified a DOM-based Cross-Site Scripting vulnerability under the GTAOnline section of the main site. This could have left to theft of cookies if left unresolved. Interestingly, a core factor in this vulnerability was a regression of a previously identified and resolved directory traversal issue. Thanks to this report we were able to close both the regressed directory traversal issue and the cross-site scripting vulnerability at once.
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 took part of the URL and inserted it into the page without proper sanitisation, and a previously fixed directory traversal flaw had returned.
What the attacker needed
Victim clicks a crafted link
The fix
The report says the directory traversal regression and the cross-site scripting vulnerability were both closed at once.
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.
XSS is when a website runs harmful code an attacker sneaks in. Here a crafted link could run code in a visitor's browser, which could have led to cookie theft.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.