Skip to content
Disclosed report

Cross-site security vulnerability in file viewer

Wladimir Palant Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 48 hours
  • Paid in 3 months
  • Disclosed after 48 hours
Text
Created attachment 8653134
Extension with manipulated files

File viewer is currently assuming that file names are safe. That's not the case - a ZIP file can contain files with pretty much any name. Steps to reproduce:

1. Upload the attached extension to AMO and request full review.
2. Now log in as a reviewer, go to the full review queue and click on "XSS via file names."
3. Browse through the contents of the extension and click on the file named "some very long.."
4. The file contents try to trick you into reloading the page - do that.

You will see an alert message saying "xss" - JavaScript code was executed in your browser and might approve the add-on for example. The file name has malicious HTML code in it, and it will run JavaScript whenever this file is opened in the file viewer. The code isn't executed when you navigate from another file however, that's why you need to reload the page first.

The original report as published on Mozilla's Bugzilla, by Wladimir Palant. 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.

What is known

A critical-severity security bug in Admin/Editor Tools. Mozilla made it public on 28 August 2015.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

More by Wladimir Palant

View all

30 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.