flash based xss on the site qsurvey.mozilla.com
A Flash file hosted on the site accepted a crafted query parameter that let injected script run in the page. An attacker could send a victim a link that executes JavaScript in the site's domain, as shown by alert boxes displaying the domain.
- Fixed in 4 months
- Paid in 5 months
- Disclosed after 4 months
This is xss for moder Chrome browser, has been tested with Chrome 58, windows os
how to reproduce:
1. to use a modern Chrome browser
2. navigate to url:
https://qsurvey.mozilla.com/runtimejs/mediaelement-2.9.1/flashmediaelement.swf?debug=true&file=123\%22));alert(document.domain)}catch(e){}//&autoplay=true
3. many alert boxes with name of domain
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 Flash file reflected the file parameter into a JavaScript context without sanitising it, allowing script injection.
Impact
Script could run in the context of the site's domain, though it required a browser that still ran Flash and the victim opening the crafted link.
What the attacker needed
Victim opens a crafted link; browser that runs Flash
How it was found
- Open a modern Chrome browser.
- Navigate to the crafted URL on the site that points at the Flash file with a malicious file parameter.
- Observe multiple alert boxes showing the domain name.
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 Flash movie on the website took a value from the web address and used it without cleaning it. By putting special characters in the link, someone could make the page run their own JavaScript, which is code that runs in the visitor's browser. The proof was pop-up alert boxes showing the site's domain.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.