Vulnerabilities / Threats
10/18/2012
03:20 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Apple Removes Default Java Support In Browsers

Some Java security headache relief for Mac users

Apple yesterday made another bold move in its efforts to double-down on security -- by removing its Java plug-in from Safari and other Web browsers.

In Apple's Java for OS X 2012-006 1.0 release, which came on the heels of an Oracle patch for Java this week, the Java applet plug-in gets automatically uninstalled from Web browsers. If users want Java applets to run via their browser, they have to download an applet directly from Oracle. Apple also upgraded its own Java version to the latest Oracle release, Java SE 6 1.6.0_37.

"This release updates the Apple-provided system Java SE 6 to version 1.6.0_37 and is for OS X versions 10.7 or later. This update uninstalls the Apple-provided Java applet plug-in from all web browsers," Apple's Java for OS X 2012-006 advisory says. "To use applets on a web page, click on the region labeled "Missing plug-in" to go download the latest version of the Java applet plug-in from Oracle."

It has been a big year for security moves by Apple. The activity picked up in earnest after the Flashback Trojan, which was seen as a wake-up call for Mac users who assumed they were immune to malware. Flashback amassed a botnet of some 600,000 Macs, most of which were based in the U.S. Apple added a feature to Safari that detects and disables outdated versions of the Adobe Flash plug-in, for example, and halted its practices of having Java installed by default in OS X with OS Lion/10.7, among other moves.

It recently added a feature in the OS that turns off Java in the browser if it hasn't been used for some time, all amid increasing exploits and active attacks against the notoriously vulnerable Java. According to Microsoft's latest Security Intelligence Report v13, Java exploits were the second most common exploit detected in the first half of this year, just behind HTML.

Apple's update encompasses all browsers that don't include their own Java plug-in and use Apple's, says Paul Ducklin, head of technology for Sophos in the Asia-Pacific.

Security experts say Apple's dropping Java from the browser makes sense. "By ripping Java out of the browser, a lot of those malicious downloads are not going to find what they need to exploit," says Randy Abrams, research director with NSS Labs. "This was really a significant step. I'm guardedly optimistic that this means Apple is really beginning to take security more seriously."

NSS Labs last month tested Safari and other browsers for their resiliency against malicious downloads, and Safari fared poorly. Internet Explorer shined: "IE was blocking malicious downloads, with Chrome a distant second, and then Safari and Firefox," Abrams says.

[ Subtle but significant signals over the past few months from Apple indicate that the company has been doubling down on its security efforts prior to and after the Flashback Trojan attack that infected hundreds of thousands of Macintosh machines worldwide. See 4 Signs That Apple's Sharpening Its Security Game.]

The big problem with Java, of course, is that it wasn't built for security, and when you install an update, it doesn't overwrite the older versions. "Java was designed before Microsoft started its own secure-by-design life cycle. Java never had that mentality," Abrams says. "The weakest point is when you install a new version, it doesn't get rid of the older versions ... So even when you update, it leaves behind vulnerable components that can be exploited."

Sophos' Ducklin said in a blog post that Apple had struggled to keep pace with Oracle's updates to Java. Sophos has preached for some time to uninstall Java if you don't need it, especially in the browser, he says. "Keeping Java out of your browser removes the risk of hostile applets -- special stripped-down Java programs embedded into Web pages," Ducklin says.

The turning point for Apple may have been in April when it took months to fix a bug in its Java tool that Oracle and others had patched in their software February: That left the door open for the attackers behind the Flashback botnet, which exploited the Java bug in Apple's software.

Will users miss the Java browser applet? "There really isn't a highly compelling reason to have Java. I wouldn't be at all surprised if Microsoft were to follow suit," NSS Labs' Abrams says. "The top websites use JavaScript, not Java. And for sites that do use Java, there's generally an alternative for another service."

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.

Kelly Jackson Higgins is Senior Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise Magazine, ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
AHRoberts
50%
50%
AHRoberts,
User Rank: Apprentice
8/6/2013 | 9:30:20 AM
re: Apple Removes Default Java Support In Browsers
Is this still true today? I read on http://vpnexpress.net about Java security issues and wondered if Macs are vulnerable to this. Thanks.
Register for Dark Reading Newsletters
White Papers
Flash Poll
Current Issue
Cartoon
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-4262
Published: 2014-07-28
svnwcsub.py in Subversion 1.8.0 before 1.8.3, when using the --pidfile option and running in foreground mode, allows local users to gain privileges via a symlink attack on the pid file. NOTE: this issue was SPLIT due to different affected versions (ADT3). The irkerbridge.py issue is covered by CVE-...

CVE-2013-4840
Published: 2014-07-28
Unspecified vulnerability in HP and H3C VPN Firewall Module products SECPATH1000FE before 5.20.R3177 and SECBLADEFW before 5.20.R3177 allows remote attackers to cause a denial of service via unknown vectors.

CVE-2013-7393
Published: 2014-07-28
The daemonize.py module in Subversion 1.8.0 before 1.8.2 allows local users to gain privileges via a symlink attack on the pid file created for (1) svnwcsub.py or (2) irkerbridge.py when the --pidfile option is used. NOTE: this issue was SPLIT from CVE-2013-4262 based on different affected versions...

CVE-2014-2974
Published: 2014-07-28
Cross-site request forgery (CSRF) vulnerability in php/user_account.php in Silver Peak VX through 6.2.4 allows remote attackers to hijack the authentication of administrators for requests that create administrative accounts.

CVE-2014-2975
Published: 2014-07-28
Cross-site scripting (XSS) vulnerability in php/user_account.php in Silver Peak VX before 6.2.4 allows remote attackers to inject arbitrary web script or HTML via the user_id parameter.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Sara Peters hosts a conversation on Botnets and those who fight them.