Vulnerabilities / Threats
03:20 PM
Connect Directly

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 Executive Editor at 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 ... View Full Bio

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
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 about Java security issues and wondered if Macs are vulnerable to this. Thanks.
Register for Dark Reading Newsletters
White Papers
Current Issue
Dark Reading, January 2015
To find and fix exploits aimed directly at your business, stop waiting for alerts and become a proactive hunter.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
Published: 2014-12-17
Multiple unspecified vulnerabilities in request.c in c-icap 0.2.x allow remote attackers to cause a denial of service (crash) via a crafted ICAP request.

Published: 2014-12-17
Multiple cross-site request forgery (CSRF) vulnerabilities in ARRIS Touchstone TG862G/CT Telephony Gateway with firmware 7.6.59S.CT and earlier allow remote attackers to hijack the authentication of administrators for requests that (1) enable remote management via a request to remote_management.php,...

Published: 2014-12-17
Cross-site scripting (XSS) vulnerability in ARRIS Touchstone TG862G/CT Telephony Gateway with firmware 7.6.59S.CT and earlier allows remote authenticated users to inject arbitrary web script or HTML via the computer_name parameter to connected_devices_computers_edit.php.

Published: 2014-12-17
Race condition in Puppet Server 0.2.0 allows local users to obtain sensitive information by accessing it in between package installation or upgrade and the start of the service.

Published: 2014-12-17
The management console on the Symantec Web Gateway (SWG) appliance before 5.2.2 allows remote authenticated users to execute arbitrary OS commands by injecting command strings into unspecified PHP scripts.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Join us Wednesday, Dec. 17 at 1 p.m. Eastern Time to hear what employers are really looking for in a chief information security officer -- it may not be what you think.