Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Should I be wary of Java and Adobe.

Just chatting to my son recently about Mac defender etc etc, he mentioned that some of the Microsoft discussion pages were expressing concern about the inherent safety qualities of Java and Adobe. The suggestion was that these could be weak links in the security required against Mac defender, amongst other bugs.


Okay, if we can avoid any banter about Microsoft, would any of our kind people answering forum questions have any idea of the truth behind the suggestion.


And one step further. If these could be problematic sources, would it be possible, indeed practical to disable Java and Adobe and operate a Mac without them? I ask the question because I seem to recall reading that Apple were trying to divorce themselves from Adobe in particular not too long ago.


Message was edited by: seventy one

Posted on Jul 1, 2011 3:41 PM

Reply
Question marked as Best reply

Posted on Jul 1, 2011 4:54 PM

The MacDefender malware actually uses Javascipt to pop up a window in order to fool users into clicking and downloading.


Java just got a update for OS X (Apple handles Java for OS X) and has had numerous security issues with bad websites.


Flash is the same catagory as Java, a real POS.



You can check the status of your plug-ins here:


https://www.mozilla.com/en-US/plugincheck/



You can turn off Java in Safari preferences and likely never have a need to use it, if you see the coffee cup symbol on a web page where something should be running and that would be Java. You could turn that back on temporarily.


Flash is used quite a bit more than Java, so you can install a Click2Flash extension for Safari and this way Flash is off by default unless you click on a Flash element to run it.


Javascript is used quite often on many webpages, out of hundreds of web sites I visit a day, perhaps 5-8 of them I need to turn on Javascipt for or else it won't work. (some I don't need it as i can read it just fine)


For Safari going to the Preferences ten times a day to turn Javascript on/off isn't a option.



So what I do is use the Firefox web browser and a Add-on called NoScript.


User uploaded file


NoScript is a web cop, basically not allowing websites to pull trickery on you as you surf. It also turns off ALL scripts (Java, Javascript, Flash, Silverlight etc) by default.


If you need the scripts to run, you click a Toolbar button and they are enabled for that site only for that time only.


So this way one reduces their exposure window to malicious or compromised sites waiting for the next driveby victim with all their scripts running.


Other add-ons are Ad Block Plus, Ghostery (web bugs), BetterPrivacy (deletes hidden Flash cookies), HTTPS Everywhere (asks websites for a secure connection), Certificate Patrol (helps you keep a eye out for stolen certificates), FlagFox (IP of site and background check) and WOT (Web of Trust)

59 replies

Jul 3, 2011 6:10 PM in response to ds store

java.net.InetAddress.getLocalHost()


Is NOT a "hole" but a actual command feature of Java that exists today.



One can test that right here on this site:


http://www.kidslovepc.com/javascript/javascript_ip_lan.shtml


Yep, still works, fully updated too.



Now what Bob?


So. Every programming environment has a way to get the local IP address. How else would a program manipulate them?

Java is a programming language, just like C, C++, C#, Pascal, etc.


Javascript has very little to do with Java, mostly just the "java" in their names.


That javascript you linked to does call the Java API getLocalHost function, but that has nothing to do with the security of Java. Interstingly, that button does nothing on my system.

Jul 4, 2011 9:43 AM in response to ds store

ds store wrote:


One can test that right here on this site:


http://www.kidslovepc.com/javascript/javascript_ip_lan.shtml


Yep, still works, fully updated too.

It only works in Firefox and then only displays localhost. How is that a security hole?


Interestingly, your example does bring up a topic I never knew about. Apparently it is possible to call Java from Javascript. Firefox and older browsers are apparently able to do this directly. Modern browsers can only access public methods from an applet, which already has extensive secuity checks.


I was able to get more modern examples of this (known as "LiveConnect") to work in Safari. Apparently, this "hole" of accessing Java directly and revealing the user's localhost address of 127.0.0.1 (which is common to any computer with TCP/IP networking) only works in Firefox.

Jul 4, 2011 9:58 AM in response to seventy one

JAVA and Adobe (Flash) are arguably standards in the industry. I guess you could use the Mac without these two software pieces, but then you would loose the "full experience". There was a recent Java update released under 10.6.8, And if you want to see Flash enabled video content on web pages then you'll need that support.


