<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: The GIFAR image vulnerability</title>
	<atom:link href="http://hackaday.com/2008/08/04/the-gifar-image-vulnerability/feed/" rel="self" type="application/rss+xml" />
	<link>http://hackaday.com/2008/08/04/the-gifar-image-vulnerability/</link>
	<description>Fresh hacks every day</description>
	<lastBuildDate>Mon, 23 Nov 2009 18:15:50 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ross snider</title>
		<link>http://hackaday.com/2008/08/04/the-gifar-image-vulnerability/comment-page-1/#comment-40031</link>
		<dc:creator>ross snider</dc:creator>
		<pubDate>Tue, 05 Aug 2008 17:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/08/04/the-gifar-image-vulnerability/#comment-40031</guid>
		<description>It is definitely a misrepresentation of the attack to state &quot;When viewed, the picture could send the attacker the credentials of the viewer.&quot; especially when you follow it with &quot;They think that it is not only pictures at risk, but nearly all browser content.&quot;&lt;br&gt;&lt;br&gt;That makes it sound like listening to music online will allow people to steal your bank credentials. That&#039;s nothing but buzz and hype. It hides the real issues in favor of a doomsday scenario.&lt;br&gt;&lt;br&gt;I think this issue is easy to solve in the way I stated above. Okay, it does really solve the issue 100%, but someone with XSS can already access your credentials and its even more likely they&#039;ll get them because if you are doing XSS chances are they are logged onto the site.&lt;br&gt;&lt;br&gt;GIFAR is creative and shiek, but it is not executable code that gets run when you view an image.</description>
		<content:encoded><![CDATA[<p>It is definitely a misrepresentation of the attack to state &#8220;When viewed, the picture could send the attacker the credentials of the viewer.&#8221; especially when you follow it with &#8220;They think that it is not only pictures at risk, but nearly all browser content.&#8221;</p>
<p>That makes it sound like listening to music online will allow people to steal your bank credentials. That&#8217;s nothing but buzz and hype. It hides the real issues in favor of a doomsday scenario.</p>
<p>I think this issue is easy to solve in the way I stated above. Okay, it does really solve the issue 100%, but someone with XSS can already access your credentials and its even more likely they&#8217;ll get them because if you are doing XSS chances are they are logged onto the site.</p>
<p>GIFAR is creative and shiek, but it is not executable code that gets run when you view an image.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Snider</title>
		<link>http://hackaday.com/2008/08/04/the-gifar-image-vulnerability/comment-page-1/#comment-40030</link>
		<dc:creator>Ross Snider</dc:creator>
		<pubDate>Tue, 05 Aug 2008 15:46:58 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/08/04/the-gifar-image-vulnerability/#comment-40030</guid>
		<description>I wish Hackaday stopped trying to do information security. They are particularly unread.&lt;br&gt;&lt;br&gt;For those of you who really want to know how GIFAR attacks and other file combinations work:&lt;br&gt;When parsing for. ZIP headers a fully compliant program will not care where there header starts. It can start anywhere in the program. You can place the ZIP header at the bottom of a GIF image for example and it will validate by any compliant GIF program and any compliant ZIP program.&lt;br&gt;&lt;br&gt;.JARs are essentially .ZIPs. That&#039;s right, look it up. They just call it something different so they can set the default program to their JVM. Essentially you can throw this GIF/JAR (GIFAR) into the JVM and because it is compliant it will wait until it sees the ZIP/JAR header and start reading for the program.&lt;br&gt;&lt;br&gt;This isn&#039;t the only time we&#039;ve seen this. It&#039;s been around for years. Some presenters at Blackhat are going show this in combination with some tricks to get the browser site security model broken. For example... the browser will typically only allow you to do AJAX requests to the domain you are given the javascript from. Java has to follow the same rules (Flash gets around this with crossdomain.xml rules)... &lt;br&gt;&lt;br&gt;From Sun&#039;s site &quot;applets are not allowed to open network connections to any computer, except for the host that provided the .class files.&quot; Well because you are capable of uploading a GIFAR to a site as they will validate as images (I don&#039;t know any banking sites that do this...) you can include an embed pointing to that GIFAR in another page (hosted anywhere) and make people stumble onto it. It will be allowed to make any network connections it wants to that site in their name.&lt;br&gt;&lt;br&gt;The attack gets even more dangerous because it isn&#039;t just GIFs and JARs that can act this way.&lt;br&gt;&lt;br&gt;To prevent this - well there are a variety of ways. Yeah, sun could look for GIF headers or something else... but then they would be non-compliant. It would be possible for a ZIP engine to build a true JAR that gets denied. Perhaps the JVM should only allow network connections when a class file is hosted by a site  AND the embed is on the site? I feel that is the direction they will go. XSS is already entailed if you can get your own embed into their webpage.&lt;br&gt;&lt;br&gt;However, this doesn&#039;t solve the general class of vulnerabilities of file type combinations.&lt;br&gt;&lt;br&gt;Hackaday, you sound like the media when you talk about information security. A lot of buzz and little comprehension of what you are talking about. However, I think you are the best platform for hardware hacks I have ever stumbled upon. Maybe get some (info-) hackers on your team to blog this stuff?</description>
		<content:encoded><![CDATA[<p>I wish Hackaday stopped trying to do information security. They are particularly unread.</p>
<p>For those of you who really want to know how GIFAR attacks and other file combinations work:<br />When parsing for. ZIP headers a fully compliant program will not care where there header starts. It can start anywhere in the program. You can place the ZIP header at the bottom of a GIF image for example and it will validate by any compliant GIF program and any compliant ZIP program.</p>
<p>.JARs are essentially .ZIPs. That&#8217;s right, look it up. They just call it something different so they can set the default program to their JVM. Essentially you can throw this GIF/JAR (GIFAR) into the JVM and because it is compliant it will wait until it sees the ZIP/JAR header and start reading for the program.</p>
<p>This isn&#8217;t the only time we&#8217;ve seen this. It&#8217;s been around for years. Some presenters at Blackhat are going show this in combination with some tricks to get the browser site security model broken. For example&#8230; the browser will typically only allow you to do AJAX requests to the domain you are given the javascript from. Java has to follow the same rules (Flash gets around this with crossdomain.xml rules)&#8230; </p>
<p>From Sun&#8217;s site &#8220;applets are not allowed to open network connections to any computer, except for the host that provided the .class files.&#8221; Well because you are capable of uploading a GIFAR to a site as they will validate as images (I don&#8217;t know any banking sites that do this&#8230;) you can include an embed pointing to that GIFAR in another page (hosted anywhere) and make people stumble onto it. It will be allowed to make any network connections it wants to that site in their name.</p>
<p>The attack gets even more dangerous because it isn&#8217;t just GIFs and JARs that can act this way.</p>
<p>To prevent this &#8211; well there are a variety of ways. Yeah, sun could look for GIF headers or something else&#8230; but then they would be non-compliant. It would be possible for a ZIP engine to build a true JAR that gets denied. Perhaps the JVM should only allow network connections when a class file is hosted by a site  AND the embed is on the site? I feel that is the direction they will go. XSS is already entailed if you can get your own embed into their webpage.</p>
<p>However, this doesn&#8217;t solve the general class of vulnerabilities of file type combinations.</p>
<p>Hackaday, you sound like the media when you talk about information security. A lot of buzz and little comprehension of what you are talking about. However, I think you are the best platform for hardware hacks I have ever stumbled upon. Maybe get some (info-) hackers on your team to blog this stuff?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: No1</title>
		<link>http://hackaday.com/2008/08/04/the-gifar-image-vulnerability/comment-page-1/#comment-40029</link>
		<dc:creator>No1</dc:creator>
		<pubDate>Tue, 05 Aug 2008 13:18:33 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/08/04/the-gifar-image-vulnerability/#comment-40029</guid>
		<description>I guess Sun will be &quot;tightening up the graphics&quot; security</description>
		<content:encoded><![CDATA[<p>I guess Sun will be &#8220;tightening up the graphics&#8221; security</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeicrash</title>
		<link>http://hackaday.com/2008/08/04/the-gifar-image-vulnerability/comment-page-1/#comment-40028</link>
		<dc:creator>jeicrash</dc:creator>
		<pubDate>Tue, 05 Aug 2008 06:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/08/04/the-gifar-image-vulnerability/#comment-40028</guid>
		<description>This has been done already. Metasploit did it years ago. Except I don&#039;t think it required java to work. Glad to see we STILL are not safe from images. Alwel.</description>
		<content:encoded><![CDATA[<p>This has been done already. Metasploit did it years ago. Except I don&#8217;t think it required java to work. Glad to see we STILL are not safe from images. Alwel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AndrewNeo</title>
		<link>http://hackaday.com/2008/08/04/the-gifar-image-vulnerability/comment-page-1/#comment-40027</link>
		<dc:creator>AndrewNeo</dc:creator>
		<pubDate>Tue, 05 Aug 2008 05:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/08/04/the-gifar-image-vulnerability/#comment-40027</guid>
		<description>Why the heck would this work? JARs aren&#039;t inherently executable, and should only be opened in case of an object or embed tag. Why would an img tag be handled by the Java VM?</description>
		<content:encoded><![CDATA[<p>Why the heck would this work? JARs aren&#8217;t inherently executable, and should only be opened in case of an object or embed tag. Why would an img tag be handled by the Java VM?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sean</title>
		<link>http://hackaday.com/2008/08/04/the-gifar-image-vulnerability/comment-page-1/#comment-40026</link>
		<dc:creator>sean</dc:creator>
		<pubDate>Tue, 05 Aug 2008 04:59:29 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/08/04/the-gifar-image-vulnerability/#comment-40026</guid>
		<description>I had always wondered if this was possible, never thought it would be done with java and gifs, but I had always wondered if you could embed code into a picture file and it be run when read.. I hope Sun fixes this quickly.</description>
		<content:encoded><![CDATA[<p>I had always wondered if this was possible, never thought it would be done with java and gifs, but I had always wondered if you could embed code into a picture file and it be run when read.. I hope Sun fixes this quickly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BigD145</title>
		<link>http://hackaday.com/2008/08/04/the-gifar-image-vulnerability/comment-page-1/#comment-40025</link>
		<dc:creator>BigD145</dc:creator>
		<pubDate>Tue, 05 Aug 2008 03:40:29 +0000</pubDate>
		<guid isPermaLink="false">http://hackaday.iheartcashews.com:8181/2008/08/04/the-gifar-image-vulnerability/#comment-40025</guid>
		<description>i was hoping the Black hats wouldn&#039;t be on this axis.&lt;br&gt;&lt;br&gt;interesting. i know you can hide text in blank pixels, but this is new to me.</description>
		<content:encoded><![CDATA[<p>i was hoping the Black hats wouldn&#8217;t be on this axis.</p>
<p>interesting. i know you can hide text in blank pixels, but this is new to me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
