Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Java Still Not Safe, Security Experts Say

Oracle needs to fix holes faster, say some security experts. Leave Java disabled for now, because Oracle's emergency patch is insufficient.

11 Security Sights Seen Only At Black Hat
11 Security Sights Seen Only At Black Hat
(click image for larger view and for slideshow)
Is Java 7 currently safe to use?

Last week, Oracle released emergency updates to fix zero-day vulnerabilities in Java 7 and Java 6. But in the case of the Java 7 fix, the new version allows an existing flaw--spotted by security researchers and disclosed to Oracle earlier this year--to be exploited to bypass the Java sandbox. In other words, while fixing some flaws, Oracle opened the door to another one.

In light of that situation, multiple security experts said that businesses should continue to temporarily disable all Java use, whenever possible. "There are still not-yet-addressed, serious security issues that affect the most recent version of Java 7," said Adam Gowdiak, CEO and founder of Poland-based Security Explorations, which initially disclosed the exploited vulnerabilities to Oracle in April. "In that context, disabling Java until proper patches are available seems to be an adequate solution," he said via email.

For businesses that absolutely must use Java, he recommended that users "do not access untrusted Web content with Java enabled," and also that they use Web browser extensions such as NoScript for Firefox, which can "implement whitelisting of websites that can run scripts and access Java," meaning that only sites explicitly granted the use of Java will be allowed to run it. Finally, he said, "think of Java 6 as an alternative."

But is Java 6 safe to use? In fact, as noted above, Oracle's emergency patch release also included Java 6 update 35. But unlike the Java 7 update, it doesn't include any known vulnerabilities.

[ Read Java Zero-Day Malware Attack: 6 Facts. ]

Might Windows User Access Control (UAC) settings protect users from Java 7 attacks--for example, if they're logged onto Windows via an account that doesn't enjoy administrator-level rights? Gowdiak said the answer to that question isn't clear, and pointed to a recent Twitter post from a Microsoft employee, which said that "we are working on a Fix It tool now to completely disable java in the browser."

"This might indicate that UAC is not sufficient to block the most serious vulnerabilities that allow for the complete escape of a Java security sandbox," Gowdiak said. "In such a case, attackers might be able to execute code with the permissions of a user that started a Web browser process--[or] the container for a Java plug-in." In other words, with Microsoft working to make it easier to remove Java from Internet Explorer, don't trust UAC to block Java exploits.

But for any Windows users who must employ Java 7, do install the latest update, said Sean Sullivan, security advisor at F-Secure Labs. The update addresses the three vulnerabilities--labeled CVE-2012-4681--which Oracle has rated as being a "10" on its common vulnerability scoring system, meaning that the bugs can be exploited to remotely execute code on a compromised system.

"Even though the latest Java update might have a new vulnerability, it is still always worth running the latest release, as it takes commoditized exploits off the table," said Sullivan via email. "As it stands now, the CVE-2012-4681 vulnerability is being exploited by Blackhole," he said, referring to the popular Blackhole crimeware toolkit.

Apple, meanwhile, Wednesday released an updated version of Java for OS X that addresses at least one critical vulnerability in the software. As spotted by security reporter Brian Krebs, the update fails to fix the CVE-2012-4681 vulnerability used in attacks against Windows machines. However, it's still important for all Java-using Mac users to update their software, because attackers were able to construct the Flashback malware that successfully infected an estimated 600,000 OS X devices earlier this year. That malware reverse-engineered a flaw that was disclosed by Oracle in a Java security bulletin for Windows, before Apple fixed the flaw in Java for OS X.

Including the most recent in-the-wild attacks targeting zero-day Java vulnerabilities, Gowdiak at Security Explorations said that of 29 issues reported this year to Oracle, and two reported to Apple, there are still 25 issues remaining to be addressed by Oracle.

Given that time delay, is Oracle patching Java flaws quickly enough? "We expected that the company would address the most serious issues in its Jun [2012] Java CPU cycle," said Gowdiak. "We, however, take the release of a recent out-of-band patch as a good sign for the future."

F-Secure's Sullivan, however, said Oracle simply hasn't been patching quickly enough. "Adobe used to be the weakest [link] that was being targeted on PCs," he said. But then, "Adobe started making patch cycles more regular, predictable, and really shifted/focused its efforts into automatic updates. It knew that it was the weakest link--and that was fixed."

The lesson for Oracle, accordingly, is that it needs to learn from Adobe. "[I'm] not sure if Oracle can do exactly the same thing for its Java Runtime Environment, but it really needs to do something different," said Sullivan.

