Slashdot Mirror


Firefox's Blocked-By-Default Java Isn't Going Down Well

JG0LD writes "The Firefox web browser will, henceforth, require users to manually activate Java objects on sites that they visit, Mozilla has confirmed. This even affects up-to-date versions of Java, which you can see on the block list. The change is aimed at improving security and moving away from a dependence on proprietary plug-ins, but critics say it will cause untold headaches for developers, admins and less-technical end-users. "

29 of 362 comments (clear)

  1. Didn't they learn from Microsoft? by Anonymous Coward · · Score: 5, Insightful

    Users hate authorizing things, and become trained drones blindly okaying everything anyway.

    As security models go, it's a poor one.

    1. Re:Didn't they learn from Microsoft? by Doh! · · Score: 4, Insightful

      So... they should disable all plugins like Java and Flash and not let the user authorize anything? That would never work.

    2. Re:Didn't they learn from Microsoft? by sortius_nod · · Score: 4, Insightful

      Indeed, never trust basic security to users. Better to keep a your workstations up-to-date & deal with the IT nightmare that is updating rogue workstations than to deal with the IT apocalypse of click monkeys.

    3. Re:Didn't they learn from Microsoft? by erroneus · · Score: 4, Insightful

      Yes, while I tend to agree with that notion, I also have to remind that this is web Java applets we're talking about. Who does that any more? There are four places where I see that:

      1. Business/Office web based apps (Documentum in my case)
      2. Cisco "web interfaces"
      3. An older HP print server "web interface."
      4. Webmin (optional) controls for telnet/ssh and file management.

      In each of those cases, I am very comfortable making those explicit exceptions. There may be more. Not wanting to speak for the whole world, but at this point, I can't imagine this being a huge problem. So anyone, please correct me if I'm wrong by providing other examples.

    4. Re:Didn't they learn from Microsoft? by buchner.johannes · · Score: 5, Informative

      Actually it's not an authorization dialog, but a "click-to-play" on the embed objects. You can get the same functionality already by setting plugins.click_to_play to true in about:config. That is just going to be a default setting on new installs, but you can set it to false. I set it to true myself, because it is useful to not have arbitrary Flash code to just start running (and playing).

      The gamble Mozilla makes is that because of the extra step, companies will move to putting content into HTML5 rather than external plugins, because it makes their website more clunky. They also do replace external PDF viewer plugins with a HTML5/JS based one, so it is a coherent strategy towards open technologies. There are plenty of benefits if it works out, security is one of them. And it's a phased, non-invasive method, which can be disabled.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    5. Re:Didn't they learn from Microsoft? by Lennie · · Score: 4, Informative

      Chrome ? I wouldn't count on that:

      "By the end of 2014 Google intends to completely remove the Netscape Plug-in API."

      http://www.infoq.com/news/2013/09/NPAPI-Depricated

      --
      New things are always on the horizon
    6. Re:Didn't they learn from Microsoft? by Anonymous Coward · · Score: 4, Interesting

      Yes, while I tend to agree with that notion, I also have to remind that this is web Java applets we're talking about. Who does that any more? There are four places where I see that:

      1. Business/Office web based apps (Documentum in my case) 2. Cisco "web interfaces" 3. An older HP print server "web interface." 4. Webmin (optional) controls for telnet/ssh and file management.

      In each of those cases, I am very comfortable making those explicit exceptions. There may be more. Not wanting to speak for the whole world, but at this point, I can't imagine this being a huge problem. So anyone, please correct me if I'm wrong by providing other examples.

      Most online banking systems in Scandinavia use Java applet. Same Java-based id/login system can be used for many public services and for web shop payments. They are working on moving away from it, but for now being able to do online banking is a pretty key requirement for most users. I have Chrome set up with my bank as only trusted site where the Java applet is activated, for all other sites it is deactivated. As long as my bank is not compromised and serving malware through Java vulns that should be ok.

      As for Flash, many people seem to think that HTML5 video support can replace Flash, but then you are not aware of the huge amount of popular Flash games out there. As a tower defense game addict Flash is just a necessity for a long while still.

    7. Re:Didn't they learn from Microsoft? by Anonymous Coward · · Score: 4, Insightful

      It is not a security model. It is a responsibility model.
      Now the responsibility lies even less with Mozilla and more with the user who installed Java in the first place.
      If that user can not take hint, and becomes a trained drone, that is his problem. The only more secure thing to do would be to simply refuse running java at all. Obviously that is even less realistic.

    8. Re:Didn't they learn from Microsoft? by erroneus · · Score: 4, Interesting

      As I run adblock and noscript, I'm already extremely comfortable with the white-list approach to securing browsers... so grains of salt in all of that -- users are not usually accustomed to the concept. I hadn't considered it when I first posted at 3-something AM this morning in my sleep. That said, it's useful to know that there are indeed still public/internet facing sites out there using Java. Shame on them.

  2. Headaches for developers? by Anonymous Coward · · Score: 4, Insightful

    They should probably get their heads checked, why are they making Java apps for webpages still?

    1. Re:Headaches for developers? by characterZer0 · · Score: 4, Informative

      In my case, applets for doing signatures with USB signature tablets. Can't do that in JavaScript.

      --
      Go green: turn off your refrigerator.
    2. Re:Headaches for developers? by Dahamma · · Score: 5, Informative

      Because Java allows native access to USB hardware. Haven't seen that in Javascript.

      And no offense, but do you know what a digital signature is? Having the source code to the algorithm doesn't affect security. That would be like saying "I know how AES works, therefore I can decrypt all AES-encrypted data!" Doesn't work that way.

    3. Re:Headaches for developers? by BitterOak · · Score: 5, Interesting

      Because Java allows native access to USB hardware.

      Maybe that's a darn good reason for requiring people to authorize Java applets manually!

      --
      If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
  3. Already considering uninstalling firefox by Puls4r · · Score: 4, Insightful

    I'm not a developer, but I'm pretty savvy with computers. So the first time I got that message, I went and updated Java. Fixed it, right? Nope. So I clicked around, and finally accidentally clicked on the little red icon up in the menu bar. Success! Now it gave me an option to run it. Which popped up another window asking for permission. Dear Firefox: You have a small portion of the browser market. Making yourself a nuisance by breaking big pieces of the web is not intelligent. It just drives people to chrome, or IE. Especially everyday users who don't want to screw around and just want things to work.

    1. Re:Already considering uninstalling firefox by reve_etrange · · Score: 4, Informative

      It just drives people to chrome

      Good luck, Chrome has the same behavior. Even with a signed applet and updated Java, Chrome users had to click twice to run.

      For the /.ers astounding by the persistence of Java applets, I was working with JMol. I bypassed the issue by switching to the HTML5-and-JavaScript version and using the applet as a fall-back.

      --
      .: Semper Absurda :.
    2. Re:Already considering uninstalling firefox by Kjella · · Score: 5, Informative

      Well, if you're in Norway then 800-900,000 people use it daily and 2.9 million occasionally to access their bank and various other public services through BankID. They are moving away from Java now after all the security issues, it was announced in April but hasn't happened yet so with this I expect Firefox usage here will drop like a rock.

      --
      Live today, because you never know what tomorrow brings
  4. Like? by The+Cat · · Score: 4, Insightful

    moving away from a dependence on proprietary plug-ins

    Like the browsers themselves?

    Hey maybe we can get all the people at Adobe and Oracle laid off the same week. Wouldn't that be fun?

    Isn't it great how the web is moving away from "proprietary plug-ins" and straight into proprietary mobile devices?

    And look at the web users cheer. The people who built the web would recoil in horror at what you have allowed to happen to the Internet.

    I give it five years, maybe six, and the Internet will be completely walled off by a McDonalds logo.

  5. At this rate... by JohnA · · Score: 5, Funny

    Firefox will be exactly what Scott Adams predicted...

    http://dilbert.com/strips/comic/1995-03-25/

    Applets may be "The Debil", but they also fill a need that can't be filled by Flash or HTML5.

    Mozilla needs to get over themselves.

  6. Who cares? by Hecatonchires · · Score: 4, Funny

    Java is huge in the business back end, but front end Java just leaves a bad taste in the mouth of users. Slow, bloated, painful to use and kinda salty.

    --

    Yay me!

  7. Untold headaches? by ichthus · · Score: 4, Insightful

    We'll see. I've been running the FlashBlock plugin for years (to manually enable flash elements) with VERY FEW adverse effects. I doubt having to manually activate Java elements will be any worse.

    --
    sig: sauer
    1. Re:Untold headaches? by macraig · · Score: 5, Insightful

      You just succinctly explained why tools like NoScript are so desperately needed, not why they aren't. The real problem is Web design that serves an agenda contrary to the desires and rights of those who use the Web. Fix that problem and annoying tools like NoScript won't be necessary.

      What that means, BTW, is that Web developers need to grow both a conscience and a spine and say NO when they're asked to code Bad Things. It also means that the pushovers and corporate plants over at the W3C need to stop adding crap to the standard that aids and abets these Bad Things.

  8. Nice SNAFU by Mozilla by SpaceLifeForm · · Score: 4, Informative
    Here's the problem: Non-technical users are going to scream about the steps needed to allow the Java Applet to run.

    How to enable Java if its been blocked

    In order to protect you, Firefox has stopped outdated versions of the Java plugin from running automatically because of security issues.

    So, now, the lastest version of Java (7.45) is considered outdated.

    Absolutely brain-dead decision.

    --
    You are being MICROattacked, from various angles, in a SOFT manner.
  9. What's the big deal? by Anonymous Coward · · Score: 5, Insightful

    Oracle Java has ALSO decided, due to the persistent security problems due at least in part to having concurrent (i.e., old) versions installed (and the fact that the largest exploit kits have used Java as one of their main vectors for some time now, alongside Adobe Reader of course) to disable Java plugins in the browser by default in recent updates.

    So, what's the big deal? This is the correct decision from a security perspective. I can't remember the last time I saw someone on the World Wide Web actually USE a Java applet for good, rather than for evil. And I'd have noticed, because even after all these years, it still runs like an absolute dog. It's the kind of thing you might use on a local application (such as Minecraft, which is what I think probably most people who still have it installed use it for now, albeit they'd likely have the 64-bit version which wouldn't have a working browser plugin in a 32-bit browser anyway!) or an intranet site (which is your administrator's problem, to re-enable it for that site only, or to use a different browser for the web and the intranet, which you can totally do and is good practice).

    I've got many other criticisms about Firefox recently from a security and performance perspective - let's face it, it's just not the zippy, efficient browser it used to be, even relatively-speaking, it's lost its mojo and the security team have a reputation for having a slow, and fairly arsey, response - but this seems to be the right decision and they should be lauded for it. IE has also done it, as has Chrome.

  10. Re:I don't understant the hate by knorthern+knight · · Score: 4, Informative

    > I don't get it why people hate Java applets so much they want them to go altogether.

    Because Java applets are a honking big security hole, and currently the most-often-used attack-vector to take over unsuspecting users' machines. See http://www.cvedetails.com/vulnerability-list.php?vendor_id=5&product_id=1526&version_id=&page=1&hasexp=0&opdos=0&opec=0&opov=0&opcsrf=0&opgpriv=0&opsqli=0&opxss=0&opdirt=0&opmemc=0&ophttprs=0&opbyp=0&opfileinc=0&opginf=0&cvssscoremin=0&cvssscoremax=6.99&year=0&month=0&cweid=0&order=1&trc=35&sha=d158a5520a2bc52f7443268daaab5851ced00564 for a list of recent problems.

    --

    I'm not repeating myself
    I'm an X window user; I'm an ex-Windows user
  11. Uses of Java applets by Anonymous+Brave+Guy · · Score: 4, Informative

    Must we have this troll comment every time someone mentions Java applets?

    Java applets are commonly used, as they have been for many years. According to this Chromium blog post from September 2013, 8.9% of Chrome users had launched something using the Java plugin in the past month.

    Among the common uses that get mentioned every time this discussion comes up are: public access to banking and government systems in various countries, games, user interfaces for devices (scientific equipment, network infrastructure, all kinds of examples), access to local hardware devices that aren't yet available via newer technologies, some popular teleconferencing and VPN software, and little demo graphics written by academics to go on their web sites a decade ago that are still just as relevant today.

    In other words, just because you don't use Java applets yourself or know when they're still useful, don't assume everyone else is in the same situation.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    1. Re:Uses of Java applets by Anonymous+Brave+Guy · · Score: 4, Insightful

      Depending on who you ask, there are about 2.5B people using the Internet now. If we assume most of them use the Web and we assume that the pattern for Chrome is representative of the general population, that means more than 200,000,000 people used a Java applet at some point in the previous month.

      Even I am surprised by that, but in any case, it seems you and I have very different ideas of what "almost extinction-level rare" means.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  12. Re:What need? by Anonymous+Brave+Guy · · Score: 5, Insightful

    If you are still developing/depending on applets, 1995 called they want their stupid ideas back.

    Hi 2013, this is 1995 calling. When your new shiny toys have the portability and performance and flexibility that we had nearly two decades ago, and developers can write software using them with a reasonable expectation that it will still be working in 5 or 10 years (or even 1 or 2 years) without needing constant maintenance, then you get a vote. Until then, we'll keep our "stupid" ideas, because they've been helping us get useful work done since before you were born. Kthxbye.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  13. Re:Is it time to fork Firefox yet? by Anonymous+Brave+Guy · · Score: 4, Insightful

    The number of support e-mails in my inbox this week from those users suggests that they aren't too happy about being "defended" in this way.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  14. They do have a VM by DrYak · · Score: 4, Informative

    I guess they can even run javascript inside the same VM, so a unified approach.

    In fact they already have a VM they use for javascript (the whole -Monkey family), and their VM is even able to compile to native. Not only JIT, but even more so for specially crafted javascript called ASM.js (it standard Javascript, that only use those features which translate nicely into machine code: doesn't use dynamic typing, only uses safe typing, etc.) enabling near-native speed for some code.

    In theory, it should be possible to create a process which recompiles java byte-code into ASM.js and feeds it into the VM for nearly-native speeds.
    In practice, Java is a huge pile of complicated mess, and thus lots of applications end-up being highly dependent on Sun/Oracle/IcedTea Java and not run well on any other implementation (like GCJ), mostly because of missing classes or whatever. So you'll end with something as good at running Java as currently Gnash is at running Flash - more or less works broadly on theory, but breaks on lots of specific cases. Given the current market for java (bazillions of inhouse applet in businesses) it is going to be hard to test every case. Whereas Gnash only breaks on some stupid casual games and video player for cute kittens (and pr0n), a Java-reimplemented-in-the-browser would probably break business intranets and core business applications.

    The only possible solution, is implementing only the bytecode execution itself (transcode Java bytecode into ASM.js - like pluging GCJ to LLVM to emscripten to odinmonkey, for example). Ant then re-use the opensourced classes from IcedTea and co. But then you're again running the original java with all the original bugs, only on a different platform. If a bug in the official libraries enable an attacker to steal encryption keys from other apps, this is still going to put your bank's e-banking applet at risk, no matter if said applet runs on an uncrashable Mozilla OdinMonkey VM or the official Oracle JVM.

    And Google recently developed an efficient sandbox called NaCl, so why not follow them? They could even run Java inside NaCl to add another layer of security.

    NaCl isn't really a sandbox. It's only a special way to package executable native code, with limitation of what said code can do. It's some security restrictions (NaCl applications can only run a subset of the whole API available to normal applications and aren't allowed to run some instructions), stacked on top of the pre-existing Google Sandboxes (each into its own process)

    Even if you use a JVM running as a NaCl application, you've only partially solved the stability problems (JVM crashes less, and when it crashes, it doesn't take the whole browser with it). You haven't solved security (obscure stupid java classes leaks encryption keys or password due to bad design).

    Also note that NaCl is completely against Mozilla's approach and will never get implemented. Mozilla simply doesn't want binary code, because it's limiting (NaCl only runs on x86 and ARM), and still a security problem (even if it's much better then ActiveX, you're still sending executable code from the internet into a browser).

    Still PNaCl is probably where everything will be heading: this time it's not the actual binary which is shipped, but the previous step in the compilation process - the LLVM bytecode. Google can still compile it into NaC (and run better security checks at compile time). And mozilla can use it to compile it with emcripten into ASM.js. It's now much more portable (you could run it on MIPS for exemple), and much more secure (when compiling ASM.js, memory access are translated into read/writes to/from an array instead of random memory writes).

    Hell, they could even run the complete browser inside NaCl, so Firefox would run on Chrome too :)

    If you want, you can even use Firefox to run one of the virtual machines written in Javascript, boot a virtual Linux distribution and run Chrome on it.

    --
    "Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]