Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacRumors

macrumors bot
Original poster
Apr 12, 2001
63,290
30,364



Java_Web-165-150x109.png


Just two weeks after Oracle officially took over responsibility for Java on OS X with the launch of Java SE 7 Update 6, a new Java vulnerability has been discovered to pose a significant threat to systems running the software. Krebs on Security highlighted the issue yesterday, noting that it affects all versions of Java 7 on most browsers.
News of the vulnerability (CVE-2012-4681) surfaced late last week in a somewhat sparse blog post by FireEye, which said the exploit seemed to work against the latest version of Java 7, which is version 1.7, Update 6. This morning, researchers Andre' M. DiMino & Mila Parkour published additional details on the targeted attacks seen so far, confirming that the zero-day affects Java 7 Update 0 through 6, but does not appear to impact Java 6 and below.

Initial reports indicated that the exploit code worked against all versions of Internet Explorer, Firefox and Opera, but did not work against Google Chrome. But according to Rapid 7, there is a Metasploit module in development that successfully deploys this exploit against Chrome (on at least Windows XP).
The report notes that Oracle is moving to a quarterly update cycle for Java, meaning that the next regularly-scheduled update to Java SE 7 is not planned until October, but it is unclear how quickly the company will move to address the issue. In the interim, some security experts are developing an unofficial patch while users are advised to simply disable Java if they do not need it active on their systems.

Computerworld reports that the issue does indeed affect fully-updated Macs running Java 7 on top of OS X Mountain Lion.
David Maynor, CTO of Errata Security, confirmed that the Metasploit exploit -- which was published less than 24 hours after the bug was found -- is effective against Java 7 installed on OS X Mountain Lion.

"This exploit works on OS X if you are running the 1.7 JRE [Java Runtime Environment]," said Maynor in an update to an earlier blog post.

JRE 1.7 includes the most-current version of Java 7, dubbed "Update 6," that was released earlier this month.
Both Safari 6 and Firefox 14 have been found to be vulnerable to the issue on OS X systems.

Apple has of course had its own issues with Java vulnerabilities, most recently with the Flashback malware that was able to infect over 600,000 Macs by taking advantage of an exploit in Java 6 that had already been patched by Oracle for most platforms but not by Apple for OS X. It is due to smaller, previous incidents similar to Flashback that Apple had already been moving to shift responsibility for Java updates to Oracle, a move that is taking place with Java 7. But while Mac users will now receive Java updates simultaneously with users on other platforms, Java remains one of the highest-profile targets for attackers seeking to compromise systems on a broad basis.

Update: CNET noted earlier today that most Mac users are not currently susceptible to the issue, as Java 7 is not installed by default on Macs. The current version of Java installed on Mac remains Java 6 for the time being, so users would have to have manually updated to Java 7 in order for their systems to be vulnerable.

Article Link: Newly-Discovered Java 7 Security Vulnerability Poses Risks to Macs
 

Prodo123

macrumors 68020
Nov 18, 2010
2,326
10
Just to emphasize, this is NOT a Mac security issue but rather a JAVA security issue which affects its host system, which includes Macs.

Nor is this a Windows virus. Macs are still impervious to Windows viruses.
 
Last edited:

Slix

macrumors 65816
Mar 24, 2010
1,432
1,966
Another reason I've had Java disabled on my Safari for years.
 

BC2009

macrumors 68020
Jul 1, 2009
2,236
1,371
Open Terminal..

Run: java -version

I get:

Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)

So it looks like I am good. "build 1.6" is "Java 6". I have Mountain Lion and just recently installed Java after upgrading to Mountain Lion, so I was a bit surprised that I had Java 6 and not Java 7.
 

M87

macrumors 65816
Jul 18, 2009
1,259
290
Open Terminal..

Run: java -version

I get:

Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)

So it looks like I am good. "build 1.6" is "Java 6". I have Mountain Lion and just recently installed Java after upgrading to Mountain Lion, so I was a bit surprised that I had Java 6 and not Java 7.

Same. I was worried because amazon's music manager app required me to install Java a week or so ago, but I have version 6 as well.
 

