<?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: (new) Adobe Flash Player security hole found, flXHR&#8217;s response</title>
	<atom:link href="http://www.flensed.com/fresh/2008/08/adobe-flash-player-security-hole/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flensed.com/fresh/2008/08/adobe-flash-player-security-hole/</link>
	<description>the latest from flensed</description>
	<lastBuildDate>Wed, 29 Jul 2009 16:35:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Changes and new features in flensed 1.0 &#124; the Fresh!</title>
		<link>http://www.flensed.com/fresh/2008/08/adobe-flash-player-security-hole/comment-page-1/#comment-12</link>
		<dc:creator>Changes and new features in flensed 1.0 &#124; the Fresh!</dc:creator>
		<pubDate>Sat, 06 Dec 2008 00:32:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.flensed.com/fresh/?p=31#comment-12</guid>
		<description>[...] was the class added to flXHR.swf in a previous alpha release to address the needs discussed in this blog on security model holes. However, it was discovered through further testing that IP addresses, single-word domains (like [...]</description>
		<content:encoded><![CDATA[<p>[...] was the class added to flXHR.swf in a previous alpha release to address the needs discussed in this blog on security model holes. However, it was discovered through further testing that IP addresses, single-word domains (like [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shade</title>
		<link>http://www.flensed.com/fresh/2008/08/adobe-flash-player-security-hole/comment-page-1/#comment-11</link>
		<dc:creator>Shade</dc:creator>
		<pubDate>Thu, 09 Oct 2008 21:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.flensed.com/fresh/?p=31#comment-11</guid>
		<description>I understand that the SWF logically operates in the originating domain security context. And I understand how SWF differs from JS, in that SWF provides this special ability to self-contain its execution to a remote security context (*unless* that barrier is intentionally taken down by the author).

But physically, the SWF is operating inside of an HTML page on perhaps a different domain, and moreover, may be interacting with the javascript of that page on the different domain (if the author allowed it).

In my opinion, what matters most here is the practical security context, which for flash on a webpage, can look a lot more like a mix between the page&#039;s domain and the SWF domain, than *just* the SWF domain.

I know there are access controls (&#039;allowscriptaccess&#039; and &#039;allowdomain&#039;) which are generally in place to help prevent (or allow) the swf from stepping out of its security context bounds when on a page from a different domain.  However, there are plenty of times when a flash file (like flXHR for instance) must be granted permission to talk with the surrounding page regardless of the domain, to accomplish its tasks or goals.

A stand-alone, totally security-sandboxed flash is fine for say a flash ad, but real interactive RIA type flash often needs to step outside it&#039;s walls from time-to-time, and so authors must sometimes breach this defense.

So, if you have such a flash file, which, internally published *and* through the HTML it&#039;s hosted in, has granted this cross-domain access, then practically speaking, that SWF is now operating in a hybrid security context, a mixture of both the page domain and the originating domain.

It is *this* use case which leads me to assert that both the page domain and the swf-domain would be proper to check in resolving cross-domain policies from a server.

Think about it this way... if Adobe&#039;s flash *did* do as I suggest, in most cases (where the page-domain and swf-domain are the same), the behavior wouldn&#039;t be any different than it is right now.  But in the set of cases where a SWF is operating in the hybrid context, the cross-domain policies *would be* more secure than they are now, assuming that only the swf-domain need be considered.

I&#039;m simply suggesting that giving developers the ability to breach the strict originating domain security context (ie, the &quot;AllowDomain&quot; actionscript call) but not having the policy file model also support this hybrid context is where the &quot;hole&quot; comes from.  And try as I may, the implementation I put in place to protect flXHR from being exploited while in the hybrid zone is limited in its effectiveness -- only a native solution from Adobe would fully plug this hole.</description>
		<content:encoded><![CDATA[<p>I understand that the SWF logically operates in the originating domain security context. And I understand how SWF differs from JS, in that SWF provides this special ability to self-contain its execution to a remote security context (*unless* that barrier is intentionally taken down by the author).</p>
<p>But physically, the SWF is operating inside of an HTML page on perhaps a different domain, and moreover, may be interacting with the javascript of that page on the different domain (if the author allowed it).</p>
<p>In my opinion, what matters most here is the practical security context, which for flash on a webpage, can look a lot more like a mix between the page&#8217;s domain and the SWF domain, than *just* the SWF domain.</p>
<p>I know there are access controls (&#8216;allowscriptaccess&#8217; and &#8216;allowdomain&#8217;) which are generally in place to help prevent (or allow) the swf from stepping out of its security context bounds when on a page from a different domain.  However, there are plenty of times when a flash file (like flXHR for instance) must be granted permission to talk with the surrounding page regardless of the domain, to accomplish its tasks or goals.</p>
<p>A stand-alone, totally security-sandboxed flash is fine for say a flash ad, but real interactive RIA type flash often needs to step outside it&#8217;s walls from time-to-time, and so authors must sometimes breach this defense.</p>
<p>So, if you have such a flash file, which, internally published *and* through the HTML it&#8217;s hosted in, has granted this cross-domain access, then practically speaking, that SWF is now operating in a hybrid security context, a mixture of both the page domain and the originating domain.</p>
<p>It is *this* use case which leads me to assert that both the page domain and the swf-domain would be proper to check in resolving cross-domain policies from a server.</p>
<p>Think about it this way&#8230; if Adobe&#8217;s flash *did* do as I suggest, in most cases (where the page-domain and swf-domain are the same), the behavior wouldn&#8217;t be any different than it is right now.  But in the set of cases where a SWF is operating in the hybrid context, the cross-domain policies *would be* more secure than they are now, assuming that only the swf-domain need be considered.</p>
<p>I&#8217;m simply suggesting that giving developers the ability to breach the strict originating domain security context (ie, the &#8220;AllowDomain&#8221; actionscript call) but not having the policy file model also support this hybrid context is where the &#8220;hole&#8221; comes from.  And try as I may, the implementation I put in place to protect flXHR from being exploited while in the hybrid zone is limited in its effectiveness &#8212; only a native solution from Adobe would fully plug this hole.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LDA</title>
		<link>http://www.flensed.com/fresh/2008/08/adobe-flash-player-security-hole/comment-page-1/#comment-10</link>
		<dc:creator>LDA</dc:creator>
		<pubDate>Thu, 09 Oct 2008 20:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.flensed.com/fresh/?p=31#comment-10</guid>
		<description>The problem is your underlying assumption is incorrect.  You said:

&quot;The domain of the URL of the hosting HTML page is *not* considered, even though the SWF’s executable code (similar to any remotely loaded Javascript files) will in reality execute in the context of that page.&quot;

However, SWF is executed in the context of the SWF&#039;s origin, not of the surrounding page and does not have access to the surrounding page (unless both SWF and HTML are from the same origin OR you enable cross-domain scripting explicitly with allowScriptAccess=always).  So it is not the same as importing JavaScript via the SCRIPT tag.</description>
		<content:encoded><![CDATA[<p>The problem is your underlying assumption is incorrect.  You said:</p>
<p>&#8220;The domain of the URL of the hosting HTML page is *not* considered, even though the SWF’s executable code (similar to any remotely loaded Javascript files) will in reality execute in the context of that page.&#8221;</p>
<p>However, SWF is executed in the context of the SWF&#8217;s origin, not of the surrounding page and does not have access to the surrounding page (unless both SWF and HTML are from the same origin OR you enable cross-domain scripting explicitly with allowScriptAccess=always).  So it is not the same as importing JavaScript via the SCRIPT tag.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shade</title>
		<link>http://www.flensed.com/fresh/2008/08/adobe-flash-player-security-hole/comment-page-1/#comment-9</link>
		<dc:creator>Shade</dc:creator>
		<pubDate>Thu, 28 Aug 2008 17:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.flensed.com/fresh/?p=31#comment-9</guid>
		<description>@guya- I think the reason I chose to use &quot;hole&quot; instead of &quot;gap&quot; or &quot;missing feature&quot; is because of point #2 in the page-1 summary -- that the behavior is contrary to &lt;a href=&quot;http://www.adobe.com/devnet/flashplayer/articles/flash_player_9_security.pdf&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Adobe&#039;s own security white paper&lt;/a&gt; (bottom of page 28) on the topic.

But yes, I agree wholeheartedly that developers/authors need to be more diligent.  That&#039;s why I spent an entire month writing and testing (some fairly complex) code to &quot;plug&quot; the hole in the flXHR project so that flXHR can&#039;t be abused (purposely or inadvertently).  

But, clearly, my code is not nearly as efficient as if Adobe would address the hole/feature with their native code.  And my code doesn&#039;t do much to help all the other flash .swf assets out there which may be vulnerable to such a thing (although the code I wrote *is* in its own class so it *could* be adapted to other projects somewhat straightforwardly).

I guess that&#039;s mostly what I am hoping will come of all this, so that eventually my code won&#039;t be necessary, and other flash content developers won&#039;t have to worry (as much) about this kind of feature-gap.</description>
		<content:encoded><![CDATA[<p>@guya- I think the reason I chose to use &#8220;hole&#8221; instead of &#8220;gap&#8221; or &#8220;missing feature&#8221; is because of point #2 in the page-1 summary &#8212; that the behavior is contrary to <a href="http://www.adobe.com/devnet/flashplayer/articles/flash_player_9_security.pdf" target="_blank" rel="nofollow">Adobe&#8217;s own security white paper</a> (bottom of page 28) on the topic.</p>
<p>But yes, I agree wholeheartedly that developers/authors need to be more diligent.  That&#8217;s why I spent an entire month writing and testing (some fairly complex) code to &#8220;plug&#8221; the hole in the flXHR project so that flXHR can&#8217;t be abused (purposely or inadvertently).  </p>
<p>But, clearly, my code is not nearly as efficient as if Adobe would address the hole/feature with their native code.  And my code doesn&#8217;t do much to help all the other flash .swf assets out there which may be vulnerable to such a thing (although the code I wrote *is* in its own class so it *could* be adapted to other projects somewhat straightforwardly).</p>
<p>I guess that&#8217;s mostly what I am hoping will come of all this, so that eventually my code won&#8217;t be necessary, and other flash content developers won&#8217;t have to worry (as much) about this kind of feature-gap.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guya</title>
		<link>http://www.flensed.com/fresh/2008/08/adobe-flash-player-security-hole/comment-page-1/#comment-8</link>
		<dc:creator>guya</dc:creator>
		<pubDate>Thu, 28 Aug 2008 15:47:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.flensed.com/fresh/?p=31#comment-8</guid>
		<description>You definitely raised an interesting point regarding Flash security. I wouldn&#039;t call this a security hole though, but rather a missing security feature. 
It&#039;s always up to developer to develop secure application according to the platform capabilities and limitation. A &quot;good&quot; developer can break the toughest security model in a sec :)</description>
		<content:encoded><![CDATA[<p>You definitely raised an interesting point regarding Flash security. I wouldn&#8217;t call this a security hole though, but rather a missing security feature.<br />
It&#8217;s always up to developer to develop secure application according to the platform capabilities and limitation. A &#8220;good&#8221; developer can break the toughest security model in a sec <img src='http://flensed.2static.it/fresh/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Content Delivery Network via flensed.2static.it

Served from: shade.ayame @ 2010-03-12 11:06:58 -->