Skip to content
XSS Disclosed report Intermediate

Stored XSS on https://app.crowdsignal.com/surveys/[Survey-Id]/question - Bypass

A stored cross-site scripting vulnerability existed in the survey question editor, allowing an attacker to inject a malicious payload into the media parameter. This could let an attacker steal cookies from other users who view the affected survey.

ali Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 4 days
  • Paid in 6 days
  • Disclosed after 2 months

Summary by the researcher

If you want to follow me, here is my linkedin & twitter accounts: https://twitter.com/alicanact60 https://tr.linkedin.com/in/alicanact60

@mygf

The report

Hello there, I hope all is well!

I found a stored xss on https://app.crowdsignal.com/

Steps:

  • Go to https://app.crowdsignal.com/dashboard
  • Create a survey.
  • Go to https://app.crowdsignal.com/quizzes/{survey-id}/question
  • Add Multiple Choice
  • Click Add media button.
  • Select Embed Media
  • Paste this: [dailymotion id=x8oma9]
  • Insert it.
  • Open Burp Suite and click Save button.
  • Return to burp suite and paste xss payload to media[11111111] parameter: [dailymotion id=x8oma9"><svg/onload=prompt(document.domain)>]
  • Forward the request and refresh the page. You will see xss alert.

This isn't self xss because I saw users who Team plan can invite other users to their dashboards. So attacker can steal victim's cookies.

Also I recorded a poc video for you:

bandicam_2020-09-03_21-49-20-444.mp4 From the original on HackerOne

Impact

Stealing cookies.

Best Regards, @mygf

The original report as published on HackerOne, by ali. 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 application failed to properly sanitise or encode user-supplied input in the media parameter before storing and reflecting it in the page.

Impact

An attacker could steal cookies from other users who view the survey, though the report only shows an alert.

What the attacker needed

A Crowdsignal account; ability to create a survey; victim views the survey question

How it was found

  1. Go to the dashboard and create a survey.
  2. Navigate to the survey's question page and add a Multiple Choice question.
  3. Click Add media, select Embed Media, and insert a dailymotion embed.
  4. Intercept the save request with Burp Suite and replace the media parameter with an XSS payload.
  5. Forward the request and refresh the page to trigger the alert.

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 a type of security bug where an attacker can sneak harmful code into a website. When another person visits the affected page, that code runs in their browser and can do things like steal their login cookies. Here, the attacker could add a special media tag to a survey question, and when someone else opened the survey, the code would run.

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 ali

View all

9 more disclosed reports, best first.

More from Automattic

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.