To .jar or not to .jar: security issue <>

edited June 2013 in Stylish
From Mozilla Security Blog: chrome protocol directory traversal

When a chrome package is "flat" rather than contained in a .jar the directory traversal allows escaping the extensions directory and reading files in a predictable location on the disk. Many add-ons are packaged in this way.

A visited attacking page is able to load images, scripts, or stylesheets from known locations on the disk. Attackers may use this method to detect the presence of files which may give an attacker information about which applications are installed. This information may be used to profile the system for a different kind of attack.

Some extensions may store information in Javascript files and an attacker may be able to retrieve those. Greasemonkey user scripts may be retrieved using this method. Session storage and preferences are not readable through this technique.

Users are only at risk if they have one of the "flat" packaged add-on installed. Examples of popular add-ons that are vulnerable include: Download Statusbar and Greasemonkey.*

Mozilla is currently investigating this information disclosure issue and has assigned it an initial severity rating of low. Details are available at:

* as well as Stylish.
Sign In or Register to comment.