Cybercriminals are taking aim at your website. Is your security strategy up to the challenge? Also in the new, all-digital 10 Steps To E-Commerce Security issue of Dark Reading: About half of the traffic to e-commerce sites is machine generated--and much of it is malicious. (Free registration required.)

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
mark patterson
mark patterson,
User Rank: Apprentice
1/14/2013 | 9:29:21 AM
re: Java Still Not Safe, Security Experts Say
ONE COULD SAY THAT,UNLESS THEIR COMPUTER CRASHES,AND IT COSTS THEM HUNDREDS OF DOLLARS.i sure don't know what happened,never before in fifteen years,""Microsoft updating itself?",oh well, 14 updates,and I didn't stop it,WHEN IT WAS DONE,NO ICONS,NO NOTHING!,IT'S FIXED,I GUESS,BUT here is the damn problem,THE WORLD TOOK ON ALL THIS,COMPUTERAMA,and without checking the ""fine print",HERE IS A PERFECT EXAMPLE,go to "internet explorer 10" site,READ WHAT THEY SAY,"""IT'S NOT COMPLETE,DAAHH,THAT MEANS IT'S STILL SWISS CHEESE WITH HOLES!!,and they then say,""weeehhhlll,it's good for some,not for others,but """AND GET THIS!!!,THE BASTARDS ACTUALLY SAY,""""our new 10 users will be on the front line helping us make it a better internet explorer,(TRANSLATION,THEY PUT THAT CRAP OUT,KNOWING IT WAS NOT FINISHED,AND TRIED OUT,BUT THE ""USERS"",WILL BE GIVING FEEDBACK,LIKE ""COMPUTER CRASHES,IDENTITY THEFT,OVER AND OVER,AND MORE'",it's outrageous,now google tries to think for you,after being fined millions,try going to a foreign language site,WITHOUT THE DAMN THING TRANSLATING,WHEN YOU DON'T WANT IT TOO
User Rank: Apprentice
10/8/2012 | 8:04:22 AM
re: Java Still Not Safe, Security Experts Say
People act like java is now a doomsday product. But boasting so much default libraries in jse and running crossplatform is a feat of itself. I am suprised there hasnt been made complete swiss cheese of java. Either way. I am still going to use it. Java is without doubt the best language created.
User Rank: Apprentice
9/24/2012 | 6:09:32 PM
re: Java Still Not Safe, Security Experts Say
Wow, time has gone by without a fix. Surprising! What is the current recommendation? Back out to Java 6? Is that easy to do after one has installed 7 ?
User Rank: Apprentice
9/8/2012 | 3:23:44 PM
re: Java Still Not Safe, Security Experts Say
I would point out that these security risks are coming from a very small, unused aspect of Java. Most Java is running server-side and the exploit is not applicable.
User Rank: Apprentice
9/6/2012 | 4:46:40 PM
re: Java Still Not Safe, Security Experts Say
Oracle boasts 3 billion plus installs of Java. One would think that they would take security a bit more seriously than they apparently do. Shame on them.
7 Old IT Things Every New InfoSec Pro Should Know
Joan Goodchild, Staff Editor,  4/20/2021
Cloud-Native Businesses Struggle With Security
Robert Lemos, Contributing Writer,  5/6/2021
Defending Against Web Scraping Attacks
Rob Simon, Principal Security Consultant at TrustedSec,  5/7/2021
Register for Dark Reading Newsletters
White Papers
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: Take me to your BISO 
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2021-05-10
JPA Server in HAPI FHIR before 5.4.0 allows a user to deny service (e.g., disable access to the database after the attack stops) via history requests. This occurs because of a SELECT COUNT statement that requires a full index scan, with an accompanying large amount of server resources if there are m...
PUBLISHED: 2021-05-10
Cross Site Scripting (XSS) in Hotels_Server v1.0 allows remote attackers to execute arbitrary code by injecting crafted commands the data fields in the component "/controller/publishHotel.php".
PUBLISHED: 2021-05-10
An exploitable SQL injection vulnerability exists in ‘manageServiceStocks.jsp’ page of OpenClinic GA 5.173.3. A specially crafted HTTP request can lead to SQL injection. An attacker can make an authenticated HTTP request to trigger this vulnerability.
PUBLISHED: 2021-05-10
An out-of-bounds write vulnerability exists in the import_stl.cc:import_stl() functionality of Openscad openscad-2020.12-RC2. A specially crafted STL file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.
PUBLISHED: 2021-05-10
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. Using `File.createTempFile` in JDK will result in creating and using insecure temporary files that can leave application and system data vu...