Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is Linux vulnerable to Java drive-by exploits?

Another computer I run on windows 7 just notified me that it was infected through Java, and I'm wondering if my Linux box (ubuntu 10) with Java installed is vulnerable.

share|improve this question
up vote 2 down vote accepted

That depends on which operating system is the target of the virus. Linux is less likely to be the target, but some viruses do target Linux as well, and some are even multi-platform.

Your browser should not be configured to automatically execute and trust Java applets. Although Chrome is the youngest browser, some protections are already available.

Plug-ins that you do not use should be disabled:
Disable Flash, Acrobat, Silverlight & Java Chrome plugins.

Dangerous features like JavaScript and third-party plugins like Java and Flash that you do use, should only be enabled for sites that you trust:
NotScripts: NoScript Extension for Opera and Chrome
How to Block Ads in Google Chrome (Privoxy)

I suggest installing at least the NotScripts extension as an immediate protection.

share|improve this answer
How could I configure it otherwise? I'm not sure if it is, no settings were ever changed. Latest version of Chrome both on Win7 and Linux – tobeannounced Dec 18 '10 at 22:55
Here is some info about protection. – harrymc Dec 19 '10 at 9:11

This guy has been infected with malware through a Java and Flash exploit.

So, yes, it is possible, but very rare. You can always do a ClamAV/ClamTk scan wich can be downloaded from ubuntu software center or here

But i think Click-to-play is secure enough

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.