Stories
Slash Boxes
Comments
typodupeerror delete not in

Comments: 265 +-   Firefox 3.6 Locks Out Rogue Add-ons on Wednesday November 18, @10:13AM

Posted by CmdrTaco on Wednesday November 18, @10:13AM
from the and-stay-out dept.
mozilla
security
it
CWmike writes "Mozilla will add a new lockdown feature to Firefox 3.6 that will prevent developers from sneaking add-ons into the program, the company said. Dubbed 'component directory lockdown,' the feature will bar access to Firefox's 'components' directory, where most of the browser's own code is stored. Mozilla has billed the move as a way to boost the stability of its browser. 'We're doing this for stability and user control [reasons],' said Johnathan Nightingale, manager of the Firefox front-end development team. 'Dropping raw components in this way was never an officially supported way of doing things, which means it lacks things like a way to specify compatibility. When a new version of Firefox comes out that these components aren't compatible with, the result can be a real pain for our shared users ... Now that those components will be packaged like regular add-ons, they will specify the versions they are compatible with, and Firefox can disable any that it knows are likely to cause problems.'"
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • At my company I would like a stripped-down Firefox without features like awesome bar and other bloat. Is there a way to do this, easily?

    Also I have the SmartQ 7 and SmartQ 5 MIDs which are basedon the ARM processor. Thedefault browseris Midori... can I get a Firefox compiled for the ARM to run on that?

    I hink firefox shoudl focus on these and similar issues...

    • by toppavak (943659) on Wednesday November 18, @10:26AM (#30143998)
      A pony would be nice as well!
    • by Lord Bitman (95493) on Wednesday November 18, @11:27AM (#30144962) Homepage

      The awesome bar, and most of the other firefox bloat, should be plugins. Firefox had this great plugin architecture which everyone and their dog used- except the firefox devs.
      Why doesn't firefox ship with an array of "default" plugins, all of which can be disabled? There's no need for something like awesomebar to be core, is there?

          • Re: (Score:3, Informative)

            Sure you can. You can wipe sites from the history (and thus from the location database) relatively easily.

            You can begin typing, highlight a search result by hovering over it with the mouse, then press the Del key to remove that result.

            You can also open the history tab, type something in Search, tab into the search results list, Ctrl-A to select all, and press the Del key to remove all of them.

            Finally, you can add the HistoryBlock [mozilla.org] extension which silently prevents certain sites (domains or subdomains) from b

    • Re: (Score:3, Insightful)

      by LordSnooty (853791)
      Take source, rewrite source, build.
      • by Reapman (740286) on Wednesday November 18, @11:46AM (#30145204)

        Tired of reading these sorts of comments. Sure there's some "bloat", but what that bloat is varies by opinion. I've read where supporting CSS is "bloat". Graphics are "bloat". tabs are "bloat". RSS. etc.

        My understanding (and please tell me if I'm wrong) is the point of Firefox was to supply a WEB BROWSER. Back then when you downloaded it you also got an email program, news reader, wysiwyg website builder, etc. Firefox was JUST a browser. Still is.

        If you REALLY want where everything is an option go build it yourself. Have something where you choose which renderer you want (Moz's, Webkit, etc), whether or not to have tabs, allow plugins, command line version, etc. Hit next a few times and presto your very own browser.

  • .NET Anyone? (Score:5, Insightful)

    by Daengbo (523424) <daengbo@gm[ ].com ['ail' in gap]> on Wednesday November 18, @10:18AM (#30143838) Homepage Journal

    Last February, and again in May, Firefox users complained when they found that Microsoft had pushed the .Net Framework Assistant add-on and the Windows Presentation Foundation (WPF) plug-in to their browsers as part of the .NET Framework 3.5 Service Pack 1 (SP1) update, which was delivered via Windows Update.

    That's the first thing I thought of when I read the summary.

    • Re:.NET Anyone? (Score:4, Insightful)

      by NoYob (1630681) on Wednesday November 18, @10:21AM (#30143914)
      The first thing I thought of was those Yahoo! toolbars that folks love to slip into every browser.
      • by Anonymous Coward on Wednesday November 18, @10:56AM (#30144478)

        What do you mean? As far as I know, in all the instances where a toolbar is bundled with some other software, the toolbar installation is clearly mentioned in the software EULA, so each time the toolbar is installed, the user agreed that he wanted it. As a developer for a Web optimizer plugin, this Firefox change will make it much harder for us to reach our users.

        • Re:.NET Anyone? (Score:5, Insightful)

          by mqduck (232646) <[ten.kcudqm] [ta] [kcudqm]> on Wednesday November 18, @11:37AM (#30145118)

          the toolbar installation is clearly mentioned in the software EULA, so each time the toolbar is installed, the user agreed that he wanted it. As a developer for a Web optimizer plugin, this Firefox change will make it much harder for us to reach our users.

          I fail to see the downside for anybody but you, and you make it sound like you clearly deserve it.

        • Re:.NET Anyone? (Score:5, Insightful)

          by Miamicanes (730264) on Wednesday November 18, @12:03PM (#30145498)

          > What do you mean? As far as I know, in all the instances where a toolbar is bundled with some other
          > software, the toolbar installation is clearly mentioned in the software EULA, so each time the toolbar
          > is installed, the user agreed that he wanted it. As a developer for a Web optimizer plugin, this Firefox
          > change will make it much harder for us to reach our users.

          Q. What's the difference between a 'trojan' and 'malware'?

          A. Malware has a EULA.

          I can't even *begin* to emphasize how badly it pisses me off when some app tries to sneak BHOs and plugins into their installer... almost always in ways that someone in a hurry to install the app that's actually *desired* will overlook. I flat-out refuse to ever use Yahoo and Google's toolbars, *precisely* because they have so many people trying to ram them down my throat and trick me into installing them.

        • Re:.NET Anyone? (Score:5, Insightful)

          by andi75 (84413) on Wednesday November 18, @12:34PM (#30145948) Homepage

          If it's "mentioned in the EULA" it might as well be "on display in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying 'Beware of the Leopard'". About the same amount of people will be able to read & understand it.

            • I think what you and the others that hate toolbars want is a nice little thing called Ninite. Dozens of programs including Foxit to choose from (and you can suggest more) and NO TOOLBARS. I just installed the latest Foxit in both WinXP and Win7, zero toolbars. it also makes it butt simple when you are building or repairing a PC which of the major programs you want installed without having to play "installer monkey".

              Just pick the programs you want from the list, download the installer, and away you go. Has a

    • Re:.NET Anyone? (Score:5, Informative)

      by maxume (22995) on Wednesday November 18, @10:25AM (#30143968)

      Those components were installed by editing the Windows registry, not 'dropped in' as is discussed here (Firefox looks in various locations to find plug-ins and addons to load).

        • Re: (Score:3, Insightful)

          by Anonymous Coward

          I'm sick of getting my browser hijacked every time I install a program.

          Maybe you should stop installing malicious software, then.

          There's a perfectly good reason why these apps need to look in multiple locations: different users have different setups.

          It's all well and good to have "one location", until that one location on one person's machine is an administrator-only location that non-privileged users can't edit, meaning they have no ability to customize their use of the software. I don't give a crap what p

    • they said they would have a solution, and this is a viable one. That is exactly what I had in mind as well. Like they say, locks keep honest people honest.

    • Yes, and I think that's pretty much what they're taking aim at. They already specifically blacklisted the add-on a while ago, causing huge cheer as well as huge backlash. It seems that with this approach they want a more flexible solution by making sure people can disable stuff they don't want.

    • Re: (Score:3, Informative)

      This is different from that. Those are actually packaged as add-ons so this change wouldn't affect them at all.

      What Mozilla should do about those IMO is one of two things: 1) Enable the uninstall button for globally installed extensions (IE installed for all users) on Administrator accounts (in Windows; root on Linux... assuming Linux has global extensions) 2) Take steps to prevent or discourage apps from trying to plop extensions down and install them in Firefox without the user's consent. The "official"

      • Re:.NET Anyone? (Score:5, Informative)

        by sopssa (1498795) * on Wednesday November 18, @10:37AM (#30144176)

        Well, as no one reads the article, this doesn't concern .NET update in any way:

        In actuality, Microsoft did not drop its code into Firefox's components directory, Nightingale confirmed. "The .Net Framework and WPF use our existing extension/plug-in mechanisms, that's why we were able to disable them when they were found to be vulnerable," he said in a follow-up e-mail. "They aren't impacted by this change."

        • Re:.NET Anyone? (Score:5, Insightful)

          by trevdak (797540) on Wednesday November 18, @11:34AM (#30145078) Homepage
          Regardless, there should've been a prompt to ask if you wanted to install it, and there damn well should be a working uninstall button.
              • Re: (Score:3, Insightful)

                by Catiline (186878)

                In my opinion, the missing uninstall button is a Firefox problem. How could they let you install software and list it as is installed software, but provide no method to uninstall?

                Simple. Go to your FF address bar and type file:///C: then click on Program Files. You will be faced with a long list of software that FF is claiming is installed on your system, but can't just uninstall.

                What a textbook example of a strawman argument! Firefox was not intended to manage software installed to "C:\Program Files\" an

          • Re: (Score:3, Interesting)

            by maxume (22995)

            It's an artifact of supporting system wide extension installation, rather than per user. Microsoft probably should have used per user installation of the plugin (even though .NET is arguably a system wide update). Removing the support is probably overkill, as I imagine it is useful in managed environments.

  • User perspective (Score:5, Insightful)

    by omfglearntoplay (1163771) on Wednesday November 18, @10:19AM (#30143860)

    From a user perspective, this sounds like a good move. Stability problems in Firefox always seems to stem from add-ons or extensions. Lock that crap down, and make the devs code the right way.

    • by fluffy99 (870997) on Wednesday November 18, @11:44AM (#30145194)

      From a user perspective, this sounds like a good move. Stability problems in Firefox always seems to stem from add-ons or extensions. Lock that crap down, and make the devs code the right way.

      Correction - stability problems in Firefox have always been blamed on add-ons or extensions. Of course the developers always became deaf when people having issues with no plug-ins installed.

      • Re: (Score:3, Insightful)

        Because --safe-mode is too much?

        To get help all I've ever had to do is run the program in --safe-mode and see if the bug is still there (often it's not), personally i like keeping a blank profile and launching it with --no-remote anyway, but --safe-mode isn't that much to ask, given they are normally caused by addons

  • by Voulnet (1630793) on Wednesday November 18, @10:20AM (#30143882)
    So what would be the effect on Add-on development? Would it make it more difficult to develop them? Would it constrain the Add-on developers?

    Or is this just a method to lock out some Add-on with already known problems?
    • Re: (Score:3, Insightful)

      by socsoc (1116769)
      Hopefully it's gonna lock out add-ons that weren't initiated from within the browser with explicit intention from the user. The MS .NET stuff and the browser addons that get automatically (if you're not paying close attention, which my users never are) added from Adobe Reader, Java, CCleaner, etc.
      • by BitZtream (692029) on Wednesday November 18, @10:45AM (#30144308)

        The MS plugin is not effected by this. It did things in the proper way, the documented method for adding system wide extensions rather than user level extensions. That is why Mozilla could easily disable the insecure version of the plugin, because it actually followed the rules.

        MS just added a registry key that pointed at the files for the extension, which is well documented and used by many other pieces of software to allow plugins to be installed even before Firefox, and allowing any version of Firefox (or Thunderbird or whatever) to find them, even after installation into some random directory.

        If you bother to read the article, it says the same. Google Desktop Search on the other hand, doesn't follow the rules and will be blocked unless Mozilla makes a work around for them or Google updates GDS to follow the rules.

        This is essentially like not allowing code from anyone other than MS to be dropped into the Windows directory, and requiring it to be put somewhere else and properly registered with the system rather than throwing it in the system32 directory and loading it as if it were trusted code from MS.

        • Re: (Score:3, Insightful)

          by socsoc (1116769)

          I disagree with the "proper way." I do not use .NET and have no wish for that to be in a competitor's browser. To me the proper way is for me seek out a download, preferably through an XPI, but definitely not through Windows/Microsoft Update.

          Although I thought I read it, I didn't see the link to the second page to TFA, so thanks for redirecting me back to it.

    • Re: (Score:3, Insightful)

      by vertinox (846076)

      So what would be the effect on Add-on development? Would it make it more difficult to develop them? Would it constrain the Add-on developers?

      Its the same reason why IE made it easier to develop web pages by tolerating broken HTML code.

      People were using unintended features to make their work easier, but then when the unintended feature was removed then it breaks a lot of things.

      In that respect, the developers should have wrote to spec in the first place rather than taking advantage of loopholes because it mi

  • Marketshare Issues. (Score:4, Informative)

    by carp3_noct3m (1185697) on Wednesday November 18, @10:28AM (#30144026)
    In the browser wars, people tend to forget sometimes that marketshare is an inherent part of how much your browser will come under attack. Issue's like these, while it's good they're being patched, should have been taken care of a long time ago in anticipation of things to come. Firefox is still my preffered method of browsing, but thats because I am a halfway knowledgeable user that uses adblock, noscript, betterprivacy, use privately encrypted TOR when about (Iron Key) and only allow certain cookies. I used to recommend it to people, but now it seems just as bad (GASP) as IE with a standard install. I agree with jkrise (First Post!), there needs to be something like sub-builds that focus on security. I still like firefox better, as I occasionally evaluate the other browsers, and find them all lacking more than firefox in some areas. Just my two cents of subjective opinion though. Carpe Out.
    • Re: (Score:3, Insightful)

      by socsoc (1116769)

      I am a halfway knowledgeable user that uses adblock, noscript, betterprivacy, use privately encrypted TOR when about (Iron Key) and only allow certain cookies.

      Do you really feel this is necessary? Sounds like you are jumping through a lot of hoops and degrading your browsing at the expense of a tin-foil hat.

      • Re: (Score:3, Insightful)

        Like I said, I only use the TOR on my ironkey when I'm say at class on an open wifi signal. The cookie thing is annoying as hell at first, but, as well as with noscript, once you have gone to the majority of the sites you frequent, its not an issue anymore.
      • Re: (Score:3, Insightful)

        by TheReaperD (937405)

        Do you really feel this is necessary? Sounds like you are jumping through a lot of hoops and degrading your browsing at the expense of a tin-foil hat.

        If you are doing anything of importance with your browser, yes. If all you do is surf the web all day, then usually, no.

        If you work with online banking, do other forms of commerce online, then you need to treat your web browser like your bank should because it is, by extension, your bank. If any form of VPN connections are used to your work, then you need to treat your computer as a work computer and secure it appropriately. Also, if you surf for porn, you really need to use this as the most nasty ex

      • It really isn't that simple. You could be running *nix or a mac. You might go to the same 3 sites everyday, but never browse new things. Due to the nature of the ways browsers are installed by default (which you imply you are using) you could get infected by even legitimate websites (who resell adspace to unscrupulous buyers) and not even realize it. With no tools, how do you propose to prevent cross-site scripting attacks, Java-script attacks, etc? I actually don't run a/v on personal systems. But I do run
  • by BitZtream (692029) on Wednesday November 18, @10:34AM (#30144140)

    Works great, till you have someone like myself, who just specifies that my components are compatible with Firefox 2.* to 10.* so I don't have to worry about a new version claiming my plugin isn't compatible even though it is, which has happened enough in the past that I just don't care anymore.

    Am I wrong? Yes. Is Mozilla wrong? Yes, you never trust the external code to tell you the truth, basic programming 101.

    • Re: (Score:3, Informative)

      You can't upload such extensions to addons.mozilla.org, thus it isn't likely many people will use it. Right now extensions can only specify up to 3.6.*.
      • Re: (Score:3, Informative)

        by traycerb (728174)

        The addon Mr. Tech Toolkit has this option. Under its options Misc -> XPI install options -> Enable Addons Compatibility checking

      • Re: (Score:3, Informative)

        FF less than 3.6
        1. Right-click -> New -> Boolean
        2. Name: extensions.checkCompatibility
        3. Value: false

        FF more than or equal to 3.6
        extensions.checkcompatibility. is used instead (bug 521905). "" is the application version, including alpha and beta releases but excluding minor version updates. For example: Firefox 3.6b2 -> extensions.checkCompatibility.3.6b Firefox 3.6 -> extensions.checkCompatibility.3.6 and Firefox 3.6.1 -> ext

  • by Todd Knarr (15451) on Wednesday November 18, @10:50AM (#30144382) Homepage

    I notice this doesn't extend to plug-ins and extensions found via the various plugins directories and registry keys. If it were me, I'd extend this feature to include saving a list in a locked-down location of all known extensions/add-ons found via the plugin directories and via registry keys. Every time the browser started, if it found a plugin or extension being loaded via the registry or a plugin directory that wasn't on the list, it'd notify the user what the plugin was and ask whether they wanted it enabled or not. That way nothing can get added to the browser without the user knowing and approving of the change.

    Down in the advanced options I'd add a setting to give expert users the additional option of removing the plugin by either removing it's files from the plugins directory it was found in or removing it's registry keys depending on how it was found.

  • by JustNiz (692889) on Wednesday November 18, @11:01AM (#30144566)

    The acutal problem is that firefox blindly loads whatever is in that directory.
    Locking the directory is a hack of a solution that others, especially Microsoft will easily find a way around. The proper answer is that Firefox needs to compare components it finds by their signature (checksum and name combo or whatever) with a secure list of components it is authorised by the user to load, before it loads them.
    The other fix firefox needs is to deny installed extensions the ability to prevent the user from uninstalling them (like Microsoft's .NET framework firefox extension did).

      • Re: (Score:3, Informative)

        by BZ (40346)

        > they should have an "approved" list within the browser's data

        That's precisely what this fix does.

        > as opposed to a "disabled" one

        I have no idea why you decided there's such a list. Was it something in the article?

        That's assuming you're talking about component loading, not add-ons; from the latter part of your comment it sounds like you're talking about add-ons...

  • nethack (Score:4, Funny)

    by SnarfQuest (469614) on Wednesday November 18, @11:16AM (#30144782)

    If it doesn't allow rogue add-ons, does it allow nethack ones?

Necessity is a mother.