XSS in qsurvey (Survey Gizmo)
Originally disclosed on Mozilla
- Fixed in 20 days
- Paid in 24 days
- Disclosed after 20 days
Created attachment 8638750
Screenshot from 2015-07-25 02:00:29.png
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.8.0
Build ID: 20150701031438
Steps to reproduce:
The vulnerability website https://qsurvey.mozilla.com/
The site Reflects Cross Site Scripting (XSS)
Proof of Concept Link : https://qsurvey.mozilla.com/s3/Pocket-in-Firefox?source=heartbeat&surveyversion=9%22%3E%3Cimg%20src=x%20onerror=%22alert%28document.domain%29;%22%3E&updateChannel=beta&fxVersion=39.0&type=stars&score=5&flowid=2b7c343d-4ff1-4b6e-b384-e1386e580984
Actual results:
Just click on the crafted POC link and you will experienced a "reflected" XSS attack, where the JavaScript payload "><img src=x onerror="alert(document.domain);"> echoed back on the page returned by the server. If you look at line 29 of the source code, you'll see that the payload is executed.
Expected results:
User input need to be sanitize or characters input need to substitute/encode in order to avoid such attack.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity XSS bug in Other. Mozilla made it public on 13 August 2015.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.