Skip to content
XSS Disclosed report Beginner

Reflected XSS on https://apps.topcoder.com/wiki/plugins/socialbookmarking/updatebookmark.action

The bookmark update page reflected user input from the url and redirect parameters without sanitisation, so a crafted link executed script in the victim's browser. An attacker could use this to steal cookies or run arbitrary code in the victim's session.

meryem0x Follow

Originally disclosed on HackerOne

Medium 4.6 View original
  • Triaged in 14 hours
  • Fixed in 6 days
  • Disclosed after 7 days

Summary:

Hi :) A reflected XSS occurs when creating bookmarks.

Steps To Reproduce:

A user can create bookmarks on https://apps.topcoder.com/wiki/plugins/socialbookmarking/updatebookmark.action. In this url redirect and url parameters are vulnerable to XSS.

PoC: https://apps.topcoder.com/wiki/plugins/socialbookmarking/updatebookmark.action?url=Asd"><img src=X onerror=alert(document.domain)>&redirect=Asd"><img src=X onerror=alert(document.cookie)>

2020-05-06_01-21-28_ekran_g_r_nt_s_.png
2020-05-06_01-21-28_ekran_g_r_nt_s_.png From the original on HackerOne
2020-05-06_01-20-55_ekran_g_r_nt_s_.png
2020-05-06_01-20-55_ekran_g_r_nt_s_.png

Impact

XSS can use to steal cookies or to run arbitrary code on victim's browser.

The original report as published on HackerOne, by meryem0x. 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

Root cause

Likely the bookmark update action echoed the url and redirect request parameters into the HTML response without output encoding.

Impact

An attacker could steal cookies or run arbitrary code in the victim's browser.

What the attacker needed

Victim clicks a crafted link

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 reflected cross-site scripting (XSS) bug means a website takes something from the link you clicked and puts it straight into the page without cleaning it. If that something is code, the browser runs it as if the site itself wrote it. Here the bookmark page did this with two link parameters, so a booby-trapped link could run the attacker's script in the victim's browser.

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 meryem0x

View all

13 more disclosed reports, best first.

More from Lab45

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.