Skip to content
XSS Disclosed report Beginner

Stored-Xss at connect.topcoder.com/projects/ affected on project chat members

A stored cross-site scripting flaw existed in the project chat messages on connect.topcoder.com, allowing an attacker to inject JavaScript that would run for other users viewing the same chat. This could let the attacker steal cookies or CSRF tokens and potentially take over the victim's SSO account.

hundredpercent Follow

Originally disclosed on HackerOne

  • Triaged in 11 hours
  • Fixed in 8 months
  • Disclosed after 8 months

Hi team , I'm sorry for my bad report and english , but i wish you understand the impact of that bug here , if it well performed the sers may lose their access to their sso accounts

Summary:

While a developer at connect.topcoder.com can manage a messages about his/her project with someonelse , This conversation was not fully protected from XSS , if some user join in the same chat he'd be affected by that xss and his ==SSO== account possibly will be token over

Steps To Reproduce:

After you register to topcoder.com go to connect.topcoder.com and sign on with your sso account , After that Go to https://connect.topcoder.com/new-project/ and add new project

NOTE : The discussion will not be accessible publicult efore the administratirs manages it , So after the adiministrators accept it the bug will be accessible publiculy █████

  1. GO TO https://connect.topcoder.com/projects/<your_project_id>/messages
  2. Add message with random title and this <script>alert()</script> as content , then submit
  3. You'll get a fully JS code injected

If an attacker inject a Javascript code that steal cookies/csrf-token... he'll be able to fully access to the victim account

Supporting Material/References:

Tested on

  • Chrome Browser .
  • Windows 7_64x

Note : That bug is affect to every machine/browser

Impact

Xss

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

What the attacker needed

A free account; victim views the same chat

How it was found

  1. Register on topcoder.com and sign in to connect.topcoder.com with an SSO account.
  2. Create a new project at connect.topcoder.com/new-project/ and wait for administrator approval.
  3. Go to the project's messages page.
  4. Add a message with a random title and a script tag as content, then submit.
  5. Observe that the JavaScript code is injected and executed.

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 lets someone insert code that runs in other visitors' browsers. Here, a chat message could contain a script, and anyone opening that chat would run it, letting the attacker act as them.

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 hundredpercent

View all

4 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.