Muliple Stored XSS on tokopedia
The report describes multiple stored cross-site scripting vulnerabilities on Tokopedia, including in a product complaint image description field, a shop location parameter, an AngularJS-based etalase name, and a customer support system. An attacker could execute arbitrary JavaScript in other users' browsers when they view the affected pages.
Published on apapedulimu.click
So, It’s just old bug who I have been reported around 2018. I’ll share what I found on Tokopedia.
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 application failed to properly sanitise or encode user-supplied input before storing and rendering it in various features.
Impact
An attacker could execute arbitrary JavaScript in the context of other users' sessions, potentially leading to account compromise or data theft, though the report does not detail specific consequences.
What the attacker needed
A buyer account to file a complaint; a seller account to edit shop location; a seller account to add products; a Tokocash account to create tickets
How it was found
- Go to the complain menu and upload an image.
- Enter a script payload in the image description field.
- The payload executes when a user navigates to the resolution menu.
- Open the mobile app and edit the shop location to a script payload.
- Open the location via a browser to trigger the script.
- Go to Add product, set the Etalase name to an AngularJS payload, save, and open the product.
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.
Stored cross-site scripting (XSS) happens when a website saves harmful code and later shows it to other users without cleaning it. Here, the attacker could put a script into things like an image description or shop location, and it would run in the browser of anyone who viewed that content.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.