Cross-site security vulnerability in file viewer
Originally disclosed on Mozilla
- Fixed in 48 hours
- Paid in 3 months
- Disclosed after 48 hours
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.
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.