Skip to content
XSS Disclosed report Intermediate

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.

Sergey Follow

Originally disclosed on Mozilla

  • Fixed in 4 months
  • Paid in 5 months
  • Disclosed after 4 months
Text
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

The original report as published on Mozilla's Bugzilla, by Sergey. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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

  1. Open a modern Chrome browser.
  2. Navigate to the crafted URL on the site that points at the Flash file with a malicious file parameter.
  3. 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.

More by Sergey

View all

5 more disclosed reports, best first.

More from Mozilla

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.