<?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; PoC</title>
	<atom:link href="http://skypher.com/index.php/category/security/poc/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>Ultra-Edit buffer overflow in GNU Aspell</title>
		<link>http://skypher.com/index.php/2010/07/16/ultra-edit-buffer-overflow-in-gnu-aspell/</link>
		<comments>http://skypher.com/index.php/2010/07/16/ultra-edit-buffer-overflow-in-gnu-aspell/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 08:26:23 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[PoC]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=476</guid>
		<description><![CDATA[<p>While looking at logs from my fuzzers, I found a bug in <a href="http://www.ultraedit.com/">UltraEdit</a> that triggered when I loaded a file with a long string of alphabetic characters...]]></description>
			<content:encoded><![CDATA[<p>While looking at logs from my fuzzers, I found a bug in <a href="http://www.ultraedit.com/">UltraEdit</a> that triggered when I loaded a file with a long string of alphabetic characters. A bit of debugging indicated that UltraEdit was using a version of <a href="http://aspell.net">GNU Aspell</a> that had a buffer overflow when handling long words. UltraEdit has been using Aspell since version 11<sup><a href="http://en.wikipedia.org/wiki/UltraEdit">[1]</a></sup>. I&#8217;ve not looked at exploitability, but the application seems to detect the overflow and terminate cleanly, so they may be saved by mitigations. IDM, the creators of UltraEdit, have since released a new version that fixes the issue.</p>
<p>Case history: <a href="http://code.google.com/p/skylined/issues/detail?id=2">http://code.google.com/p/skylined/issues/detail?id=2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/07/16/ultra-edit-buffer-overflow-in-gnu-aspell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple QuickTime memory corruption when loading BMP file</title>
		<link>http://skypher.com/index.php/2010/04/12/apple-quicktime-memory-corruption-when-loading-bmp-file/</link>
		<comments>http://skypher.com/index.php/2010/04/12/apple-quicktime-memory-corruption-when-loading-bmp-file/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 11:53:01 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[PoC]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=455</guid>
		<description><![CDATA[<p>From <a href="http://support.apple.com/kb/HT4104">http://support.apple.com/kb/HT4104</a>:
CVE-ID: CVE-2010-0536</p>
<p>Impact: Opening a maliciously crafted BMP image may lead to an unexpected application termination or arbitrary code execution</p>
<p>Description: A memory corruption issue exists in the handling of BMP images...]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://support.apple.com/kb/HT4104">http://support.apple.com/kb/HT4104</a>:<br />
CVE-ID: CVE-2010-0536</p>
<p>Impact: Opening a maliciously crafted BMP image may lead to an unexpected application termination or arbitrary code execution</p>
<p>Description: A memory corruption issue exists in the handling of BMP images. Opening a maliciously crafted BMP image may lead to an unexpected application termination or arbitrary code execution. This update addresses the issue by performing additional validation of BMP images.</p>
<p>More details here:<br />
<a href="http://code.google.com/p/skylined/issues/detail?id=11">http://code.google.com/p/skylined/issues/detail?id=11</a></p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/04/12/apple-quicktime-memory-corruption-when-loading-bmp-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSIE 9 regular expression related crashes</title>
		<link>http://skypher.com/index.php/2010/04/12/msie-9-regular-expression-related-crashes/</link>
		<comments>http://skypher.com/index.php/2010/04/12/msie-9-regular-expression-related-crashes/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 11:32:07 +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[PoC]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=446</guid>
		<description><![CDATA[<p>The following code snippets will crash MSIE 9 platform review...]]></description>
			<content:encoded><![CDATA[<p>The following code snippets will crash MSIE 9 platform review. Because this is not a stable release, but a preview of a product in development, it is expected to have a few bugs here and there &#8211; so don&#8217;t go browsing the web with it <img src='http://skypher.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p><code>&lt;SCRIPT&gt;/+&lt;/SCRIPT&gt;<br />
&lt;SCRIPT&gt;/(&lt;/SCRIPT&gt;<br />
&lt;SCRIPT&gt;/[B-A]/;&lt;/SCRIPT&gt;</code></p>
<p>More details here: <a href="http://code.google.com/p/skylined/issues/detail?id=13">http://code.google.com/p/skylined/issues/detail?id=13</a></p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/04/12/msie-9-regular-expression-related-crashes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Exploiter 2 &#8211; bypassing DEP</title>
		<link>http://skypher.com/index.php/2010/03/01/internet-exploiter-2-dep/</link>
		<comments>http://skypher.com/index.php/2010/03/01/internet-exploiter-2-dep/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 15:22:53 +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[PoC]]></category>
		<category><![CDATA[Programming Languages]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=412</guid>
		<description><![CDATA[<p>In 2005 I released <a href="http://skypher.com/wiki/index.php/Www.edup.tudelft.nl/~bjwever/exploits/InternetExploiter2.zip">Internet Exploiter 2</a>, which helped make <a href="http://en.wikipedia.org/wiki/Heap_spraying">heap spraying</a> popular in browser exploits...]]></description>
			<content:encoded><![CDATA[<p>In 2005 I released <a href="http://skypher.com/wiki/index.php/Www.edup.tudelft.nl/~bjwever/exploits/InternetExploiter2.zip">Internet Exploiter 2</a>, which helped make <a href="http://en.wikipedia.org/wiki/Heap_spraying">heap spraying</a> popular in browser exploits. The exploit I released would not work if you had <a href="http://en.wikipedia.org/wiki/Data_Execution_Prevention">DEP</a> turned on for <a href="http://en.wikipedia.org/wiki/MSIE">MSIE</a>. However, I also created a version of the exploit that used <a href="http://en.wikipedia.org/wiki/Ret-into-libc">ret-into-libc</a> to bypass DEP, which I never released until today.</p>
<p>I am releasing this because I feel it helps explain why <a href="http://en.wikipedia.org/wiki/Address_space_layout_randomization">ASLR</a>+DEP are not a mitigation to put a lot of faith in, especially on <a href="http://en.wikipedia.org/wiki/X86">x86</a> platforms. 32-bits does not provide sufficient <a href="http://en.wikipedia.org/wiki/Address_space">address space</a> to randomize memory to the point where guessing addresses becomes impractical, considering heap spraying can allow an attacker to allocate memory across a considerable chunk of the address space and in a highly predictable location. The code in this exploit shows how to abuse this to perform a ret-into-libc attack when you can predict or, through <a href="http://en.wikipedia.org/wiki/Information_leakage">information leakage</a>, determine the location of modules (<a href="http://en.wikipedia.org/wiki/Executable">exe</a>, <a href="http://en.wikipedia.org/wiki/Dynamic-link_library">dll</a>) in the process&#8217; memory.</p>
<p>The source code, which has inline documentation, can be found <a href="http://skypher.com/SkyLined/download/exploits/Internet%20Exploiter2-DEP.zip">here</a>.</p>
<p><B>***UPDATE***</B> It appears that some people need a little more detail to figure out what is going on:<br />
<UL><br />
    <LI>this exploit targets <A href="http://skypher.com/wiki/index.php?title=Www.edup.tudelft.nl/~bjwever/advisory_msie_R6025.html.php">a bug that was already fixed in MSIE 6.0 in 2005</A>,</LI><br />
    <LI>This exploit <a href="http://blogs.zdnet.com/security/?p=5573">does not defeat ASLR</a>, it only shows how to defeat DEP if ASLR is disabled or if you can bypass it.</LI><br />
</UL></p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/03/01/internet-exploiter-2-dep/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>ALPHA3 released</title>
		<link>http://skypher.com/index.php/2010/01/10/alpha3-released/</link>
		<comments>http://skypher.com/index.php/2010/01/10/alpha3-released/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 13:33:53 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Assembler]]></category>
		<category><![CDATA[PoC]]></category>
		<category><![CDATA[Programming Languages]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=307</guid>
		<description><![CDATA[<p>I realized that if I would wait until I had fully documented everything in ALPHA3, it would probably never get released...]]></description>
			<content:encoded><![CDATA[<p>I realized that if I would wait until I had fully documented everything in ALPHA3, it would probably never get released. So, without further ado, documentation or explanations:</p>
<ul>
<li><a href="http://code.google.com/p/alpha3/">Project page</a></li>
<li><a href="http://alpha3.googlecode.com/svn/trunk/alpha3-read-only">SVN repository</a> (read-only)</li>
<li><a href="http://alpha3.googlecode.com/files/ALPHA3.zip">Download</a></li>
</ul>
<p>It has been developed and tested on Windows, but it should not be to hard to get it to run on other platforms. If you are having difficulty on other platforms and manage to create patches to fix this, please let me know and/or become a commiter to the project!</p>
<p>PS. My appologees for my lack of 1337 Python coding skills to whomever gets to port it to Metasploit &#8211; I did this project in Python while I was learning the language <img src='http://skypher.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2010/01/10/alpha3-released/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MS09-014: EMBED element memory corruption</title>
		<link>http://skypher.com/index.php/2009/04/19/ms09-014-embed-element-memory-corruption/</link>
		<comments>http://skypher.com/index.php/2009/04/19/ms09-014-embed-element-memory-corruption/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 13:05:21 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[PoC]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[memory corruption]]></category>
		<category><![CDATA[MS09-14]]></category>
		<category><![CDATA[re-entrancy]]></category>
		<category><![CDATA[repro]]></category>
		<category><![CDATA[Vulnerability]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=147</guid>
		<description><![CDATA[<p>Microsoft has just <a href="http://www.microsoft.com/technet/security/Bulletin/MS09-014.mspx">released a fix</a> for an issue I reported to them on December 4th, 2008. A simple repro can be found <a href="http://skypher.com/SkyLined/Repro/MSIE/EMBED%20memory%20corruption/repro3.html">here</a>...]]></description>
			<content:encoded><![CDATA[<p>Microsoft has just <a href="http://www.microsoft.com/technet/security/Bulletin/MS09-014.mspx">released a fix</a> for an issue I reported to them on December 4th, 2008. A simple repro can be found <a href="http://skypher.com/SkyLined/Repro/MSIE/EMBED%20memory%20corruption/repro3.html">here</a>.<br />
Though I did not investigate the issue, it appears to be similar to <a href="http://skypher.com/wiki/index.php/Www.edup.tudelft.nl/~bjwever/advisory_msie_R6025.html.php">MS05-20</a>: it is triggered by having JavaScript running in one window create and delete EMBED elements with existing mime-types in another window in rapid succession. Because each window is running in its own thread in MSIE, the code must be thread-safe for two windows to interact correctly. This issues appears to be a re-entrancy problem that causes one thread to access data after that data was freed by another thread.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2009/04/19/ms09-014-embed-element-memory-corruption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MSIE screen[&quot;&quot;] NULL ptr DoS details</title>
		<link>http://skypher.com/index.php/2009/01/07/msie-screen-null-ptr-dos-details/</link>
		<comments>http://skypher.com/index.php/2009/01/07/msie-screen-null-ptr-dos-details/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 14:00:09 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[PoC]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[MSIE]]></category>
		<category><![CDATA[NULL ptr]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=101</guid>
		<description><![CDATA[<p>MSIE can be made to crash with a NULL ptr Read AV by executing a very small piece of JavaScript. This affects MSIE 6.0, 7.0 and 8.0 beta2...]]></description>
			<content:encoded><![CDATA[<p>MSIE can be made to crash with a NULL ptr Read AV by executing a very small piece of JavaScript. This affects MSIE 6.0, 7.0 and 8.0 beta2. It should be fixed in 8.0 rc1.</p>
<p>The following HTML triggers the issue:<br />
<CODE><br />
&lt;BODY onload=screen[""]&gt;<br />
&nbsp;<br />
</CODE></p>
<p>I am amazed that a bug that is so simple to trigger has apparently gone unnoticed for years.</p>
<p>Repro <a title="Repro screen[&quot;&quot;]" href="http://skypher.com/SkyLined/Repro/MSIE/MSIE%206.0,7.0,8.0%20-%20AVR%5B0%5D@mshtml!HashStringWordCi+0x1d/repro.html" target="_blank">here</a>.<br />
List of software vulnerabilities <a title="List of software vulnerabilities" href="http://skypher.com/wiki/index.php?title=List_of_software_vulnerabilities" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2009/01/07/msie-screen-null-ptr-dos-details/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Safari arguments integer overflow PoC (CVE-2008-2303)</title>
		<link>http://skypher.com/index.php/2009/01/05/safari-arguments-integer-overflow-poc-cve-2008-2303/</link>
		<comments>http://skypher.com/index.php/2009/01/05/safari-arguments-integer-overflow-poc-cve-2008-2303/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 20:03:12 +0000</pubDate>
		<dc:creator>SkyLined</dc:creator>
				<category><![CDATA[ASCII Art]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[PoC]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[integer overflow]]></category>

		<guid isPermaLink="false">http://skypher.com/?p=91</guid>
		<description><![CDATA[<p>CVE-2008-2303 covers an integer overflow in the handling of indices in the &#8220;arguments&#8221; array in Apple Safari that affects iPhone, iPod and PC (Mac and Windows). It was fixed in Safari 3.2 for iPhone and iPod in July and for PC in November...]]></description>
			<content:encoded><![CDATA[<p>CVE-2008-2303 covers an integer overflow in the handling of indices in the &#8220;arguments&#8221; array in Apple Safari that affects iPhone, iPod and PC (Mac and Windows). It was fixed in Safari 3.2 for iPhone and iPod in July and for PC in November.<br />
More details <a title="Apple website" href="http://support.apple.com/kb/HT3298" target="_blank">here</a>. <br />
Repro <a title="Repro" href="http://skypher.com/SkyLined/Repro/Safari/arguments%5B0x800000000%5D/repro.html">here</a>.</p>
<p>I have also created proof of concept code that shows potential exploitability and demonstrates how to use heap-spraying in Safari. AFAIK this is the first use of heap spraying in Safari, but I may be wrong. Heap spraying in Safari is not that different from other browsers, just backwards <img src='http://skypher.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  The code can be found <a title="Safari arguments array index integer overflow PoC" href="http://skypher.com/SkyLined/Repro/Safari/arguments%5B0x800000000%5D/poc.html" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://skypher.com/index.php/2009/01/05/safari-arguments-integer-overflow-poc-cve-2008-2303/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
