<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Skypher &#187; Repro</title>
	<atom:link href="http://skypher.com/index.php/category/security/repro-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://skypher.com</link>
	<description>The blog for absolutely nothing!</description>
	<lastBuildDate>Fri, 16 Jul 2010 08:26:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>MSIE 6,7, 8 &amp; 9 insertAdjacentElement NULL ptr</title>
		<link>http://skypher.com/index.php/2010/04/12/msie-67-8-9-insertadjacentelement-null-ptr/</link>
		<comments>http://skypher.com/index.php/2010/04/12/msie-67-8-9-insertadjacentelement-null-ptr/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 12:03:10 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming Languages]]></category>
		<category><![CDATA[Repro]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=459</guid>
		<description><![CDATA[<p>  img=new Image();
  img.insertAdjacentElement("afterEnd",img);</p>
<p>More details here: <a href="http://code.google.com/p/skylined/issues/detail?id=15">http://code.google.com/p/skylined/issues/detail?id=15</a></p>
]]></description>
			<content:encoded><![CDATA[<p><code>  img=new Image();<br />
  img.insertAdjacentElement("afterEnd",img);</code></p>
<p>More details here: <a href="http://code.google.com/p/skylined/issues/detail?id=15">http://code.google.com/p/skylined/issues/detail?id=15</a></p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/04/12/msie-67-8-9-insertadjacentelement-null-ptr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSIE 8,9 (X)HTML stack exhaustion</title>
		<link>http://skypher.com/index.php/2010/04/12/msie-89-xhtml-stack-exhaustion/</link>
		<comments>http://skypher.com/index.php/2010/04/12/msie-89-xhtml-stack-exhaustion/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 11:45:23 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Programming Languages]]></category>
		<category><![CDATA[Repro]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=452</guid>
		<description><![CDATA[<p>Many nested tags in MSIE can cause stack exhaustion, which can crash the tab and even the entire browser.</p>
<p>&#60;?xml version="1.0" encoding="UTF-8"?&#62;
&#60;!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&#62;
&#60;html xmlns="http://www.w3.org/1999/xhtml"&#62;
  &#60;address/&#62;&#60;address/&#62;&#60;address/&#62;&#60;address/&#62;&#60;address/&#62;&#60;address/&#62;......]]></description>
			<content:encoded><![CDATA[<p>Many nested tags in MSIE can cause stack exhaustion, which can crash the tab and even the entire browser.</p>
<p><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"<br />
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;<br />
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;<br />
  &lt;address/&gt;&lt;address/&gt;&lt;address/&gt;&lt;address/&gt;&lt;address/&gt;&lt;address/&gt;.... etc...<br />
&lt;/html&gt;</code></p>
<p>More details here: <a href="http://code.google.com/p/skylined/issues/detail?id=14">http://code.google.com/p/skylined/issues/detail?id=14</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/04/12/msie-89-xhtml-stack-exhaustion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Windows .ANI file BITMAPINFOHEADER.biClrUsed bounds check missing</title>
		<link>http://skypher.com/index.php/2010/03/08/ani-file-bitmapinfoheader-biclrused-bounds-check-missing/</link>
		<comments>http://skypher.com/index.php/2010/03/08/ani-file-bitmapinfoheader-biclrused-bounds-check-missing/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 09:45:20 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Repro]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=430</guid>
		<description><![CDATA[<p>Quoting <a href="http://msdn.microsoft.com/en-us/library/aa930622.aspx">http://msdn.microsoft.com/en-us/library/aa930622.aspx</a>:
typedef struct tagBITMAPINFOHEADER {
  DWORD biSize;
  LONG biWidth;
  LONG biHeight;
  WORD biPlanes;
  WORD biBitCount
  DWORD biCompression;
  DWORD biSizeImage;
  LONG biXPelsPerMeter;
  LONG biYPelsPerMeter;
  DWORD biClrUsed;
  DWORD biClrImportant;
} BITMAPINFOHEADER;

&#8220;If the bitmap is a packed bitmap (a bitmap in which the bitmap array immediately follows the BITMAPINFO header and is referenced by a single pointer), the biClrUsed member must be either zero or the actual size of the color table.&#8221;</p>
<p>ANI files stores each frame of the animated cursor as a packed bitmap inside the ANI file...]]></description>
			<content:encoded><![CDATA[<p>Quoting <a href="http://msdn.microsoft.com/en-us/library/aa930622.aspx">http://msdn.microsoft.com/en-us/library/aa930622.aspx</a>:<br />
<CODE>typedef struct tagBITMAPINFOHEADER {<br />
  DWORD biSize;<br />
  LONG biWidth;<br />
  LONG biHeight;<br />
  WORD biPlanes;<br />
  WORD biBitCount<br />
  DWORD biCompression;<br />
  DWORD biSizeImage;<br />
  LONG biXPelsPerMeter;<br />
  LONG biYPelsPerMeter;<br />
  DWORD biClrUsed;<br />
  DWORD biClrImportant;<br />
} BITMAPINFOHEADER;<br />
</CODE><br />
<em>&#8220;If the bitmap is a packed bitmap (a bitmap in which the bitmap array immediately follows the BITMAPINFO header and is referenced by a single pointer), the biClrUsed member must be either zero or the actual size of the color table.&#8221;</em></p>
<p>ANI files stores each frame of the animated cursor as a packed bitmap inside the ANI file. The DWORD <TT>biClrUsed</TT> member of the <TT>BITMAPINFOHEADER</TT> of each such bitmap can be used to cause the Windows API functions to allocate any number of bytes and attempt to copy a similarly large ammount of  data from the file in memory to the newly allocated memory. The code does not check that such a large ammount of data is available and this can cause the copy operation to read beyong the bounds of the memory allocated for the ANI file. This problem affects Windows XP and Vista but not the newer Windows 7.</p>
<p>This can cause a read access violation if a small ANI file specifies a large value for <TT>biClrUsed</TT>: the memory copy operation runs beyond the memory allocated for the file data and into unallocated memory. MSIE is an example of an application that uses these Windows APIs to read ANI files, it is also the application that this problem was first detect in. However, there could be other applications that use these API functions.</p>
<p>In MSIE, this read AV is handled by an exception handler, so it does not cause the browser to crash. The read access violation is therefore only visible if a debugger is attached to MSIE. However, this problem can also be used to cause the application to allocate excessive amounts of memory and become unresponsive, using 100% CPU. For MSIE, this seems to affect the x86 version only and not the x64 version. I cannot explain, not have I investigated the exact cause of this difference between these two versions.</p>
<p>Microsoft has confirmed the issue and based on the impact has decided to fix this in Service Packs for the various versions of Windows affected. They cannot provide release estimates for these Service Packs at this time. If you maintain an application that depends on the Windows APIs to load ANI files, you may want to investigate how this issue affects your application and do additional checks on the contents of ANI files before calling vulnerable Windows API functions.</p>
<p>Full details, including case history and repro for this particular bug can be found <a href="http://code.google.com/p/skylined/issues/detail?id=3">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/03/08/ani-file-bitmapinfoheader-biclrused-bounds-check-missing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Internet Explorer 6.0/7.0 NULL pointer crashes</title>
		<link>http://skypher.com/index.php/2010/01/20/microsoft-internet-explorer-6-07-0-null-pointer-crashes/</link>
		<comments>http://skypher.com/index.php/2010/01/20/microsoft-internet-explorer-6-07-0-null-pointer-crashes/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 10:55:37 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Programming Languages]]></category>
		<category><![CDATA[Repro]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=297</guid>
		<description><![CDATA[<p>Two crashes caused by NULL pointer dereferences have been discovered in MSIE 6.0/7.0. These issues do not affect MSIE 8.0...]]></description>
			<content:encoded><![CDATA[<p>Two crashes caused by NULL pointer dereferences have been discovered in MSIE 6.0/7.0. These issues do not affect MSIE 8.0.<br />
<UL><br />
  <LI><CODE><A href="http://skypher.com/SkyLined/Repro/MSIE/MSRC%209604%20-%20document.createElement(%22li%22).value=3/repro.html">document.createElement(&#8220;li&#8221;).value=3</A></CODE></LI><br />
  <LI><CODE><A href="http://skypher.com/SkyLined/Repro/MSIE/MSRC%209604%20-%20document.createElement(%22html%22).outerHTML/repro.html">document.createElement(&#8220;html&#8221;).outerHTML</A></CODE></LI><br />
</UL></p>
<p>I&#8217;ve recently started using Google Code for tracking bugs: an editted version of the history of this bug can be found <A href="http://code.google.com/p/skylined/issues/detail?id=4">here</A>.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/01/20/microsoft-internet-explorer-6-07-0-null-pointer-crashes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memory corruption when loading/unloading Adobe objects through EMBED tag in Firefox</title>
		<link>http://skypher.com/index.php/2009/10/13/memory-corruption-when-loadingunloading-adobe-objects-through-embed-tag-in-firefox/</link>
		<comments>http://skypher.com/index.php/2009/10/13/memory-corruption-when-loadingunloading-adobe-objects-through-embed-tag-in-firefox/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 19:46:52 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Repro]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=262</guid>
		<description><![CDATA[<p>(a.k.a. CVE-2009-2983)</p>
<p>Adobe <a href="http://www.adobe.com/support/security/bulletins/apsb09-15.html">fixed a bug</a> in various COM objects. Loading and unloading these objects in a webpage in Firefox allows memory corruption, which can be exploited to execute arbitrary code...]]></description>
			<content:encoded><![CDATA[<p><em><small>(a.k.a. CVE-2009-2983)</small></em></p>
<p>Adobe <a href="http://www.adobe.com/support/security/bulletins/apsb09-15.html">fixed a bug</a> in various COM objects. Loading and unloading these objects in a webpage in Firefox allows memory corruption, which can be exploited to execute arbitrary code. Here are a number of repro cases for various MIME types:</p>
<p><A target="exploit" href="http://skypher.com/SkyLined/Repro/COM/Object%20instantiation/EMBED%20type%20manual.html?application/pdf">application/pdf</A><br />
<A target="exploit" href="http://skypher.com/SkyLined/Repro/COM/Object%20instantiation/EMBED%20type%20manual.html?application/vnd.adobe.xdp+xml">application/vnd.adobe.xdp+xml</A><br />
<A target="exploit" href="http://skypher.com/SkyLined/Repro/COM/Object%20instantiation/EMBED%20type%20manual.html?application/vnd.adobe.xfd+xml">application/vnd.adobe.xfd+xml</A><br />
<A target="exploit" href="http://skypher.com/SkyLined/Repro/COM/Object%20instantiation/EMBED%20type%20manual.html?application/vnd.adobe.xfdf">application/vnd.adobe.xfdf</A><br />
<A target="exploit" href="http://skypher.com/SkyLined/Repro/COM/Object%20instantiation/EMBED%20type%20manual.html?application/vnd.fdf">application/vnd.fdf</A></p>
<p>PS. Adobe mentions that <EM>&#8220;arbitrary code execution has not been demonstrated&#8221;</EM> without explaining how this is relevant, let me know if you know! <img src='http://skypher.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2009/10/13/memory-corruption-when-loadingunloading-adobe-objects-through-embed-tag-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSIE Content-Encoding: deflate memory corruption vulnerability</title>
		<link>http://skypher.com/index.php/2009/10/13/ms09-054cve-2009-1547-data-stream-header-corruption-vulnerability/</link>
		<comments>http://skypher.com/index.php/2009/10/13/ms09-054cve-2009-1547-data-stream-header-corruption-vulnerability/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 18:29:55 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Repro]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=249</guid>
		<description><![CDATA[<p>(a.k.a. MSRC 8769, MS09-054, CVE-2009-1547, &#8220;Data Stream Header Corruption Vulnerability&#8221;)</p>
<p>Microsoft <a href="http://www.microsoft.com/technet/security/bulletin/MS09-054.mspx">fixed a bug</a> in Internet Explorer&#8217;s &#8220;Content-Encoding:deflate&#8221; implementation...]]></description>
			<content:encoded><![CDATA[<p><em><small>(a.k.a. MSRC 8769, MS09-054, CVE-2009-1547, &#8220;Data Stream Header Corruption Vulnerability&#8221;)</small></em></p>
<p>Microsoft <a href="http://www.microsoft.com/technet/security/bulletin/MS09-054.mspx">fixed a bug</a> in Internet Explorer&#8217;s &#8220;Content-Encoding:deflate&#8221; implementation. Here are two HTTP replies that trigger the bug:</p>
<p><CODE>HTTP/.\nContent-Encoding:deflate\r\t\n\r\n\x20\x20</CODE><br />
<CODE>HTTP \nContent-Encoding:deflate\nContent-Range:\n\n&#8221;</CODE></p>
<p>The bug allows memory corruption, which can be exploited to execute arbitrary code. The big surprise (to me at least) is that nobody seems to have found this before even though it&#8217;s fairly easy to trigger.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2009/10/13/ms09-054cve-2009-1547-data-stream-header-corruption-vulnerability/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
