Ruby, Rails, Firefox, Anime, Mac
In: Mozilla27 Mar 2004
Flexer recently posted his encounter with a website that tried to get him to install a malicious XPI (Firefox extension). Upon the user clicking “Install”, the install.js (the script that performs the actual installation) tries to execute the contained executable, which is xxxtoolbar, as Paradox52525 reports.
Here’s a snippet of the code in the install.js:
Best solution, to me? Verified and digitally signed XPIs are allowed to run without hindrance. For unverified XPIs, warn the user that of that fact, and that the XPI will directly run executable code. Require an extra step of confirmation. That’s what I think at the moment, but there are some pretty good ideas in that thread. It’ll be interesting to see how this is dealt with in the near future.
Follow the discussion on MozillaZine forums.