<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Java Facepalm</title>
	<atom:link href="http://thexploit.com/sec/java-facepalm/feed/" rel="self" type="application/rss+xml" />
	<link>http://thexploit.com/sec/java-facepalm/</link>
	<description></description>
	<lastBuildDate>Fri, 10 May 2013 11:38:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: sarabjeet</title>
		<link>http://thexploit.com/sec/java-facepalm/#comment-1323</link>
		<dc:creator>sarabjeet</dc:creator>
		<pubDate>Wed, 10 Oct 2012 12:02:14 +0000</pubDate>
		<guid isPermaLink="false">https://secure.thexploit.com/?p=1547#comment-1323</guid>
		<description><![CDATA[i really like that you are giving information on core and advance java concepts.]]></description>
		<content:encoded><![CDATA[<p>i really like that you are giving information on core and advance java concepts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Security News #0x1D: Javageddon- the Aftermath &#171; CyberOperations</title>
		<link>http://thexploit.com/sec/java-facepalm/#comment-1127</link>
		<dc:creator>Security News #0x1D: Javageddon- the Aftermath &#171; CyberOperations</dc:creator>
		<pubDate>Mon, 03 Sep 2012 02:14:34 +0000</pubDate>
		<guid isPermaLink="false">https://secure.thexploit.com/?p=1547#comment-1127</guid>
		<description><![CDATA[[...] How does last week&#8217;s Java exploit work? Thexploit points out that the problem can be exploited with simple Java code. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] How does last week&#8217;s Java exploit work? Thexploit points out that the problem can be exploited with simple Java code. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ez</title>
		<link>http://thexploit.com/sec/java-facepalm/#comment-1090</link>
		<dc:creator>ez</dc:creator>
		<pubDate>Tue, 28 Aug 2012 19:57:26 +0000</pubDate>
		<guid isPermaLink="false">https://secure.thexploit.com/?p=1547#comment-1090</guid>
		<description><![CDATA[More discussion/speculation (and backtraces) here http://www.reddit.com/r/netsec/comments/ywbhq/new_java_0day_exploited_in_the_wild/c601p5s]]></description>
		<content:encoded><![CDATA[<p>More discussion/speculation (and backtraces) here <a href="http://www.reddit.com/r/netsec/comments/ywbhq/new_java_0day_exploited_in_the_wild/c601p5s" rel="nofollow">http://www.reddit.com/r/netsec/comments/ywbhq/new_java_0day_exploited_in_the_wild/c601p5s</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin Schultz</title>
		<link>http://thexploit.com/sec/java-facepalm/#comment-1088</link>
		<dc:creator>Dustin Schultz</dc:creator>
		<pubDate>Tue, 28 Aug 2012 18:12:03 +0000</pubDate>
		<guid isPermaLink="false">https://secure.thexploit.com/?p=1547#comment-1088</guid>
		<description><![CDATA[Post updated - indeed I had it wrong. Thanks Michael! Now just to figure out exactly why Expression (or it&#039;s parent class Statement) is privy to execute Class.forName(&quot;sun.awt.SunToolkit&quot;) ...]]></description>
		<content:encoded><![CDATA[<p>Post updated &#8211; indeed I had it wrong. Thanks Michael! Now just to figure out exactly why Expression (or it&#8217;s parent class Statement) is privy to execute Class.forName(&#8220;sun.awt.SunToolkit&#8221;) &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mihi</title>
		<link>http://thexploit.com/sec/java-facepalm/#comment-1085</link>
		<dc:creator>mihi</dc:creator>
		<pubDate>Tue, 28 Aug 2012 17:15:22 +0000</pubDate>
		<guid isPermaLink="false">https://secure.thexploit.com/?p=1547#comment-1085</guid>
		<description><![CDATA[If you try harder, you will notice that in Java 6 you cannot call any (public) method of the SunToolkit class since untrusted code may not access the sun.* packages. And even a Class.forName() in Java 7 cannot give you a reference to SunToolkit. Therefore, having methods in SunToolkit that are disastrous to security is not the main problem (search for public classes called SecuritySupport, they have interesting methods too, or sun.misc.Unsafe as well, but they &quot;cannot&quot; be called since you should not get a reference to them).

The main problem (in my opinion) is that inside of the implementation of Statement the case of calling Class.forName is special cased in JDK7 - and in a way that will load even classes in restricted packages...

In other words: The change of that method to public makes it easier to exploit this issue, but even without there are enough interesting methods within sun.* that can do stuff like that. Just that you need someone trusted who is stupid enough to hand you a reference to that class as you cannot get them yourself.]]></description>
		<content:encoded><![CDATA[<p>If you try harder, you will notice that in Java 6 you cannot call any (public) method of the SunToolkit class since untrusted code may not access the sun.* packages. And even a Class.forName() in Java 7 cannot give you a reference to SunToolkit. Therefore, having methods in SunToolkit that are disastrous to security is not the main problem (search for public classes called SecuritySupport, they have interesting methods too, or sun.misc.Unsafe as well, but they &#8220;cannot&#8221; be called since you should not get a reference to them).</p>
<p>The main problem (in my opinion) is that inside of the implementation of Statement the case of calling Class.forName is special cased in JDK7 &#8211; and in a way that will load even classes in restricted packages&#8230;</p>
<p>In other words: The change of that method to public makes it easier to exploit this issue, but even without there are enough interesting methods within sun.* that can do stuff like that. Just that you need someone trusted who is stupid enough to hand you a reference to that class as you cannot get them yourself.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

 Served from: thexploit.com @ 2013-06-20 06:42:33 by W3 Total Cache -->