Feb 052013
 

Another Critical Java Update, You Know What To Do

PC Mag / Security watch
by Max Eddy
February 4, 2013

Another Critical Java Update, You Know What To Do

Another Critical Java Update, You Know What To Do

 

Just weeks after Oracle pushed out an out-of-band update to patch critical vulnerabilities in Java, the company has again rushed an update to shore up the embattled platform. It’s time once again to update (or disable!) Java.

Oracle released the patch this past Friday, though it was originally scheduled for release on February 19. The patch addresses 50 issues, 44 of which are related to the Java Runtime Environment in web browsers.

On the company’s blog, Software Security Assurance Director Eric Maurice wrote that the decision to accelerate the release of the patch came after Oracle confirmed that one of the browser vulnerabilities was already being actively used in the wild. “After receiving reports of a vulnerability in the Java Runtime Environment (JRE) in desktop browsers,” wrote Maurice, “Oracle quickly confirmed these reports, and then proceeded with accelerating normal release testing around the upcoming Critical Patch Update distribution, which already contained a fix for the issue.”

Beyond Patches

In addition to security fixes, the new patch changes the default security settings in Java to “high.” This makes Java activities more transparent for users, removing the ability for some Java applets in web browsers to be hidden.

Users will now have to “expressly authorize the execution of unsigned applets allowing a browser user to deny execution of a suspicious applet,” wrote Maurice. “As a result, unsuspecting users visiting malicious web sites will be notified before an applet is run and will gain the ability to deny the execution of the potentially malicious applet.”

Maurice went on to note that Oracle recently introduced a Java Control Panel for windows users, which allows users to easily disable Java on their web browsers. For more information on how to disable Java, see our report here. Users looking for alternatives to Java applications can see our list here.


The Future of Java

The recent concerns over Java’s security have attracted many critics, and gone as high as the Department of Homeland Security which called for users to disable Java entirely. After a patch was released in January, Oracle’s Java security lead Milton Smith promised to “fix” Java.

Part of that plan seems to be addressing critical flaws much quicker, as the company has pushed out two updates outside of its normal quarterly schedule. That certainly helps keep users more secure, but it might not be enough to secure Java’s future.


Direct Link:  http://securitywatch.pcmag.com/none/307717-another-critical-java-update-you-know-what-to-do

Feb 052013
 

Java 7 update 10 lets users restrict Java apps in browsers


Computer World

by Lucian Constantin
December 18, 2012

 

Java Exploit & Update Patch

Java Exploit & Update Patch

IDG News Service –   A recent Java 7 update allows users to completely prevent Java applications from running inside browsers or to restrict how Web-based Java content is handled by the Java Runtime Environment (JRE) client. These features will benefit security-conscious users, but companies still have to find methods of isolating older Java versions, security experts say.

Java 7 Update 10 (7u10), released on Dec. 11, does not address any security vulnerabilities, but provides several security enhancements. According to its release notes, the new version provides users with “the ability to disable any Java application from running in the browser.” This can be done from the “Security” tab on the Java control panel by clearing the “enable Java content in the browser” checkbox.

Security experts have long advised users to remove the Java plug-in from their Web browsers in order to protect themselves from the increasingly prevalent Web-based attacks that exploit Java vulnerabilities to infect computers with malware. However, in order to follow this advice users had to remove the plug-in from all of their browsers one by one and were often forced to redo the process after installing new Java updates.

Java 7u10 seems to make things easier by providing users with a central and persistent option for controlling Web-based Java content regardless of how many browsers they use. In addition, the new Java version provides users who can’t afford to completely block such content with a method of controlling how potentially dangerous applets are handled.

Starting with Java 7u10 users have to ability to set security levels from low to very high for Web-based Java content, with medium being the default option. The medium security level will allow unsigned Java apps to run, but only if the Java version is considered secure. “You will be prompted if an unsigned app requests to run on an old version of Java,” Oracle said in the tech notes for the new control panel security options.

