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.
- 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 mediabutton. - Select
Embed Media - Paste this:
[dailymotion id=x8oma9] - Insert it.
- Open Burp Suite and click
Savebutton. - 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:
Impact
Stealing cookies.
Best Regards, @mygf
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
- Go to the dashboard and create a survey.
- Navigate to the survey's question page and add a Multiple Choice question.
- Click Add media, select Embed Media, and insert a dailymotion embed.
- Intercept the save request with Burp Suite and replace the media parameter with an XSS payload.
- 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.