RXSS to Stored XSS - forums.pubg.com | URL parameter
A reflected cross-site scripting flaw in the Invision Community forum software could be chained into a stored cross-site scripting attack. An attacker could intercept the iframe used for link embedding, redirect it to a malicious URL, and have the payload stored and shown to other users.
- Triaged in 2 hours
- Fixed in 21 days
- Disclosed after 22 days
Summary by the program
René Kroka found a Reflected XSS vulnerability that could be chained to a Stored XSS attack in the Invision Community forums software used by PUBG.
By crafting a malicious URL the attacker is able to trigger Javascript to execute on their own page; known as Reflected XSS. The attacker then creates a new forum post, or modifies their forum profile. When a link is pasted into a forum post, or profile, the Invision software tries to embed the content into an iFrame to provide an enhanced user experience. An attacker can use a proxy to intercept the iframe as it loads, redirect it to their malicious URL, and trick the forums software into storing their XSS payload and displaying it to other users.
Invision Community fixed this issue in release 4.4.9.1 (https://invisioncommunity.com/release-notes/4491-r91/). PUBG has upgraded to the latest version which resolved the issue for our installation.
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 forum's link-embedding iframe trusted a URL that could be redirected to a malicious address, allowing the reflected XSS to be stored and served to other users.
Impact
An attacker could store a script that runs in other users' browsers when they view the affected post or profile, though the text does not describe specific consequences beyond that.
What the attacker needed
Ability to create a forum post or edit profile; ability to intercept iframe requests with a proxy; victim views the affected post or profile
The fix
The issue was fixed in Invision Community release 4.4.9.1, and PUBG upgraded to that version.
How it was found
- Craft a malicious URL that triggers JavaScript execution on the attacker's own page (reflected XSS).
- Create a new forum post or modify the forum profile.
- Paste a link into the post or profile so the software tries to embed it in an iframe.
- Use a proxy to intercept the iframe as it loads and redirect it to the malicious URL.
- The forums software stores the XSS payload and displays it to other users.
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) is when a website runs attacker-supplied JavaScript in a visitor's browser. Reflected XSS happens when the malicious script comes from the link the victim opens; stored XSS happens when the site saves the script and serves it to everyone who views the page. Here the researcher found a reflected XSS and then used the forum's link-embedding feature to make the site save and display that script to other users.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.