Setting the security level to very high will prompt the user for permission every time a Java app, signed or unsigned, attempts to run in the browser. If the Java version is deemed insecure, unsigned apps won’t run at all, regardless of what the user decides.

“The Security Level setting affects unsigned plug-in applets, Java Web Start applications, embedded JavaFX applications, and access to the native deployment toolkit plugins,” Oracle said.

In addition, Java 7u10 introduces new dialogs that warn users when the installed JRE version is insecure and needs to be updated.

These changes don’t make Java more secure in itself, but will likely make it easier for users to make their PCs more secure because they allow users to manage certain restrictions, Thomas Kristensen, chief security officer at vulnerability research and management firm Secunia, said Tuesday via email. However, in order for the majority of users to be protected, Oracle needs to set the new options in a restrictive way by default, because most users won’t understand or know about the new restrictions, he said.

“The dialog warning about old and insecure versions is a big step in the right direction,” Kristensen said. “Hopefully, it will make users think twice before running code on old Java versions.”

Bogdan Botezatu, a senior e-threat analyst at antivirus vendor Bitdefender, said that every step Oracle takes in safeguarding the end user is welcome, but agreed with Kristensen that most users will probably not use the new features because they don’t understand them and because they’re unwilling to update their software in general. Because of Java’s large install base — over 3 billion devices — cybercriminals are unlikely to stop targeting it, he said via email.

In fact, the new dialogs warning about the use of insecure JRE versions might end up being used against users in social engineering scams in a similar way in which rogue Flash Player update notifications were used to distribute malware, Botezatu said.

“In corporate environments, this Java update may not immediately show its benefits, especially for companies who have developed in-house applications relying on Java and are unable to update for compatibility issues,” Botezatu said. “Despite the fact that Java editions are usually backwards compatible with applications already built, the massive improvements in Java 7 may be insufficiently tested in production for corporations to take the risk of mass deployment in live environments.”

“Companies with a need for old Java must find ways to virtualize or otherwise isolate old Java instances,” Kristensen said. “It may be costly in terms of convenience and perhaps efficiency to isolate or virtualize old Java for use with non-modern enterprise applications, but the risk of surfing the web with an old version of Java can not justify convenience and small savings.”

“If these Java settings are manageable via GPO (Group Policy) or similar centralized management tools, then it is likely to improve security for companies who only run the latest version, or have successfully isolated old versions,” Kristensen said.

However, not everyone agrees that companies should migrate to Java 7. Adam Gowdiak, the founder of Security Explorations, a Polish security company with a strong focus on Java vulnerability research, believes that from the prospect of vulnerabilities being found in the code, migrating to Java 7 represents a higher risk than continuing to use Java 6.

“Our research proved that Java 7 was far more insecure that its predecessor version,” Gowdiak said via email. “There were also many indications that certain new features introduced into Java 7 such as the new Reflection API didn’t run through any security review.”

“We are not surprised that corporations are resistant when it comes to the upgrade to Java 7,” Gowdiak said. “The number of security bugs we found in Java 7 speaks for itself.”

Because of this, Oracle should extend the public support period for Java 6, he said.

According to Oracle’s support roadmap for Java, the company will stop issuing public updates for Java 6 after February 2013. Companies interested in receiving Java 6 security advisories, patches and bug fixes, after that date will have to sign up for a commercial extended support service.


Direct Link:  http://www.computerworld.com/s/article/9234841/Java_7_update_10_lets_users_restrict_Java_apps_in_browsers?taxonomyId=82&pageNumber=1

 

Jan 142013
 

US government advises computer users to disable Java software

FOX News
Associated Press
January 12, 2013

Oracle Corp. bought Java as part of a $7.3 billion acquisition of the software's creator, Sun Microsystems, in 2010

Oracle Corp. bought Java as part of a $7.3 billion acquisition of the software’s creator, Sun Microsystems, in 2010


WASHINGTON –

The U.S. Department of Homeland Security is advising people to temporarily disable the Java software on their computers to avoid potential hacking attacks.

The recommendation came in an advisory issued late Thursday, following up on concerns raised by computer security experts.

