Skip to content
XSS Write-up Intermediate

EN | Account Takeover via Web Cache Poisoning based Reflected XSS

A reflected XSS flaw existed in a parameter, and the server cached that parameter's value, so the script could be served to other visitors.

Lütfü Mert Ceylan Follow

Published on lutfumertceylan.com.tr

Firstly, it’s nice to publish my last write-up this year. In June of this year, I found a Reflected XSS vulnerability in a video-game company.

Lütfü Mert Ceylan, on lutfumertceylan.com.tr

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

Root cause

Likely the parameter was reflected into the page without proper output encoding, and its value was stored in the cache without sanitisation.

Impact

An attacker could poison the cache so the script runs for other visitors, though the text does not detail further impact.

What the attacker needed

Victim loads the poisoned URL

How it was found

  1. Find the language input that reflects a script payload.
  2. Notice that the language parameter's value is stored in the web cache.
  3. Send a request so the payload is cached.

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.

A reflected XSS bug lets an attacker put a script into a page the victim loads. Here the site also cached that value, so the script could come back for other visitors.

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 Lütfü Mert Ceylan

View all

6 more disclosed reports, best first.

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.