I'm sure my next statement will draw some comments 😉.. personally I use Intego's Virus Barrier 6 that offers a little more than just virus protection since it also has some internet and anomaly detection features.


Keeping your MacOS (10.6.8) and support software current will provide as much protection as available in the industry.

Jul 5, 2011 4:36 PM in response to ds store

You can check the status of your plug-ins here:

https://www.mozilla.com/en-US/plugincheck/


No you can't.


Quite the most useless thing I have seen in a while.


It doesn't know that Flash 10.1 cannot be updated on this Mac.


It describes all of the following as 'unknown plug-ins' that need further research:


Flip4Mac

Google Earth

Adobe Acrobat and Reader

RealPlayer

Quartz Composer


But presumably it is only for Firefox? Or Windows?

Jul 5, 2011 5:42 PM in response to etresoft

etresoft wrote:


It only works in Firefox and then only displays localhost. How is that a security hole?


Interestingly, your example does bring up a topic I never knew about. Apparently it is possible to call Java from Javascript. Firefox and older browsers are apparently able to do this directly. Modern browsers can only access public methods from an applet, which already has extensive secuity checks.


I was able to get more modern examples of this (known as "LiveConnect") to work in Safari. Apparently, this "hole" of accessing Java directly and revealing the user's localhost address of 127.0.0.1 (which is common to any computer with TCP/IP networking) only works in Firefox.


Yes, this is interesting, the site doesn't work in Safari. So I'm assuming here Apple perhaps understands a potential security risk with revealing the internal IP?


I don't know, I'm not a network guru, but I heard bad things about this particular Java feature, especially with malicious sites, that it kind of negates the security of the router.


I was hoping to ask the "15 years with Java" guy all about it. 😀

Jul 5, 2011 5:45 PM in response to Barney-15E

Barney-15E wrote:


So. Every programming environment has a way to get the local IP address. How else would a program manipulate them?

Java is a programming language, just like C, C++, C#, Pascal, etc.


Javascript has very little to do with Java, mostly just the "java" in their names.


That javascript you linked to does call the Java API getLocalHost function, but that has nothing to do with the security of Java. Interstingly, that button does nothing on my system.


Likely because your running Safari, anyway read my response to etresoft if you would. 🙂

Jul 5, 2011 5:50 PM in response to Klaus1

Klaus1 wrote:


You can check the status of your plug-ins here:

https://www.mozilla.com/en-US/plugincheck/


No you can't.


Quite the most useless thing I have seen in a while.


It doesn't know that Flash 10.1 cannot be updated on this Mac.


It describes all of the following as 'unknown plug-ins' that need further research:


Flip4Mac

Google Earth

Adobe Acrobat and Reader

RealPlayer

Quartz Composer


But presumably it is only for Firefox? Or Windows?


It's supposed to be for all browsers, but i've noticed it's not perfect at times.


And a funny thing, I used the mozilla link check and it found a update for Flash for my system, but when I ran the installed Flash updater to check, it said I was up to date! (thread in the Lounge, sorry others 😟)


https://discussions.apple.com/thread/3156226?tstart=0


So anyway It's a mystery how both of these funcitons are operating.

Jul 5, 2011 6:45 PM in response to Barney-15E

Barney-15E wrote:


I did, but I'm still wondering why you are conflating Java with Javascript. They are two different things, totally unrelated.


I've been around computers for 24 years and do know the difference there. 😀


What is interesting is that Javascript can call Java, that I didn't know.


Likely the vise versa is true as well. Surprising how much we DON'T know about the plug-ins we allow on our machines.


*places tin foil hat on*

Jul 5, 2011 7:11 PM in response to ds store

What's so insecure about knowing my internal IP address?

I bet I could guess six to ten times and hit about 90% of all internal home IP addresses.

10.0.0.2, 10.0.1.2, 192.168.0.2, 192.168.1.2, 192.168.0.100, 192.168.1.100, 172.16.0.2, 172.16.1.2, 172.16.0.100, 172.16.1.100.

If I did any research on default router configurations, I could likely tighten that up.

Should I be wary of Java and Adobe.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.