Slashdot Mirror


Apple and Mozilla Block Vulnerable Java Plug-ins

hypnosec writes "Following news that a Java 0-day has been rolled into exploit kits, without any patch to fix the vulnerability, Mozilla and Apple have blocked the latest versions of Java on Firefox and Mac OS X respectively. Mozilla has taken steps to protect its user base from the yet-unpatched vulnerability. Mozilla has added to its Firefox add-on block-list: Java 7 Update 10, Java 7 Update 9, Java 6 Update 38 and Java 6 Update 37. Similar steps have also been taken by Apple; it has updated its anti-malware system to only allow version 1.7.10.19 or higher, thereby automatically blocking the vulnerable version, 1.7.10.18." Here are some ways to disable Java, if you're not sure how.

22 of 88 comments (clear)

  1. and to unblock? by X0563511 · · Score: 2, Interesting

    ... and if I need to unblock it, because I need to support shit that runs in these versions?

    --
    For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    1. Re:and to unblock? by Desler · · Score: 5, Informative

      From Mozilla:

      There is no patch currently available for this issue from Oracle. To protect Firefox users we have enabled Click To Play for recent versions of Java on all platforms (Java 7u9, 7u10, 6u37, 6u38). Firefox users with older versions of Java are already protected by existing plugin blocking or Click To Play defenses.

      The Click To Play feature ensures that the Java plugin will not load unless a user specifically clicks to enable the plugin. This protects users against drive-by exploitation, one of the most common exploit techniques used to compromise vulnerable users. Click To Play also allows users to enable the Java plugin on a per-site basis if they absolutely need the Java plugin for the site.

      With OS X it's blacklisted. But then again everyone is recommending to uninstall these versions anyway. If you have critical software depending on vulnerable versions you should beat the developers over the head to fix it.

    2. Re:and to unblock? by X0563511 · · Score: 3, Insightful

      If you have critical software depending on vulnerable versions you should beat the developers over the head to fix it.

      I would love to do that, but I'd get fired for it.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    3. Re:and to unblock? by JonySuede · · Score: 2

      You must have drunken mokey as coder, our internal swing application are tested to work on any java version from 1.6 to 1.8, no glitch even on 1.8 early access. They also work on ibm version but the l&f is crap. Our external swing app however, mostly the one from oracle, break for no apparent reason other than to charge for maintenance contract.

      --
      Jehovah be praised, Oracle was not selected
    4. Re:and to unblock? by khaybrak · · Score: 2

      Agreed. I have a vendor site that requires a certificate install that is browser specific. I use Firefox so that is where the certificate is installed. To access their secure website, and run an IBM 3270 emulation app via my web browser, the JVM needs to be running. There isn't an option or page displayed where I can "Click to Play" or activate. The app simply sees that the JVM isn't running within the browser. I have subscribers attempting to get prescriptions but waiting for my override that I can only do through the vendor's secure web site. I appreciate your concern for the general populous via your blocking methodology but you need to provide a way to unblock for specific sites that can be done prior to visiting the site. So, who will be first? Oracle with a patch or Mozilla with better flexibility for those of us who understand the risk but still need to do actual work?

  2. Re:Block Java by default by sribe · · Score: 2

    Why after all these years is Java not just blocked by default?

    Well, on OS X it is. What Apple just did is turn it back off for everyone who had turned it on ;-)

  3. Oracle Trashing Java? by Art+Challenor · · Score: 4, Interesting

    Sun was either more dedicated or just better at maintaing Java. There were problems, of course, under Sun, but the anti-Java sentiment based on vulnerabilities seems to be mostly post-Oracle (and somewhat justified).

    1. Re:Oracle Trashing Java? by muddysteel · · Score: 2

      I think it's more a matter of the knowledge on how to use Java as an attack vector (and the inclusion into Java exploits into easy-to-use-kits) causing the anti-Java sentiment, not who owns Java.

      And some of that sentiment is misplaced: These exploits are largely a client-side problem (e.g., browsers running Java applets or downloaded Java apps) brought on by the servers dishing the Java up not being properly secured and/or managed.

      Java's a great language in terms of what it's brought to the forefront of application development - both in terms of standardizing what a language can offer (I still loathe the days of having to decide if I would roll my own containers or memory manager in 'C' vs. picking and paying for someone's 3rd party libraries) as well as the OO aspects it forces you to consider.

  4. Re:really by Desler · · Score: 2

    where this shit is cutting edge,

    Party like it's 1999?

  5. Hypocritical by phizi0n · · Score: 4, Interesting

    While Java applets are very rare and not of much use to me personally (I mostly see it used for irc clients and bad web games), it seems a bit of an overstep to disable it completely for everyone due to a 0-day vulnerability. How is anyone supposed to ever use it if web browsers start disabling it for every 0-day vulnerability that pops up. It's not like Firefox and Safari don't also have 0-day vulnerabilities but you don't see them completely shutting themselves down nor do they roll out fixes the same day, so it seems a bit hypocritical. IMO there should be a small grace period of 1-2 weeks where the browser warns people of the known unpatched vulnerability but allows users to choose to load it anyways if they trust the site (yes, most people will just say yes to get past it) to at least give the plugin authors a chance to fix it before it gets completely disabled.

    1. Re:Hypocritical by VGPowerlord · · Score: 4, Interesting

      I really wish I could disable it at work, but we both have an (externally developed) Java applet in our main product and use WebEx to audio-conference and screen-share with the contractors who produce said Java applet.

      At home, I occasionally do Java development, but I just install the 64-bit JDK, which doesn't include the plugin for 32-bit web browsers like Chrome and Firefox. Problem solved there!

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    2. Re:Hypocritical by amicusNYCL · · Score: 3, Informative

      While Java applets are very rare

      Let's keep that in mind for the rest of this discussion. Java is in no way, shape, or form a necessity for the vast majority of users. It is, however, a huge risk.

      How is anyone supposed to ever use it if web browsers start disabling it for every 0-day vulnerability that pops up.

      First, Java has been available for web use since 1994. It's nearly 20 years old. It's not like it hasn't had a chance to take hold. There are plenty of reasons people choose not to use it. It's been an option for several projects I've been involved in, and we've never chosen it. Second, that "every 0-day vulnerability" part.. well, that's part of the problem with it. It has a lot of vulnerabilities, and a lot of them take a while to get fixed. So to answer your question, if browsers keep rightfully disabling a vulnerable POS software then people will not use it. Hopefully it will just go away.

      It's not like Firefox and Safari don't also have 0-day vulnerabilities

      Actually, it sort of is like that. Mozilla is pretty good about fixing bugs. If you don't believe me, here's their list of vulnerabilities. Go ahead and find the section on that page which lists the unfixed vulnerabilities. Here is the vulnerability page for Firefox 18 on Secunia. Take a look at the stats on the right side to see how many vulnerabilities it is currently affected by, as well as the percentage of unpatched. Here is the same Secunia page for Java JRE 1.7, go ahead and compare that to Firefox 18.

      IMO there should be a small grace period of 1-2 weeks

      Java has had a grace period of 19 years. Under Oracle, it's been around 6 years. This shit keeps happening. There is a pattern here. There is a reason why Java is the #1 infection vector for Windows machines. The browsers are just trying to protect their users. Blocking the #1 infection vector is a pretty decent way to do that. If they also blocked the Acrobat plugin then that would be another step in the right direction.

      US CERT has the right idea:

      Due to the number and severity of this and prior Java vulnerabilities , it is recommended that Java be disabled temporarily in web browsers as described in the "Solution" section of the US-CERT Alert and in the Oracle Technical Note "Setting the Security Level of the Java Client."

      (emphasis mine)

      --
      "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
  6. Why this zero-day? Why Java? by guanxi · · Score: 3, Interesting

    There are many zero-day exploits out there for many applications (and operating systems, etc.). Why does this one deserve special treatment?

    It's the second time that I remember Mozilla doing it with Java.

    1. Re:Why this zero-day? Why Java? by thsths · · Score: 5, Insightful

      > Why does this one deserve special treatment?

      Because it is
      * wide spread, both in terms of users and in terms of malicious sites
      * serious: remote exploit with none but the initial user interaction
      * arrogant of Oracle not to respond
      * avoidable, because nearly nobody needs Java anyway

      Oracle really dropped the ball here, and they deserve to be kicked.

  7. Chrome - "Click to Play" by adisakp · · Score: 5, Informative

    Chrome has a "Click to Play" mode that won't run any plug-ins on a page without user intervention but it's fairly easy (one click) to run the plug-in on content you want to see.

    In Chrome select "Settings" from options menu or navigate to "chrome://chrome/settings/"

    Click Link "Show advanced Settings"

    Click button "Content settings..." under Privacy

    Look Under "Plug-ins"

    Select the option "Click to play" which will prevent plug-ins from running on a page unless you manually click on a bar which allows them to run.

    1. Re:Chrome - "Click to Play" by adisakp · · Score: 2

      This blocks Java, Quicktime, Flash, etc. You can say Good-Bye to most of the Internet's annoying adverts when you enable "Click to Play".

  8. Re:What changed? by 140Mandak262Jamuna · · Score: 4, Informative
    http://www.kb.cert.org/vuls/id/625617 says:

    Description The Oracle Java Runtime Environment (JRE) 1.7 allows users to run Java applications in a browser or as standalone programs. Oracle has made the JRE available for multiple operating systems. The Java JRE plug-in provides its own Security Manager. Typically, a web applet runs with a security manager provided by the browser or Java Web Start plugin. Oracle's document states, "If there is a security manager already installed, this method first calls the security manager's checkPermission method with a RuntimePermission("setSecurityManager") permission to ensure it's safe to replace the existing security manager. This may result in throwing a SecurityException". By leveraging the a vulnerability in the Java Management Extensions (JMX) MBean components, unprivileged Java code can access restricted classes. By using that vulnerability in conjunction with a second vulnerability involving the Reflection API and the invokeWithArguments method of the MethodHandle class, an untrusted Java applet can escalate its privileges by calling the the setSecurityManager() function to allow full privileges, without requiring code signing. Oracle Java 7 update 10 and earlier are affected. This vulnerability is being attacked in the wild, and is reported to be incorporated into exploit kits. Exploit code for this vulnerability is also publicly available.

    --
    sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
  9. Re:Java in Chrome on Windows by NatasRevol · · Score: 2

    Because you can use the Windows installer to reformat your hard drive before install?

    --
    There are two types of people in the world: Those who crave closure
  10. and the biggest joke is by gbjbaanb · · Score: 2

    I have java 7u10 plugin installed, and its now disabled (ok, good). So I check the latest version from Oracle so I can install the fixed, safe version.... which is Java 7u10.

    ho hum.

  11. Mozilla: Why break stuff instead of fixing it? by OMG · · Score: 5, Interesting

    Why is no one recommending to raise the security level for Java applets from "medium" to "high" or "very high"?

    Since Update 10 there is this new control that could be employed exactly right now:
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/client-security.html

  12. Re:LOL by Culture20 · · Score: 2

    Because the replacement option is to have users downloading snowflake.exe and running it, possibly with admin creds. Users will have their snowflakes (unless they're a built in aero toy, then the users will want bonzi buddy for 00's nostalgia).

  13. Needs whitelisting by Dwedit · · Score: 3, Insightful

    I think this kind of mass disabling should be combined with a list of known "Good" java applets, possibly matched by URL or file hash.
    The list doesn't necessarily have to come from some authority from the internet, it could possibly be provided by a company's IT department to run the specific Java applets they need to use.
    So when people hit the "good" java applets, their Java plugin isn't disabled, and it runs the applet just like normal.