bbeagle

macrumors 68040
Oct 19, 2010
3,539
2,972
Buffalo, NY
Open Terminal..

Run: java -version

Technically, you can have several versions of java on your machine. This shows the DEFAULT version of java, which is what your browser will generally use unless you change it.

Your default version could be 1.6 (Java 6), but another program might install and use 1.7 (Java 7) if it wants to.
 

soloer

macrumors 6502a
Sep 27, 2004
879
197
Omaha
That's odd. I thought a couple weeks ago an update to Java bringing it up to 7 had appeared in Software Update. I'll have to check when I get home.
 

dashiel

macrumors 6502a
Nov 12, 2003
876
0
It’s infuriating that Adobe’s CS requires Java now otherwise I could ditch Java. Rubbing salt in the wounds I believe the Java requirement is for their software authentication/auto update mechanism and is not required for core functionality.
 

koppie644

macrumors regular
Oct 4, 2011
132
1
"manually updated to Java 7 in order for their systems to be vulnerable."

can "in order to" be used for something that one does not want?
 

jontech

macrumors 6502
Feb 26, 2010
447
204
Hawaii
Cue "Java sucks, why does anyone even need Java" comments...

Agree, Kinda


Java had provided a lot of issues for our organization. We cannot patch due to java limitations on some programs (not being able to use anything higher then Java 6 update 25 for instance)

Top it off they bundle crapware like toolbars and google items, which affect computers.

overall, not the great platform its advertised to be, at least not on the desktop
 

bbeagle

macrumors 68040
Oct 19, 2010
3,539
2,972
Buffalo, NY
It’s infuriating that Adobe’s CS requires Java now otherwise I could ditch Java.

Just because you have Java installed on your machine for a certain piece of software doesn't necessarily make you vulnerable.

The vulnerabilities are coming from the web browser, where a web site will try to run bad java code that your browser allows. Simply disable Java in your web browser, or use an older version, and you're safe when you surf the web - despite some other software requiring Java to run.

(Note: JavaScript and Java are two different things)
 

nagromme

macrumors G5
May 2, 2002
12,546
1,196
It’s infuriating that Adobe’s CS requires Java now otherwise I could ditch Java. Rubbing salt in the wounds I believe the Java requirement is for their software authentication/auto update mechanism and is not required for core functionality.

Ugh! I didn’t know that! Maybe I’ll stick with CS3.


Just because you have Java installed on your machine for a certain piece of software doesn't necessarily make you vulnerable.

The vulnerabilities are coming from the web browser, where a web site will try to run bad java code that your browser allows. Simply disable Java in your web browser, or use an older version, and you're safe when you surf the web - despite some other software requiring Java to run.

(Note: JavaScript and Java are two different things)

This reassures me, but Adobe having One More Thing I have to keep active on my machine bugs me anyway—and I’ll always be waiting for some exploit that’s not browser-based. I like to keep it simple, Adobe.
 

bbeagle

macrumors 68040
Oct 19, 2010
3,539
2,972
Buffalo, NY
what kind of actual risk are we talking about?

The current version of Java 7 allows java code itself to disable the security preferences of the Java sandbox. (It's supposed to ask you 'Can I write files to your c: directory?' but the hack lets the code NOT ask the user these questions, and just go 'yes - I'm allowed').

Basically, the java code now can do anything java can do WITHOUT asking you permission, like create files, rename or delete files and execute anything on your box.
 

manu chao

macrumors 604
Jul 30, 2003
7,219
3,031
It’s infuriating that Adobe’s CS requires Java now otherwise I could ditch Java. Rubbing salt in the wounds I believe the Java requirement is for their software authentication/auto update mechanism and is not required for core functionality.
Yes, but having Java installed does not make it possible for anybody to run it. Your browser can run it and a malicious website could make your browser run Java ... but only if you enable Java in the browser.

Otherwise, only applications can run Java, you thus would need to download an application and run it (which normally will give you a warning about it being the first time to run this particular application). Thus, the worst this Java exploit can do additionally is a privilege escalation if something tricks you into running a downloaded application.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.