<?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"
	>
<channel>
	<title>Comments on: Java JAR Attacks and Features</title>
	<atom:link href="http://www.gnucitizen.org/blog/java-jar-attacks-and-features/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/</link>
	<description>Information Security Think Tank</description>
	<pubDate>Thu, 28 Aug 2008 22:07:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: More on GIFARS and Other Dangerous Attacks &#124; GNUCITIZEN</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-123170</link>
		<dc:creator>More on GIFARS and Other Dangerous Attacks &#124; GNUCITIZEN</dc:creator>
		<pubDate>Sun, 03 Aug 2008 16:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-123170</guid>
		<description>[...] to a persistent XSS plus the socket issue I&#8217;ve briefly covered in my previous post and my initial post from a year ago. And you don&#8217;t have to use the combo trick. All the attacker needs to do is [...]</description>
		<content:encoded><![CDATA[<p>[...] to a persistent XSS plus the socket issue I&#8217;ve briefly covered in my previous post and my initial post from a year ago. And you don&#8217;t have to use the combo trick. All the attacker needs to do is [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GIFARs and Other Issues &#124; GNUCITIZEN</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-123167</link>
		<dc:creator>GIFARs and Other Issues &#124; GNUCITIZEN</dc:creator>
		<pubDate>Sun, 03 Aug 2008 15:20:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-123167</guid>
		<description>[...] (especially reporters) about the GIFAR attack since it resembles what I have already spoked about here and presented at the last Black Hat in Amsterdam. So, I decided to shed some light without being [...]</description>
		<content:encoded><![CDATA[<p>[...] (especially reporters) about the GIFAR attack since it resembles what I have already spoked about here and presented at the last Black Hat in Amsterdam. So, I decided to shed some light without being [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Security and the Net &#183; GIFAR updates</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-123166</link>
		<dc:creator>Security and the Net &#183; GIFAR updates</dc:creator>
		<pubDate>Sun, 03 Aug 2008 09:54:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-123166</guid>
		<description>[...] John Hesman provides some more details. He also notes that this is not entirely new. One thing he does mention that really scares me is this: It turns out that when an applet makes an [...]</description>
		<content:encoded><![CDATA[<p>[...] John Hesman provides some more details. He also notes that this is not entirely new. One thing he does mention that really scares me is this: It turns out that when an applet makes an [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ymajoros</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-122416</link>
		<dc:creator>ymajoros</dc:creator>
		<pubDate>Mon, 02 Jun 2008 10:10:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-122416</guid>
		<description>No one seems to have noticed Dave's feedback. If you base your security on ip addresses... well... I know many people do just that, but it still is quite stupid. An IP address is an attribute of some machine on a network, which is quite different from a secure credential identifying some user. There could be a lot of users behind the same IP, a user could use multiple computers from different locations and still should have legit access... So, it isn't a safe, secure and flexible way of identifying users.</description>
		<content:encoded><![CDATA[<p>No one seems to have noticed Dave&#8217;s feedback. If you base your security on ip addresses&#8230; well&#8230; I know many people do just that, but it still is quite stupid. An IP address is an attribute of some machine on a network, which is quite different from a secure credential identifying some user. There could be a lot of users behind the same IP, a user could use multiple computers from different locations and still should have legit access&#8230; So, it isn&#8217;t a safe, secure and flexible way of identifying users.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-116136</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Tue, 11 Mar 2008 07:04:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-116136</guid>
		<description>Mihai, none of the libraries that I've tested which check whether an uploaded blob is a valid issue has detected the malicious JAR attached. This is the fact. But if you don't believe me, go and do some experiments on your own.

I think that you misunderstood the post.</description>
		<content:encoded><![CDATA[<p>Mihai, none of the libraries that I&#8217;ve tested which check whether an uploaded blob is a valid issue has detected the malicious JAR attached. This is the fact. But if you don&#8217;t believe me, go and do some experiments on your own.</p>
<p>I think that you misunderstood the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-116118</link>
		<dc:creator>Mihai</dc:creator>
		<pubDate>Tue, 11 Mar 2008 02:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-116118</guid>
		<description>I think you missed the point that bug made. The friggin' applet still executes within the client. It doesn't suddenly acquire server priviledges. You'd have to spawn a virtual machine on the server machine and have a class run in it, that's the kind of support your applet would need in order to poke around. Yeah, they talk about that on the web -- if an applet requires connecting to something other than its originating host, some process on the server must help it. You're confusing some unrelated concepts here.

If you seem to think that this upload-then-run-me issue is some sort of an Achile's heel, well, it is not. Simple sanitizing techniques in your file uploading should do the trick. Check out the bugtraq lists every now and then.</description>
		<content:encoded><![CDATA[<p>I think you missed the point that bug made. The friggin&#8217; applet still executes within the client. It doesn&#8217;t suddenly acquire server priviledges. You&#8217;d have to spawn a virtual machine on the server machine and have a class run in it, that&#8217;s the kind of support your applet would need in order to poke around. Yeah, they talk about that on the web &#8212; if an applet requires connecting to something other than its originating host, some process on the server must help it. You&#8217;re confusing some unrelated concepts here.</p>
<p>If you seem to think that this upload-then-run-me issue is some sort of an Achile&#8217;s heel, well, it is not. Simple sanitizing techniques in your file uploading should do the trick. Check out the bugtraq lists every now and then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Problemi seri per la nuova versione di Gmail &#171; BROKER DIGITALE</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-75164</link>
		<dc:creator>Problemi seri per la nuova versione di Gmail &#171; BROKER DIGITALE</dc:creator>
		<pubDate>Wed, 21 Nov 2007 17:04:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-75164</guid>
		<description>[...] recente segnalazione su gnucitizen.org ha infine recentemente lanciato un nuovo allarme per gli utenti di Gmail. Secondo quanto riportato [...]</description>
		<content:encoded><![CDATA[<p>[...] recente segnalazione su gnucitizen.org ha infine recentemente lanciato un nuovo allarme per gli utenti di Gmail. Secondo quanto riportato [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vaj</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70934</link>
		<dc:creator>vaj</dc:creator>
		<pubDate>Thu, 15 Nov 2007 01:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70934</guid>
		<description>bug, noone cares about hacking the individual server. Web 2.0 services are distributed, the attack surface is vast. get with the times, ./grandpa (-;</description>
		<content:encoded><![CDATA[<p>bug, noone cares about hacking the individual server. Web 2.0 services are distributed, the attack surface is vast. get with the times, ./grandpa (-;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justpassingthrough</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70855</link>
		<dc:creator>justpassingthrough</dc:creator>
		<pubDate>Wed, 14 Nov 2007 23:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70855</guid>
		<description>Gah. Apparently your board supports html.
&#60;applet codebase="localhost" src="malicious.jar" /&#62; was the proper snippet.</description>
		<content:encoded><![CDATA[<p>Gah. Apparently your board supports html.<br />
&lt;applet codebase=&#8221;localhost&#8221; src=&#8221;malicious.jar&#8221; /&gt; was the proper snippet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: justpassingthrough</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70853</link>
		<dc:creator>justpassingthrough</dc:creator>
		<pubDate>Wed, 14 Nov 2007 23:08:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70853</guid>
		<description>So, therefore, all you have to do to exploit is get someone to load a malicious page with , since codebase takes priority? This seems a little too good to be true.</description>
		<content:encoded><![CDATA[<p>So, therefore, all you have to do to exploit is get someone to load a malicious page with , since codebase takes priority? This seems a little too good to be true.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amped Freestyle Snowboarding &#187; Java JAR Attacks and Features</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70665</link>
		<dc:creator>Amped Freestyle Snowboarding &#187; Java JAR Attacks and Features</dc:creator>
		<pubDate>Wed, 14 Nov 2007 16:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70665</guid>
		<description>[...] Jetpacks wrote an engrossing place today onHere&#8217;s a hurried excerptWhile activity with the JAR prescript for Firefox (here and here), I also did whatever enquiry on the artefact Java handles jars, as well. To my surprise, the Java runtime seems to posses whatever rattling engrossing features which haw easily be &#8230; [...]</description>
		<content:encoded><![CDATA[<p>[...] Jetpacks wrote an engrossing place today onHere&#8217;s a hurried excerptWhile activity with the JAR prescript for Firefox (here and here), I also did whatever enquiry on the artefact Java handles jars, as well. To my surprise, the Java runtime seems to posses whatever rattling engrossing features which haw easily be &#8230; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70590</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Wed, 14 Nov 2007 13:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70590</guid>
		<description>&lt;blockquote&gt;Applets are not allowed to open network connections to any computer, except for the host that provided the .class files. This is either the host where the html page came from, or the host specified in the codebase parameter in the applet tag, with codebase taking precendence. &lt;a href="http://java.sun.com/sfaq/" rel="nofollow"&gt;Applet Security&lt;/a&gt;&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<blockquote><p>Applets are not allowed to open network connections to any computer, except for the host that provided the .class files. This is either the host where the html page came from, or the host specified in the codebase parameter in the applet tag, with codebase taking precendence. <a href="http://java.sun.com/sfaq/" rel="nofollow">Applet Security</a></p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bug</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70588</link>
		<dc:creator>Bug</dc:creator>
		<pubDate>Wed, 14 Nov 2007 13:52:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70588</guid>
		<description>This is utter rubbish, you can't learn anything about the server (the jar is executed on the client NOT the server. If the applet did try and probe the server from the client, you couldn't learn anything you could more simply learn by just running a port scanning tool) and the Java sand-box stops the applet on the client machine probing the client machine. 

If you are suggesting you get someone on the server side to run the applet, whoopie do, the applet still can't pass that information on as it can't connect to anything other than itself. 

I'm sorry, this is total nonsense.</description>
		<content:encoded><![CDATA[<p>This is utter rubbish, you can&#8217;t learn anything about the server (the jar is executed on the client NOT the server. If the applet did try and probe the server from the client, you couldn&#8217;t learn anything you could more simply learn by just running a port scanning tool) and the Java sand-box stops the applet on the client machine probing the client machine. </p>
<p>If you are suggesting you get someone on the server side to run the applet, whoopie do, the applet still can&#8217;t pass that information on as it can&#8217;t connect to anything other than itself. </p>
<p>I&#8217;m sorry, this is total nonsense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70584</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Wed, 14 Nov 2007 13:44:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70584</guid>
		<description>btw, RobW, I've certainly seen setups like that. However, I am not saying that this is the ultimate attack vector. I am saying that it is something to keep in mind. I mean, forging TCP is a hard job on its own but it does not mean that no one has ever used the attack vector in the past.</description>
		<content:encoded><![CDATA[<p>btw, RobW, I&#8217;ve certainly seen setups like that. However, I am not saying that this is the ultimate attack vector. I am saying that it is something to keep in mind. I mean, forging TCP is a hard job on its own but it does not mean that no one has ever used the attack vector in the past.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70583</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Wed, 14 Nov 2007 13:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70583</guid>
		<description>flipper, you don't load the applet from the an HTML inside the JAR. you should load it from an external page.

RobW, you've got it wrong. I will get back with a working example as soon as I get some of my other stuff on track.

The technique is very simple. It is all described in the post above.</description>
		<content:encoded><![CDATA[<p>flipper, you don&#8217;t load the applet from the an HTML inside the JAR. you should load it from an external page.</p>
<p>RobW, you&#8217;ve got it wrong. I will get back with a working example as soon as I get some of my other stuff on track.</p>
<p>The technique is very simple. It is all described in the post above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RobW</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70519</link>
		<dc:creator>RobW</dc:creator>
		<pubDate>Wed, 14 Nov 2007 10:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70519</guid>
		<description>The only interesting thing here is that it seems like Java will accept JAR files ending in ".jpg"... is that right?  You didn't say that explicitly, so I'm unsure.

As far as an attack vector, it's very weak (as you mentioned) -- it would require a server that outside users can upload files to, but which ALSO has some valuable services unprotected against internal users.  I've certainly never seen a setup anything like that.  It's common sense... a public-facing webserver, PARTICULARLY if you allow uploads of files that it then hosts! -- is occasionally vulnerable to flaws in PHP, your CMS, Apache, etc. etc., so you'd never put your important private company data on it, and you'd also never give it free access to the rest of your internal network (which is implied if your internal users can access it freely, which you require).

So if someone actually has the exact setup you need, I'll bet there are much simpler ways to crack them than tricking a user to visiting your custom-built applet page!

Last thing: what did you mean by this?  "As I side note, the same technique can be used to trick application into running arbitrary Java classes."</description>
		<content:encoded><![CDATA[<p>The only interesting thing here is that it seems like Java will accept JAR files ending in &#8220;.jpg&#8221;&#8230; is that right?  You didn&#8217;t say that explicitly, so I&#8217;m unsure.</p>
<p>As far as an attack vector, it&#8217;s very weak (as you mentioned) &#8212; it would require a server that outside users can upload files to, but which ALSO has some valuable services unprotected against internal users.  I&#8217;ve certainly never seen a setup anything like that.  It&#8217;s common sense&#8230; a public-facing webserver, PARTICULARLY if you allow uploads of files that it then hosts! &#8212; is occasionally vulnerable to flaws in PHP, your CMS, Apache, etc. etc., so you&#8217;d never put your important private company data on it, and you&#8217;d also never give it free access to the rest of your internal network (which is implied if your internal users can access it freely, which you require).</p>
<p>So if someone actually has the exact setup you need, I&#8217;ll bet there are much simpler ways to crack them than tricking a user to visiting your custom-built applet page!</p>
<p>Last thing: what did you mean by this?  &#8220;As I side note, the same technique can be used to trick application into running arbitrary Java classes.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flipper</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70505</link>
		<dc:creator>flipper</dc:creator>
		<pubDate>Wed, 14 Nov 2007 10:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70505</guid>
		<description>pdp, i tried to figure out how this works?
i was playing with a jar applet embeded in a jpeg imageg (copy /b...all of that) but in a IMG tag call from html file..nothing happens. I thing there must be a way of triggering the applet, but it doesnt seem to be an easy task at all..in case that's even possible.
Thank you.</description>
		<content:encoded><![CDATA[<p>pdp, i tried to figure out how this works?<br />
i was playing with a jar applet embeded in a jpeg imageg (copy /b&#8230;all of that) but in a IMG tag call from html file..nothing happens. I thing there must be a way of triggering the applet, but it doesnt seem to be an easy task at all..in case that&#8217;s even possible.<br />
Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdp</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70433</link>
		<dc:creator>pdp</dc:creator>
		<pubDate>Wed, 14 Nov 2007 06:35:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70433</guid>
		<description>vaj, read the post again! I've put it quite clearly there!</description>
		<content:encoded><![CDATA[<p>vaj, read the post again! I&#8217;ve put it quite clearly there!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vaj</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-70306</link>
		<dc:creator>vaj</dc:creator>
		<pubDate>Wed, 14 Nov 2007 00:40:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-70306</guid>
		<description>so you say that if i send user a web page with link to 

http&#58;//10.0.0.1/level/15/exec/-/configure/-/banner/motd/xssworm.com

and there is cisco router on 10.0.0.1 and cisco router has http bug, user can deliver payload to internal vulnerable IP ? heheh no news here (-;

&lt;blockquote&gt;IF #2 - tricking the user into visiting the malicious resource&lt;/blockquote&gt;

what is a 'user' ? what is a 'visit' to a resource? rss embed into everything. internet pushing and pulling now. vista desktop make 'visit' on behalf of user and follow links and submit cookie and 'click' things. so does igoogle rojo netvibe yahoo  live and more.

link embedded in any page gets 'clicks' from automatic spiders and bots

browser have widget to precache favorite page or predictive surf and restore session. we have tracking cookie and token everywhere that persist across many domain. user computer is clicking on links all day long without interaction therefore xss is important vector for delivery of serious hacking pdp!</description>
		<content:encoded><![CDATA[<p>so you say that if i send user a web page with link to </p>
<p>http&#58;//10.0.0.1/level/15/exec/-/configure/-/banner/motd/xssworm.com</p>
<p>and there is cisco router on 10.0.0.1 and cisco router has http bug, user can deliver payload to internal vulnerable IP ? heheh no news here (-;</p>
<blockquote><p>IF #2 - tricking the user into visiting the malicious resource</p></blockquote>
<p>what is a &#8216;user&#8217; ? what is a &#8216;visit&#8217; to a resource? rss embed into everything. internet pushing and pulling now. vista desktop make &#8216;visit&#8217; on behalf of user and follow links and submit cookie and &#8216;click&#8217; things. so does igoogle rojo netvibe yahoo  live and more.</p>
<p>link embedded in any page gets &#8216;clicks&#8217; from automatic spiders and bots</p>
<p>browser have widget to precache favorite page or predictive surf and restore session. we have tracking cookie and token everywhere that persist across many domain. user computer is clicking on links all day long without interaction therefore xss is important vector for delivery of serious hacking pdp!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.gnucitizen.org/blog/java-jar-attacks-and-features/#comment-69674</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 12 Nov 2007 12:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gnucitizen.org/blog/java-jar-attacks-and-features#comment-69674</guid>
		<description>The flaw here is not really with Java but rather with insecure Firewall configuration / insecure permission models.

If you trust machines on your local network then you had better make sure that those machines are secure.  Better yet, don't use any sort if IP address based security model.  IP addresses can be spoofed or even stolen and hence don't make for good authentication.</description>
		<content:encoded><![CDATA[<p>The flaw here is not really with Java but rather with insecure Firewall configuration / insecure permission models.</p>
<p>If you trust machines on your local network then you had better make sure that those machines are secure.  Better yet, don&#8217;t use any sort if IP address based security model.  IP addresses can be spoofed or even stolen and hence don&#8217;t make for good authentication.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
