Page 1 of 1

[SOLVED] Java 7 fails to restrict access to privileged code

Posted: Thu Jan 10, 2013 8:33 pm
by MELERIX
Overview

Java 7 Update 10 and earlier contain an unspecified vulnerability that can allow a remote, unauthenticated attacker to execute arbitrary code on a vulnerable system.

Description

The Oracle Java Runtime Environment (JRE) 1.7 allows users to run Java applications in a browser or as standalone programs. Oracle has made the JRE available for multiple operating systems.

The Java JRE plug-in provides its own Security Manager. Typically, a web applet runs with a security manager provided by the browser or Java Web Start plugin. Oracle's document states, "If there is a security manager already installed, this method first calls the security manager's checkPermission method with a RuntimePermission("setSecurityManager") permission to ensure it's safe to replace the existing security manager. This may result in throwing a SecurityException".

By leveraging unspecified vulnerabilities involving Java Management Extensions (JMX)MBean components, an untrusted Java applet can escalate its privileges by calling the the setSecurityManager() function to allow full privileges, without requiring code signing. Oracle Java 7 update 10 and earlier are affected.

This vulnerability is being attacked in the wild, and is reported to be incorporated into exploit kits. Exploit code for this vulnerability is also publicly available.

Impact

By convincing a user to visit a specially crafted HTML document, a remote attacker may be able to execute arbitrary code on a vulnerable system.

Solution

We are currently unaware of a practical solution to this problem. Please consider the following workarounds:

Disable Java in web browsers

Starting with Java 7 Update 10, it is possible to disable Java content in web browsers through the Java control panel applet. Please see the Java documentation for more details.

Source: http://www.kb.cert.org/vuls/id/625617

Re: Java 7 fails to restrict access to privileged code

Posted: Thu Jan 10, 2013 9:46 pm
by jurchiks
Well that's just sad...

Re: Java 7 fails to restrict access to privileged code

Posted: Thu Jan 10, 2013 11:52 pm
by Zoey76
This is a known issue and already discussed in this forum. :D

Re: Java 7 fails to restrict access to privileged code

Posted: Fri Jan 11, 2013 12:30 am
by MELERIX
this issue is recent.

the other issue that was discussed before is already fixed :P viewtopic.php?f=4&t=26103

Re: Java 7 fails to restrict access to privileged code

Posted: Sun Jan 13, 2013 9:35 pm
by MELERIX

Re: [SOLVED] Java 7 fails to restrict access to privileged c

Posted: Mon Jan 14, 2013 8:01 pm
by jurchiks
I wonder if they change anything else in the new releases other than the bug/exploit fixes...

Re: [SOLVED] Java 7 fails to restrict access to privileged c

Posted: Tue Jan 15, 2013 2:47 pm
by UnAfraid
I bet there's changelog somewhere in their website ;)

Re: [SOLVED] Java 7 fails to restrict access to privileged c

Posted: Tue Jan 15, 2013 7:51 pm
by jurchiks
That's quite a boring changelog: http://www.oracle.com/technetwork/java/ ... 96856.html
(I know they're release notes, not a changelog, but there doesn't seem to be one).
They've basically just set it so it asks to confirm every time the web plugin tries to run.

Re: [SOLVED] Java 7 fails to restrict access to privileged c

Posted: Wed Jan 16, 2013 10:04 pm
by ThePhoenixBird
Java is still vulnerable, fix doesnt do shit.

Re: [SOLVED] Java 7 fails to restrict access to privileged c

Posted: Thu Jan 17, 2013 2:59 am
by MELERIX
mmmm no, because now it will always ask to you to confirm before execute anything.

even with signed/secure applets!

for example (tested in java.com website):
Image

so there is no vulnerability now, except that the user be really dumb and select execute an unknown applet anyway.

which will be user fault xD