Experts believe hackers have found a flaw in Java’s coding that creates an opening for criminal activity and other high-tech mischief.

Java is a widely used technical language that allows computer programmers to write a wide variety of Internet applications and other software programs that can run on just about any computer’s operating system.

Oracle Corp. bought Java as part of a $7.3 billion acquisition of the software’s creator, Sun Microsystems, in 2010.

Oracle, which is based in Redwood Shores, Calif., had no immediate comment late Friday.

 

Sep 062012
 

Apple issues Java update to tackle zero day

Apple has begun protecting its users against the recent Java zero-day vulnerabilities by rolling out its own patches.

 

ZD Net News
by Michael Lee
September 6, 2012

 

 

Apple has now released its own patches for OS X users, in order to tackle the Java zero-day vulnerabilities that were discovered at the end of last month.

The security updates are available for Mac OS X Snow Leopard, Lion and Mountain Lion systems, due to there now being “an opportunity for security-in-depth hardening”. In Apple’s security bulletin, the company refers to Oracle’s own security alert for CVE-2012-4681, and recommends users apply either the Java for Mac OS X 10.6 Update 10 or Java for OS X 2012-005, depending on the user’s operating system. These patches will update Java to version 1.6.0_35, the equivalent of the latest version of Java 6.

 

 

Java 7 is only available on Macs if users have downloaded it directly from Oracle, rather than using Apple’s software updater. Users running the latest version of Java 6 on OS X are not vulnerable to the alleged sandbox bypass vulnerability that was discovered in the most recent Java 7 Update 7 patch.

Apple has stated that it will provide further information on the patch on its Apple security updates page, but at the time of writing, this had not been updated.

 

Direct Link:  http://www.zdnet.com/apple-issues-java-update-to-tackle-zero-day-7000003806/

 

Aug 292012
 

Researchers: Java Zero-Day Leveraged Two Flaws

KREBS on SECURITY
Wednesday, August 29, 2012




New analysis of a zero-day Java exploit that surfaced last week indicates that it takes advantage of not one but two previously unknown vulnerabilities in the widely-used software. The latest figures suggest that these vulnerabilities have exposed more than a billion users to attack.

 

 

Esteban Guillardoy, a developer at the security firm Immunity Inc., said the underlying vulnerability has been around since July 28, 2011.

“There are 2 different zero-day vulnerabilities used in this exploit,” Guillardoy wrote in a lengthy analysis of the exploit. “The beauty of this bug class is that it provides 100% reliability and is multi-platform. Hence this will shortly become the penetration test Swiss knife for the next couple of years (as did its older brother CVE-2008-5353).”

 

ONE BILLION USERS AT RISK?

How many systems are vulnerable? Oracle Corp., which maintains Java, claims that more than 3 billion devices run Java. But how many of those systems run some version of Java 7 (all versions of Java 7 are vulnerable; this flaw does not exist in Java 6 versions).

To get an idea, I asked Secunia, whose Personal Software Inspector program runs on millions of PCs. Secunia said that out of a random sampling of 10,000 PSI users, 34.2 percent had some version of Java 7 installed. In the same data set, 56.4 percent of users had an update of Java 6 installed. Assuming that Secunia’s 10,000 user sample is representative of the larger population of computer users, more than a billion devices could be vulnerable to attack via this exploit.

 

EXPLOIT WORKS AGAINST OS X, LINUX

Not long after news broke that miscreants were exploiting an unpatched security hole in Java to break into PCs, I began seeing tweets from non-Windows users urging people to switch to Mac OS X or Linux. Unfortunately, this latest Java exploit has been shown to work flawlessly to compromise browsers on all three operating systems.

According to Rapid7, the Java exploit found being used in targeted attacks (CVE-2012-4681) is now available as a plug-in to Metasploit, a free software tool built to test the security of networks. Rapid7 said the exploit has been successfully tested to work against nearly all browser configurations on Windows systems, and against Safari on OS X 10.7.4 and Mozilla Firefox on Ubuntu Linux 10.04.

 

WHO BURNS THROUGH TWO-ZERO DAYS IN ONE SHOT?

On Monday, I interviewed the author of the BlackHole exploit kit, an extremely popular software package sold in the underground that is designed to be stitched into hacked sites and use browser exploits to drop malware on visiting PCs. The BlackHole author said he intended to (and did, it appears) fold the exploit into his kit, but said he was surprised that someone would just leak such a reliable exploit, which he said would fetch at least $100,000 if sold privately in the criminal underground.

 

This stats page, shared by researchers at Seculert, comes from a working BlackHole exploit panel. The success rate of this kit — 21 percent — is roughly double the normal rate thanks to the inclusion of this Java zero-day.

 

But lost in all of the coverage of this vulnerability is the growing body of evidence suggesting this Java exploit was first wielded in targeted espionage attacks of the sort used to extract corporate and government secrets. So who burns through two zero day flaws to execute a targeted attack? In all likelihood, an individual or group motivated by a non-materialistic ideology, or at least a certainty that what will be gained is worth far more than the vulnerability itself.

Experts at Silicon Valley-based AlienVault published an analysis that highlighted some interesting text strings in the exploit (“xiaomaolv” and conglaiyebuqi”) which suggest the initial attacks were paired with Chinese crimeware known as the Gondad Exploit Kit.

Other curious markers in the exploit code indicate that the targeted attacks were carried out using Internet servers that have been connected with other targeted espionage attacks traced back to Chinese threat actor groups. Among the control servers used in this latest attack was “domain.rm6.org,” an Internet address that played a central role in the Nitro attacks of 2011, which according to Symantec and other security firms was a series of Chinese-based espionage attacks directed against at least 48 chemical and defense companies.

Unfortunately, the miscreants involved in these targeted attacks have been finding success using the same resources and tools well into 2010 and earlier. That’s according to a presentation given in 2010 by researchers exploit and malware researchers Val Smith and Anthony Lai, called “Balancing the Pwn Deficit” (PDF).

The paper details the history and methods of Chinese hacking groups, and notes that the two strings found in the most recent Java exploit are a favorite invocation for script variables that are re-used in various attack tools of Chinese origin. The terms “xiaomaolv” and conglaiyebuqi” and several others used, they found, come from lyrics from songs by the artist known as Jay Zhou.

“The fact that there are embedded song lyrics, potentially tells us several things,” they wrote. “One, it helps to confirm that this attack was created in the geographic region assumed. It is unusual for attackers from one country and language, to take lyrics from a popular song in another country and language and embed them in their attacks.”

 

PATCH AVAILABLE?

As I noted earlier this week, Oracle has moved Java to a patch cycle of every four months, and its next security update is not scheduled until October. On Tuesday, I contacted Oracle to find out if they intended to address this problem separately before then, but I have not yet received a response. Nor could I find any mention of this problem on any of the various Java blogs that Oracle inherited when it took control of Java from Sun a few years ago. In fact, most of those Java blogs seem to have gone missing.

In the meantime, it’s a good idea to either unplug Java from your browser or uninstall it from your computer completely.

Windows users can find out if they have Java installed and which version by visiting java.com and clicking the “Do I have Java? link. Mac users can use the Software Update feature to check for any available Java updates.

If you primarily use Java because some Web site, or program you have on your system — such as OpenOffice or Freemind — requires it, you can still dramatically reduce the risk from Java attacks just by disabling the plugin in your Web browser. In this case, I  would suggest a two-browser approach. If you normally browse the Web with Firefox, for example, consider disabling the Java plugin in Firefox, and then using an alternative browser (Chrome, IE9, Safari, etc.) with Java enabled to browse only the site that requires it.

 

For browser-specific instructions on disabling Java, click here.

 

If you want to test whether you’ve successfully disabled Java, check out Rapid7′s page, isjavaexploitable.com.

 

Direct Link:  http://krebsonsecurity.com/2012/08/java-exploit-leveraged-two-flaws/