<?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>Recognize-Security &#187; Metasploit</title>
	<atom:link href="http://www.rec-sec.com/category/metasploit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rec-sec.com</link>
	<description>a non-profit information security web site authored by Moshe Ben Abu (Trancer), focusing on vulnerability research, exploit development (mainly for the Metasploit Framework), web application security, information security and hacking news from around the world.</description>
	<lastBuildDate>Sun, 14 Mar 2010 17:44:35 +0000</lastBuildDate>
	<generator>http://www.rec-sec.com</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='www.rec-sec.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
			<item>
		<title>Microsoft Internet Explorer iepeers.dll use-after-free exploit (meta)</title>
		<link>http://www.rec-sec.com/2010/03/10/internet-explorer-iepeers-use-after-free-exploit/</link>
		<comments>http://www.rec-sec.com/2010/03/10/internet-explorer-iepeers-use-after-free-exploit/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 21:22:34 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=1017</guid>
		<description><![CDATA[A new Microsoft Internet Explorer 0day exploit has been found circulating in-the-wild. According to Microsoft, there are  targeted attacks attempting to use this vulnerability. Microsoft published a security advisory for this vulnerability here:
Microsoft Security Advisory (981374): Vulnerability in Internet Explorer Could Allow Remote Code Execution
The vulnerability is a use-after-free (invalid pointer reference) vulnerability within [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Microsoft Internet Explorer" width="50" height="50" class="left" src="images/ie.png" />A new Microsoft Internet Explorer 0day exploit has been found circulating in-the-wild. According to Microsoft, there are  targeted attacks attempting to use this vulnerability. Microsoft published a security advisory for this vulnerability here:<br />
<a href="http://www.microsoft.com/technet/security/advisory/981374.mspx" title="Microsoft Security Advisory (981374): Vulnerability in Internet Explorer Could Allow Remote Code Execution">Microsoft Security Advisory (981374): Vulnerability in Internet Explorer Could Allow Remote Code Execution</a></p>
<p>The vulnerability is a use-after-free (invalid pointer reference) vulnerability within <code>iepeers.dll</code> and only Internet Explorer versions 6 and 7 are vulnerable. Internet Explorer 8 and 5 are not affected.</p>
<p>I&#8217;ve found this exploit in-the-wild on <code>www.topix21century.com</code>. The payload download and executes a binary file which connects back to <code>notes.topix21century.com</code>.<br />
Here&#8217;s the exploit as it was found in-the-wild, a bit un-obfuscated and payload removed &#8211; <a href="exploits/ie_iepeers_wild.txt" title="Download ie_iepeers_wild.txt - Microsoft Internet Explorer iepeers.dll use-after-free">ie_iepeers_wild.txt</a></p>
<p>And here&#8217;s a Metasploit exploit module for this vulnerability.  Tested successfully on the following platforms:<br />
 &#8211; Microsoft Internet Explorer 7, Windows Vista SP2<br />
 &#8211; Microsoft Internet Explorer 7, Windows XP SP3<br />
 &#8211; Microsoft Internet Explorer 6, Windows XP SP3</p>
<p>Download <a href="exploits/msf/ie_iepeers_pointer.rb" title="Download ie_iepeers_pointer.rb - Microsoft Internet Explorer iepeers.dll use-after-free">ie_iepeers_pointer.rb</a>.<br />
Also on <a href="http://www.metasploit.com/modules/exploit/windows/browser/ie_iepeers_pointer" title="Metasploit Penetration Testing Framework - Internet Explorer iepeers.dll Use After Free">Metasploit</a>.</p>
<p>As usual, this post will update with further references and updates when available.<br />
Happy exploitation :-) </p>
<p><strong>&gt;&gt;</strong> References:<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0806" title="CVE-2010-0806"><abbr title="Common Vulnerabilities and Exposures">CVE</abbr>-2010-0806</a><br />
<a href="http://osvdb.org/show/osvdb/62810" title="62810: Microsoft IE iepeers.dll Use-After-Free Arbitrary Code Execution"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 62810</a><br />
<a href="http://www.securityfocus.com/bid/38615" title="Microsoft Internet Explorer 'iepeers.dll' Remote Code Execution Vulnerability"><abbr title="Bugtraq ID">BID</abbr> 38615</a><br />
<a href="http://www.avertlabs.com/research/blog/index.php/2010/03/09/targeted-internet-explorer-0day-attack-announced-cve-2010-0806/" title="Computer Security Research - McAfee Labs Blog">McAfee Labs Blog &#8211; Targeted Internet Explorer Zero-Day Attack Announced (CVE-2010-0806)</a><br />
<a href="http://www.symantec.com/connect/blogs/zero-day-attack-ie6-jssykipot-doesn-t-spare-retired-software" title="Zero-Day attack on IE6 - JS.Sykipot Doesn't Spare Retired Software - Symantec Connect">Symantec Connect &#8211; Zero-Day attack on IE6 &#8211; JS.Sykipot Doesn&#8217;t Spare Retired Software</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2010/03/10/internet-explorer-iepeers-use-after-free-exploit/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
		<item>
		<title>South River Technologies WebDrive Service Bad Security Descriptor Local Privilege Escalation exploit (meta)</title>
		<link>http://www.rec-sec.com/2010/01/26/srt-webdrive-privilege-escalation/</link>
		<comments>http://www.rec-sec.com/2010/01/26/srt-webdrive-privilege-escalation/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 07:54:26 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=808</guid>
		<description><![CDATA[Here&#8217;s a local privilege escalation exploit I wrote, as a Metasploit Meterpreter script, for the South River Technologies WebDrive Service Bad Security Descriptor vulnerability. 
This vulnerability was discovered by bellick of the Nine:Situations:Group and the original advisory can be found on the Nine:Situations:Group web site &#8211; South River Technologies WebDrive Service Bad Security Descriptor Local [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="South River Technologies" width="195" height="52" class="right" src="images/south-river-technologies.png" />Here&#8217;s a local privilege escalation exploit I wrote, as a Metasploit Meterpreter script, for the <a href="http://www.webdrive.com/" title="Managed File Transfer, Document Collaboration Software, Secure FTP">South River Technologies WebDrive</a> Service Bad Security Descriptor vulnerability. </p>
<p>This vulnerability was discovered by bellick of the <a href="http://retrogod.altervista.org/" title="rgod web pages">Nine:Situations:Group</a> and the original advisory can be found on the Nine:Situations:Group web site &#8211; <a href="http://retrogod.altervista.org/9sg_south_river_priv.html" title="South River Technologies WebDrive Service Bad Security Descriptor Local Elevation Of Privileges">South River Technologies WebDrive Service Bad Security Descriptor Local Elevation Of Privileges</a>.<br />
As you can understand from the advisory, local elevation of privileges is possible due to bad (empty actually) <a href="http://msdn.microsoft.com/en-us/library/ms685981(VS.85).aspx" title="MSDN - Service Security and Access Rights (Windows)">security descriptor</a> of the South River Technologies WebDrive service.</p>
<p>This exploit was inspired by <a href="http://www.metasploit.com/users/mc/" title="Metasploit - Mario Ceballos"><abbr title="Mario Ceballos">MC</abbr></a>&#8217;s <a href="http://www.metasploit.com/redmine/projects/framework/repository/entry/scripts/meterpreter/pml_driver_config.rb" title="Metasploit Framework - /scripts/meterpreter/pml_driver_config.rb - Metasploit Redmine Interface"><abbr title="Hewlett-Packard">HP</abbr> PML Driver HPZ12 privilege escalation exploit</a>.<br />
In this exploit I&#8217;ve also added a mitigation option, which will set correct service security descriptor configuration for <abbr title="South River Technologie">SRT</abbr> WebDrive. Note that the vulnerability is still unpatched, exploit tested on the latest version of <abbr title="South River Technologie">SRT</abbr> WebDrive.</p>
<p>The exploit was successfully tested on the following platforms:<br />
 &#8211; South River Technologies WebDrive 9.02 build 2232 on Microsoft Windows XP SP3.</p>
<p>Download <a href="exploits/msf/srt_webdrive_priv.rb" title="Download srt_webdrive_priv.rb - South River Technologies WebDrive Service Bad Security Descriptor Local Privilege Escalation">srt_webdrive_priv.rb</a>.<br />
Also on <a href="http://www.metasploit.com/redmine/projects/framework/repository/entry/scripts/meterpreter/srt_webdrive_priv.rb" title="Metasploit Framework - /scripts/meterpreter/srt_webdrive_priv.rb - Metasploit Redmine Interface">Metasploit</a> and <a href="http://www.exploit-db.com/exploits/11264" title="South River Technologies WebDrive Service Bad Security Descriptor Local Privilege Escalation">exploit-db</a>.</p>
<p>References:<br />
<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4606" title="CVE-2009-4606"><abbr title="Common Vulnerabilities and Exposures">CVE</abbr>-2009-4606</a><br />
<a href="http://osvdb.org/show/osvdb/59080" title="59080: WebDrive Security Descriptor binPath Configuration Manipulation Local Privilege Escalation"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 59080</a><br />
<a href="http://www.securityfocus.com/bid/37955" title="South River Technologies WebDrive Security Descriptor Local Privilege Escalation Vulnerability"><abbr title="Bugtraq ID">BID</abbr> 37955</a><br />
<a href="http://www.exploit-db.com/exploits/9970" title="South River Technologies WebDrive Service Privilege Escalation">exploit-db 9970</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2010/01/26/srt-webdrive-privilege-escalation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AOL 9.5 Phobos.Playlist Import() Stack-based Buffer Overflow exploit (meta)</title>
		<link>http://www.rec-sec.com/2010/01/25/aol-playlist-class-buffer-overflow/</link>
		<comments>http://www.rec-sec.com/2010/01/25/aol-playlist-class-buffer-overflow/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 16:00:05 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=971</guid>
		<description><![CDATA[Wrote a new Metaspoit exploit module for the AOL 9.5 Phobos.Playlist ActiveX control Import() stack-based buffer overflow vulnerability.
This module exploits a stack-based buffer overflow within Phobos.dll of AOL 9.5. By setting an overly long value to &#8216;Import()&#8217;, an attacker can overrun a buffer and execute arbitrary code.
This vulnerability was found by Hellcode Research and was [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="AOL" width="128" height="64" class="right" src="images/aol.png" />Wrote a new Metaspoit exploit module for the <a href="http://www.aol.com/" title="AOL.com">AOL</a> 9.5 Phobos.Playlist ActiveX control Import() stack-based buffer overflow vulnerability.</p>
<p>This module exploits a stack-based buffer overflow within Phobos.dll of AOL 9.5. By setting an overly long value to &#8216;Import()&#8217;, an attacker can overrun a buffer and execute arbitrary code.</p>
<p>This vulnerability was found by <a href="http://www.hellcode.net/" title="The Computer Cheats - TCC ::: Hellcode Labs">Hellcode Research</a> and was published recently by Dz_attacker. Still no patch from AOL, if you want to test it you can get the vulnerable package from the <a href="http://daol.aol.com/software/95/" title="AOL 9.5 - Discover AOL">AOL 9.5</a> page.</p>
<p>The exploit was successfully tested on the following platforms:<br />
 &#8211; AOL 9.5 (Revision 4337.155) on Internet Explorer 7, Windows XP SP3</p>
<p>Phobos.dll version tested:<br />
 &#8211; File Version: 9.5.0.1<br />
 &#8211; ClassID: A105BD70-BF56-4D10-BC91-41C88321F47C<br />
 &#8211; RegKey Safe for Script: False<br />
 &#8211; RegKey Safe for Init: False<br />
 &#8211; Implements IObjectSafety: False<br />
 &#8211; KillBitSet: False</p>
<p>Due to the <a href="http://msdn.microsoft.com/en-us/library/aa751977(VS.85).aspx" title="MSDN - Safe Initialization and Scripting for ActiveX Controls"><em>safe for initialization</em> and <em>safe for scripting</em></a> settings of this ActiveX control, exploitation is possible only from Local Machine Zone, which means the victim must run the generated exploit file locally.</p>
<p>Download <a href="exploits/msf/aol_phobos_bof.rb" title="Download aol_phobos_bof.rb - AOL 9.5 Phobos.Playlist Import() Stack-based Buffer Overflow">aol_phobos_bof.rb</a>.<br />
Also on <a href="http://www.metasploit.com/modules/exploit/windows/fileformat/aol_phobos_bof" title="Metasploit Penetration Testing Framework - Module Browser - AOL 9.5 Phobos.Playlist Import() Stack-based Buffer Overflow">Metasploit</a> and <a href="http://www.exploit-db.com/exploits/11257" title="AOL 9.5 Phobos.Playlist 'Import()' Buffer Overflow Exploit (Meta)">exploit-db</a>.</p>
<p>References:<br />
<a href="http://osvdb.org/show/osvdb/61964" title="61964: AOL Phobos.Playlist (Phobos.dll) ActiveX Import() Function Overflow"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 61964</a><br />
<a href="http://www.exploit-db.com/exploits/11204" title="AOL 9.5 ActiveX 0day Exploit (heap spray)">exploit-db 11204</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2010/01/25/aol-playlist-class-buffer-overflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Metasploit Unleashed &#8211; Mastering the Framework</title>
		<link>http://www.rec-sec.com/2009/12/17/metasploit-unleashed/</link>
		<comments>http://www.rec-sec.com/2009/12/17/metasploit-unleashed/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 15:35:38 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploitation]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=904</guid>
		<description><![CDATA[Hello everyone,
I&#8217;d like to recommend a new and free online course brought to you by the great guys at Offensive Security, the creators of BackTrack Linux distribution.
Metasploit Unleashed &#8211; Mastering the Framework online course will give you a solid knowledge base to start working with the Metasploit Framework, from simple things such as lunching an [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Metasploit Unleashed - Mastering the Framework" width="425" height="219" class="right" src="images/metasploit-unleashed.png" />Hello everyone,<br />
I&#8217;d like to recommend a new and free online course brought to you by the great guys at <a href="http://www.offensive-security.com/" title="Online Security Training from the Creators of BackTrack">Offensive Security</a>, the creators of BackTrack Linux distribution.</p>
<p><a href="http://www.offensive-security.com/metasploit-unleashed/" title="Metasploit Unleashed - Mastering the Framework">Metasploit Unleashed &#8211; Mastering the Framework</a> online course will give you a solid knowledge base to start working with the Metasploit Framework, from simple things such as lunching an exploit to post exploitation, Meterpreter scripting and more.</p>
<p>But the greatest thing about this course is its main purpose, which is to promote awareness and raise funds for underprivileged children in East Africa. So if you enjoy the course and find it useful, please make a donation to <a href="http://www.hackersforcharity.org/" title="IHS | Home of Johnny Long and Hackers for Charity, Inc">Hackers For Charity</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/12/17/metasploit-unleashed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Metasploit Framework 3.3 released</title>
		<link>http://www.rec-sec.com/2009/11/18/metasploit-framework-3-3/</link>
		<comments>http://www.rec-sec.com/2009/11/18/metasploit-framework-3-3/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 17:26:59 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Metasploit]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=873</guid>
		<description><![CDATA[The guys at Rapid7 and the Metasploit team announced the release of version 3.3 of the framework. The new version ships with tons of improvments, bug fixes, new featues, exploits and auxilary modules. I really recommend it. For the complete list of changes read the announcment post by HD Moore &#8211; Metasploit Framework 3.3 released!
You [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="the Metasploit Framework" width="217" height="261" class="right" src="images/metasploit.png" />The guys at Rapid7 and the Metasploit team announced the release of version 3.3 of the framework. The new version ships with tons of improvments, bug fixes, new featues, exploits and auxilary modules. I really recommend it. For the complete list of changes read the announcment post by HD Moore &#8211; <a href="http://blog.metasploit.com/2009/11/metasploit-framework-33-released.html" title="Metasploit: Metasploit Framework 3.3  Released!">Metasploit Framework 3.3 released!</a><br />
You can download the new version on <a href="http://www.metasploit.com/" title="The Metasploit Project">Metasploit website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/11/18/metasploit-framework-3-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rapid7 Acquires the Metasploit Project</title>
		<link>http://www.rec-sec.com/2009/11/01/rapid7-acquires-metasploit/</link>
		<comments>http://www.rec-sec.com/2009/11/01/rapid7-acquires-metasploit/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 05:16:55 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Metasploit]]></category>
		<category><![CDATA[Security News]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=833</guid>
		<description><![CDATA[Hello readers. If you didn&#8217;t heard about it already, on October 21st, 2009, the hackers favorite exploitation framework &#8211; the Metasploit Project was acquired by Rapid7, a vulnerability management, compliance, and penetration testing company. Yep, a commercial company.
The Metasploit Project creator, HD Moore, and one of the developers, Egypt, now got a full time job [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Rapid7 and Metasploit" width="301" height="113" class="right" src="images/rapid7_metasploit.png" />Hello readers. If you didn&#8217;t heard about it already, on October 21st, 2009, the hackers favorite exploitation framework &#8211; <a href="http://www.metasploit.com/" title="The Metasploit Project">the Metasploit Project</a> was acquired by <a href="http://www.rapid7.com/" title="Rapid7">Rapid7</a>, a vulnerability management, compliance, and penetration testing company. Yep, a commercial company.</p>
<p>The Metasploit Project creator, HD Moore, and one of the developers, Egypt, now got a full time job working on and developing the Metasploit Project. HD in the position of Chief Architect of Metasploit and Egypt as a core developer of Metasploit at Rapid7. </p>
<p>If you read this blog often you probably noticed that I&#8217;m a big supporter of the Metasploit Project. I use it on a daily basis, preforming penetration tests and exploit development while at work or at home for fun. As you may guess, my feelings about the acquisition are mixed. On one side this is a good thing, this is a big step for the Metasploit Project. Now it&#8217;ll grow and develop faster and rapidly and us, the users, will get a better, faster, more advanced and less buggy program, and I believe we&#8217;ll start seeing faster release cycles. But on the other side, now the Metasploit Project which was a free, open source, community driven project, is managed by a commercial company. I think the worst case scenario will be if Rapid7 decide to make Metasploit a commercial product, which will be a sad thing. This won&#8217;t be the first time it&#8217;ll happen to a good security product. The best example here is the <a href="http://www.nessus.org/" title="Tenable Network Security">Nessus vulnerability scanner</a> which was acquired by Tenable Network Security back in 2005.</p>
<p>I hope the fate of the Metasploit Project won&#8217;t be the same as Nessus. HD Moore stated on the Metasploit blog that the project will remain free and open source. So, if that&#8217;s the case and long as the Metasploit Project will stay that way I think the users should be happy about it. I will continue to support the Metasploit Project and develop exploits and other modules for it and contribute in every way I can.<br />
I guess all there&#8217;s left to say is congratulations to HD Moore and Egypt for the acquisition, keep on rocking. </p>
<p>References:<br />
<strong>&gt;&gt;</strong> <a href="http://blog.metasploit.com/2009/10/metasploit-rising.html" title="Metasploit: Metasploit Rising">Metasploit Rising</a> &#8211; HD Moore write about the acquisition on the Metasploit blog.<br />
<strong>&gt;&gt;</strong> <a href="http://www.rapid7.com/metasploit-announcement.jsp" title="Metasploit Acquisition FAQ | Rapid7">Rapid7 Acquires Metasploit</a> &#8211; The Metasploit acquisition by Rapid7 <abbr title="Chief Executive Officer">CEO</abbr>.<br />
<strong>&gt;&gt;</strong> <a href="http://www.metasploit.com/home/faq" title="The Metasploit Project - Rapid7 Acquisition FAQ">Rapid7 Acquisition <abbr title="Frequently Asked Questions">FAQ</abbr></a> &#8211; Questions and answers about the acquisition.<br />
<strong>&gt;&gt;</strong> <a href="http://blogs.zdnet.com/security/?p=4708" title="Metasploit + Rapid7 shakes up pen-test landscape | Zero Day | ZDNet.com">Metasploit + Rapid7 shakes up pen-test landscape</a> &#8211; Ryan Naraine write about the penetration testing market changes followed by the acquisition.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/11/01/rapid7-acquires-metasploit/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HTTPDX h_handlepeer() Function Buffer Overflow exploit (meta)</title>
		<link>http://www.rec-sec.com/2009/10/16/httpdx-buffer-overflow-exploit/</link>
		<comments>http://www.rec-sec.com/2009/10/16/httpdx-buffer-overflow-exploit/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 14:08:28 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=776</guid>
		<description><![CDATA[Hello readers, I wrote a new Metaspoit exploit module for the HTTPDX h_handlepeer() function stack-based buffer overflow vulnerability.
The vulnerability was found in HTTPDX HTTP/FTP server version 1.4 by Pankaj Kohli and the original exploit can be found on his website &#8211; httpdx 1.4 GET Request Remote Buffer Overflow Exploit (0day).
This module exploits a stack-based buffer [...]]]></description>
			<content:encoded><![CDATA[<p>Hello readers, I wrote a new Metaspoit exploit module for the <a href="http://httpdx.sourceforge.net/" title="HTTPDX - Ultralight HTTP/FTP Server">HTTPDX</a> <em>h_handlepeer()</em> function stack-based buffer overflow vulnerability.</p>
<p>The vulnerability was found in HTTPDX <abbr title="Hypertext Transfer Protocol">HTTP</abbr>/<abbr title="File Transfer Protocol">FTP</abbr> server version 1.4 by <a href="http://www.pank4j.com/" title="Pankaj Kohli - Homepage">Pankaj Kohli</a> and the original exploit can be found on his website &#8211; <a href="http://www.pank4j.com/exploits/httpdxb0f.php" title="httpdx 1.4 GET Request Remote Buffer Overflow Exploit (0day)">httpdx 1.4 GET Request Remote Buffer Overflow Exploit (0day)</a>.</p>
<p>This module exploits a stack-based buffer overflow vulnerability in HTTPDX <abbr title="Hypertext Transfer Protocol">HTTP</abbr> server 1.4. The vulnerability is caused due to a boundary error within the &#8220;h_handlepeer()&#8221; function in http.cpp. By sending an overly long <abbr title="Hypertext Transfer Protocol">HTTP</abbr> request, an attacker can overrun a buffer and execute arbitrary code.</p>
<p>Download <a href="exploits/msf/httpdx_handlepeer.rb" title="Download httpdx_handlepeer.rb - HTTPDX h_handlepeer() Function Buffer Overflow">httpdx_handlepeer.rb</a>.<br />
Also on <a href="http://www.metasploit.com/modules/exploit/windows/http/httpdx_handlepeer" title="The Metasploit Framework - Module Browser - HTTPDX h_handlepeer() Function Buffer Overflow">Metasploit</a>.</p>
<p>References:<br />
<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3711" title="CVE-2009-3711"><abbr title="Common Vulnerabilities and Exposures">CVE</abbr>-2009-3711</a><br />
<a href="http://osvdb.org/show/osvdb/58714" title="58714: httpdx http.cpp h_handlepeer() Function Overflow"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 58714</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/10/16/httpdx-buffer-overflow-exploit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AwingSoft Web3D Player SceneURL() Buffer Overflow exploit (meta)</title>
		<link>http://www.rec-sec.com/2009/07/28/awingsoft-web3d-buffer-overflow/</link>
		<comments>http://www.rec-sec.com/2009/07/28/awingsoft-web3d-buffer-overflow/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 05:45:11 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=735</guid>
		<description><![CDATA[Here&#8217;s a new Metaspoit exploit module I wrote for the AwingSoft Web3D Player SceneURL() stack-based buffer overflow vulnerability.
This module exploits a stack-based buffer overflow within Winds3D Viewer of AwingSoft Awakening 3.0 (WindsPly.ocx v3.5.0.0). This ActiveX is a plugin of AwingSoft Web3D Player. By setting an overly long value to &#8216;SceneURL()&#8217;, an attacker can overrun a [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="AwingSoft" width="320" height="80" class="right" src="images/awingsoft.png" />Here&#8217;s a new Metaspoit exploit module I wrote for the <a href="http://www.awingsoft.com/" title="Awakening - Realtime 3D Movie Creator">AwingSoft</a> Web3D Player SceneURL() stack-based buffer overflow vulnerability.</p>
<p>This module exploits a stack-based buffer overflow within Winds3D Viewer of AwingSoft Awakening 3.0 (WindsPly.ocx v3.5.0.0). This ActiveX is a plugin of AwingSoft Web3D Player. By setting an overly long value to &#8216;SceneURL()&#8217;, an attacker can overrun a buffer and execute arbitrary code.</p>
<p>This vulnerability was found by shinnai and was published recently on <a href="http://www.milw0rm.com/exploits/9116" title="AwingSoft Web3D Player (WindsPly.ocx) Remote BOF PoC">milw0rm</a> and <a href="http://www.shinnai.net/xplits/TXT_nsGUdeley3EHfKEV690p.html" title="AwingSoft Web3D Player (WindsPly.ocx) 'SceneURL()' Remote Buffer Overflow">shinnai</a> web site.</p>
<p>Download <a href="exploits/msf/awingsoft_web3d_bof.rb" title="Download awingsoft_web3d_bof.rb - AwingSoft Web3D Player SceneURL() Buffer Overflow">awingsoft_web3d_bof.rb</a>.<br />
Also on <a href="http://www.metasploit.com/modules/exploit/windows/browser/awingsoft_web3d_bof" title="The Metasploit Framework - Module Browser - AwingSoft Web3D Player SceneURL() Buffer Overflow">Metasploit</a>.</p>
<p>References:<br />
<a href="http://osvdb.org/show/osvdb/60017" title="60017: AwingSoft Web3D Player WindsPlayerIE.View.1 ActiveX (WindsPly.ocx) SceneURL() Method Overflow"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 60017</a></p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/07/28/awingsoft-web3d-buffer-overflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft DirectShow (msvidctl.dll) MPEG-2 Memory Corruption exploit (meta)</title>
		<link>http://www.rec-sec.com/2009/07/06/ms-directshow-msvidctl-exploit/</link>
		<comments>http://www.rec-sec.com/2009/07/06/ms-directshow-msvidctl-exploit/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 13:37:58 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=702</guid>
		<description><![CDATA[The CSIS Security Group found (credit correction &#8211; see the update below) a 0day exploit in-the-wild that exploit a vulnerability within Microsoft DirectShow (msvidctl.dll) in the way it handles MPEG-2 files.
The exploit found is used to preform drive-by attacks via compromised Chinese web sites.
Original exploit (as it is in-the-wild) can be found here (shellcode changed [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Microsoft Corporation" width="222" height="59" class="left" src="images/microsoft.png" />The <a href="http://www.csis.dk/" title="CSIS Security Group">CSIS Security Group</a> <a href="http://www.csis.dk/dk/nyheder/nyheder.asp?tekstID=799" title="CSIS Security Group - 0-dags drive-by i praksis"><del datetime="2009-07-06T18:08:51+00:00">found</del></a> (credit correction &#8211; see the update below) a 0day exploit in-the-wild that exploit a vulnerability within Microsoft DirectShow (msvidctl.dll) in the way it handles MPEG-2 files.<br />
The exploit found is used to preform drive-by attacks via compromised Chinese web sites.<br />
Original exploit (as it is in-the-wild) can be found here (shellcode changed to execute calc.exe) &#8211; <a href="http://www.rec-sec.com/exploits/aa.rar" title="Microsoft DirectShow (msvidctl.dll) MPEG-2 Memory Corruption exploit">aa.rar</a>.<br />
You can read the translated post <a href="http://translate.google.com/translate?hl=en&#038;sl=da&#038;tl=en&#038;u=http://www.csis.dk/dk/nyheder/nyheder.asp%3FtekstID%3D799" title="CSIS Security Group">here</a> or read this post from <a href="http://isc.sans.org/diary.html?storyid=6733" title="0-day in Microsoft DirectShow (msvidctl.dll) used in drive-by attacks"><abbr title="Internet Storm Center">ISC</abbr> diary</a>.</p>
<p>Here&#8217;s a Metasploit exploit module I wrote that exploit this vulnerability.<br />
Tested successfully on the following platforms (fully patched 06/07/09):<br />
 &#8211; Internet Explorer 6, Windows XP SP2<br />
 &#8211; Internet Explorer 7, Windows XP SP3</p>
<p>Download <a href="exploits/msf/msvidctl_mpeg2.rb" title="Download msvidctl_mpeg2.rb - Microsoft DirectShow (msvidctl.dll) MPEG-2 Memory Corruption exploit for Metasploit">msvidctl_mpeg2.rb</a>.<br />
Also on <a href="http://www.metasploit.com/modules/exploit/windows/browser/msvidctl_mpeg2" title="The Metasploit Framework - Module Browser - Microsoft DirectShow (msvidctl.dll) MPEG-2 Memory Corruption">Metasploit</a>.</p>
<p>Also, if you want to test this vulnerability manually, here&#8217;s a little Ruby script I wrote that build GIF files to trigger the vulnerability:<br />
Download <a href="code/msvidctl_gif.rb" title="Download msvidctl_gif.rb - Microsoft DirectShow (msvidctl.dll) MPEG-2 Memory Corruption GIF generator">msvidctl_gif.rb</a>.</p>
<p>This is the second exploit found in-the-wild in the past month that exploit a vulnerability in Microsoft DirectShow. In June, an exploit was found in-the-wild that exploit a vulnerability in DirectShow QuickTime Movie Parser Filter (quartz.dll). Liam O Murchu of Symantec wrote an analysis for this exploit here:<br />
<a href="http://www.symantec.com/connect/blogs/directshow-exploit-wild" title="DirectShow Exploit In the Wild | Symantec Connect">DirectShow Exploit In the Wild</a><br />
<a href="http://www.symantec.com/connect/blogs/directshow-exploit-wild-part-ii" title="DirectShow Exploit In the Wild, Part II | Symantec Connect">DirectShow Exploit In the Wild, Part II</a></p>
<p>This post will update with additional updates about this vulnerability.</p>
<p><strong>Updates:</strong></p>
<p><strong>&gt;&gt;</strong> It seems that CSIS Security Group wasn&#8217;t the first to discover this exploit in-the-wild, KingSoft from China was the first to spot this exploit &#8211; KingSoft <a href="http://blog.duba.net/" title="Kingsoft Blog">blog</a> (<a href="http://translate.google.com/translate?prev=hp&#038;hl=en&#038;js=n&#038;u=http://blog.duba.net/&#038;sl=zh-CN&#038;tl=en" title="Kingsoft Blog">translated</a>).<br />
Thank to Carsten Eiram for pointing it out.</p>
<p><strong>&gt;&gt;</strong> References:<br />
<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0015" title="CVE-2008-0015"><abbr title="Common Vulnerabilities and Exposures">CVE</abbr>-2008-0015</a><br />
<a href="http://osvdb.org/show/osvdb/55651" title="55651: Microsoft DirectShow Video Streaming ActiveX (msvidctl.dll) IMPEG2TuneRequest DirectX Object Interface Overflow"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 55651</a><br />
<a href="http://www.securityfocus.com/bid/35558" title="Microsoft Windows 'BDATuner.MPEG2TuneRequest.1' Object Remote Code Execution Vulnerability"><abbr title="Bugtraq ID">BID</abbr> 35558</a><br />
<a href="http://www.microsoft.com/technet/security/advisory/972890.mspx" title="Microsoft Security Advisory (972890): Vulnerability in Microsoft Video ActiveX Control Could Allow Remote Code Execution">Microsoft Security Advisory (972890)</a><br />
<a href="http://secunia.com/advisories/35683/" title="Microsoft DirectShow MPEG2TuneRequest ActiveX Control Buffer Overflow - Secunia Advisories - Vulnerability Information - Secunia.com"><abbr title="Secunia Advisory">SA</abbr>35683</a></p>
<p><strong>&gt;&gt;</strong> Blog posts and news:<br />
<a href="http://blogs.technet.com/srd/archive/2009/07/06/new-vulnerability-in-mpeg2tunerequest-activex-control-object-in-msvidctl-dll.aspx" title="Security Research &#038; Defense : New vulnerability in MPEG2TuneRequest ActiveX Control Object in msvidctl.dll">Microsoft Security Research &#038; Defense blog</a><br />
<a href="http://blogs.zdnet.com/security/?p=3703" title="IE users beware: Zero-day attacks hit Microsoft Video ActiveX Control | Zero Day | ZDNet.com">ZDNet Zero Day blog</a><br />
<a href="http://www.symantec.com/connect/blogs/another-unpatched-vulnerability-being-massively-exploited-internet-explorer" title="Another Unpatched Vulnerability is Being Massively Exploited via Internet Explorer | Symantec Connect">Symantec Connect blog</a></p>
<p><strong>&gt;&gt;</strong> SANS <abbr title="Internet Storm Center">ISC</abbr> Handler&#8217;s Diary have posted a blog post that will update frequently with list of domains that is actively exploiting this vulnerability. Note that the vast majority of the domains is up for only a short period of time &#8211; <a href="http://isc.sans.org/diary.html?storyid=6739" title="IE 0day exploit domains (constantly updated)"><abbr title="Internet Explorer">IE</abbr> 0day exploit domains (updating)</a>.</p>
<p><strong>&gt;&gt;</strong> As the <abbr title="Common Vulnerabilities and Exposures">CVE</abbr> number implies (early 2008), it turns out that Microsoft was aware of this vulnerability for a long time. In the <a href="http://www.microsoft.com/technet/security/advisory/972890.mspx" title="Microsoft Security Advisory (972890): Vulnerability in Microsoft Video ActiveX Control Could Allow Remote Code Execution">security advisory</a>, Microsoft thanks Ryan Smith and Alex Wheeler of <a href="http://www.hustlelabs.com/" title="Ryan Smith (Hustle Labs)">Hustle Labs</a> of <a href="http://www.iss.net/" title="Internet Security Systems | Leading Intrusion Prevention IPS Solutions"><abbr title="Internet Security Systems">ISS</abbr> X-Force</a> for initially reporting this vulnerability. Well, I guess that&#8217;s what happens when you wait too long to patch a vulnerability, eventually someone else will discover it and wont chose the path of responsible disclosure.</p>
<p><strong>&gt;&gt;</strong> Guido Landi details the vulnerability in his blog &#8211; <a href="http://www.pornosecurity.org/blog/MPEG2TuneRequest-0-day" title="PornoSecurity">PornoSecurity</a>.</p>
<p><strong>&gt;&gt;</strong> In their security advisory, Microsoft recommends setting the kill bit for 44 classid&#8217;s. With some of them it is possible to reproduce the bug. Check out I)ruid&#8217;s update for the <a href="http://trac.metasploit.com/changeset/6755" title="Changeset 6755 ? Metasploit">Metasploit exploit</a>.</p>
<p><strong>&gt;&gt;</strong> Microsoft Video ActiveX control 0day technical details blog post by <a href="http://dvlabs.tippingpoint.com/blog/2009/07/09/microsoft-video-activex-control-0day-technical-details" title="TippingPoint | DVLabs | Microsoft Video ActiveX Control 0day Technical Details">TippingPoint DVLabs</a>.</p>
<p><strong>&gt;&gt;</strong> Interesting post regarding this vulnerability by Halvar Flake &#8211; <a href="http://addxorrol.blogspot.com/2009/07/poking-around-msvidctldll.html" title="ADD / XOR / ROL: Poking around MSVIDCTL.DLL">Poking around MSVIDCTL.DLL</a>.</p>
<p><strong>&gt;&gt;</strong> Microsoft fix the msvidctl.dll memory corruption vulnerability in <a href="http://www.microsoft.com/technet/security/Bulletin/MS09-032.mspx" title="Microsoft Security Bulletin MS09-032 - Critical: Cumulative Security Update of ActiveX Kill Bits (973346)">MS09-032</a>. The &#8220;patch&#8221; does NOT fix the vulnerability, only setting a kill bit to all the vulnerable Video ActiveX controls.</p>
<p><strong>&gt;&gt;</strong> Microsoft fix the source of the msvidctl.dll memory corruption vulnerability in <a href="http://www.microsoft.com/technet/security/Bulletin/MS09-037.mspx" title="Microsoft Security Bulletin MS09-037 - Critical: Vulnerabilities in Microsoft Active Template Library (ATL) Could Allow Remote Code Execution (973908)">MS09-037</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/07/06/ms-directshow-msvidctl-exploit/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Green Dam URL Processing Buffer Overflow exploit (meta)</title>
		<link>http://www.rec-sec.com/2009/06/16/green-dam-url-overflow-exploit/</link>
		<comments>http://www.rec-sec.com/2009/06/16/green-dam-url-overflow-exploit/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 17:34:24 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=678</guid>
		<description><![CDATA[As of June 1st, the Chinese government demands every personal computer in China to install or be sold with Green Dam Youth Escort Censorware program. Three security researchers &#8211; Scott Wolchok, Randy Yao, and J. Alex Halderman from University of Michigan have released an analysis of the Green Dam Censorware system, disclosing multiple vulnerabilities and [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Green Dam Youth Escort" width="250" height="189" class="right" src="images/green_dam_youth_escort.png" />As of June 1st, the Chinese government demands every personal computer in China to install or be sold with <a href="http://en.wikipedia.org/wiki/Green_Dam_Youth_Escort" title="Green Dam Youth Escort - Wikipedia, the free encyclopedia">Green Dam Youth Escort</a> Censorware program. Three security researchers &#8211; Scott Wolchok, Randy Yao, and J. Alex Halderman from University of Michigan have released an <a href="http://www.cse.umich.edu/~jhalderm/pub/gd/" title="Analysis of the Green Dam Censorware System">analysis of the Green Dam Censorware system</a>, disclosing multiple vulnerabilities and weaknesses in it. You can read the whole story in the <a href="http://blogs.zdnet.com/security/?p=3606" title="China confirms security flaws in Green Dam, rushes to release a patch | Zero Day | ZDNet.com">ZDNet Zero Day blog</a>.<br />
The vendor, <a href="http://www.lssw365.net/index.php/List/index/pid/2">Jinhui Computer System Engineering Ltd.</a>, already patched the vulnerabilities but you can still find vulnerable installations with Google if you want to test it.</p>
<p>One of the vulnerabilities disclosed in the security analysis is a remotely exploitable stack-based buffer overflow vulnerability in the way Green Dam process overly long URLs (<a href="http://osvdb.org/show/osvdb/55126" title="55126: Green Dam URL Handling Overflow"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 55126</a>). seer[N.N.U] posted a simple exploit for this vulnerability on <a href="http://www.milw0rm.com/exploits/8938" title="Green Dam 3.17 (URL) Remote Buffer Overflow Exploit (xp/sp2)">milw0rm</a>.<br />
And here, I wrote a Metasploit exploit module for Internet Explorer which exploits this stack-based buffer overflow vulnerability in Green Dam 3.17. This module uses the <a href="http://taossa.com/archive/bh08sotirovdowd.pdf" title="Bypassing Browser Memory Protections">.NET DLL memory technique</a> by Alexander Sotirov and Mark Dowd and should bypass <abbr title="Data Execution Prevention">DEP</abbr>, <abbr title="No eXecute">NX</abbr> and <abbr title="Address Space Layout Randomization">ASLR</abbr>.<br />
I&#8217;ve tested this exploit successfully on the following platforms:<br />
 &#8211; Internet Explorer 6, Windows XP SP2<br />
 &#8211; Internet Explorer 7, Windows XP SP3<br />
 &#8211; Internet Explorer 7, Windows Vista SP1</p>
<p>Download <a href="exploits/msf/greendam_url.rb" title="Download greendam_url.rb - Green Dam URL Processing Buffer Overflow exploit for Metasploit">greendam_url.rb</a>.<br />
Also on <a href="http://www.metasploit.com/modules/exploit/windows/browser/greendam_url" title="The Metasploit Framework - Module Browser - Green Dam URL Processing Buffer Overflow">Metasploit</a> and <a href="http://www.milw0rm.com/exploits/8969" title="Green Dam 3.17 URL Processing Buffer Overflow Exploit (meta)">milw0rm</a>.</p>
<p>References:<br />
<a href="http://osvdb.org/show/osvdb/55126" title="55126: Green Dam URL Handling Overflow"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 55126</a></p>
<p>According to the latest <a href="http://www.microsoft.com/security/portal/sir.aspx" title="Microsoft Malware Protection Center - Security Intelligence Report">Microsoft Security Intelligence Report</a>, China is the world leading country in Malware distribution so I guess they deserve some pwning :P </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/06/16/green-dam-url-overflow-exploit/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Java Compilation mixin for Metasploit</title>
		<link>http://www.rec-sec.com/2009/06/03/java-compile-mixin/</link>
		<comments>http://www.rec-sec.com/2009/06/03/java-compile-mixin/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 09:03:28 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=599</guid>
		<description><![CDATA[Here&#8217;s a new shiny mixin I wrote for the Metasploit framework &#8211; the Java Compilation mixin.
The purpose of this mixin is to bring the power of Metasploit and use it for writing and compiling Java code on-the-fly.
The mixin main usage is to write, compile and embed Java code (Java applets) in HTML pages, mainly for [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Java" width="82" height="132" class="left" src="images/java_logo.png" />Here&#8217;s a new shiny mixin I wrote for the Metasploit framework &#8211; the <strong>Java Compilation mixin</strong>.<br />
The purpose of this mixin is to bring the power of Metasploit and use it for writing and compiling Java code on-the-fly.<br />
The mixin main usage is to write, compile and embed Java code (Java applets) in <abbr title="HyperText Markup Language">HTML</abbr> pages, mainly for writing exploit and auxiliary modules that exploit vulnerabilities in the <abbr title="Java Runtime Enviroment">JRE</abbr>\<abbr title="Java Virtual Machine">JVM</abbr>.<br />
The Java compilation mixin can also be used for creating fuzzers and other testing tools for the <abbr title="Java Runtime Enviroment">JRE</abbr>\<abbr title="Java Virtual Machine">JVM</abbr>.</p>
<p><strong>Code:</strong><br />
<a href="code/msf/javacompile.rb" title="Download javacompile.rb - Java Compilation Mixin for Metasploit">javacompile.rb</a>.</p>
<p><strong>Installation:</strong><br />
Place the mixin in the following path:<br />
<code>\msf3\lib\msf\core\exploit</code></p>
<p>Include the mixin in <code>\msf3\lib\msf\core\exploit.rb</code> file:<br />
<code># JavaCompile<br />
require 'msf/core/exploit/javacompile'</code></p>
<p>Using the mixin in exploit and auxiliary modules:<br />
<code>include Msf::Exploit::JAVACOMPILE</code></p>
<p>The mixin requires <abbr title="Java Development Kit">JDK</abbr> to be installed, get it from <a href="http://www.sun.com/" title="Sun Microsystems">Sun</a>.</p>
<p><strong>Usage:</strong><br />
<code>OUTPUTPATH</code> &#8211; defines the path of the working directory (where the files will be created).</p>
<p><code>java_compile(filename,data)</code> function is used to compile Java code. <code>filename</code> variable sets the file and public class name and <code>data</code> variable defines the Java code.</p>
<p><code>java_clean(filename)</code> function is used to clean the working directory. <code>filename</code> variable sets the file name to delete (both .java and .class files) from the working directory.</p>
<p><strong>Demonstration:</strong><br />
The following &#8220;exploit&#8221; module demonstrate the Java compilation mixin by calling a simple Java applet (displaying &#8220;Hello World&#8221;) from an HTML page:<br />
<a href="exploits/msf/java_hello.rb" title="Download java_hello.rb - Java compilation mixin demo">java_hello.rb</a> (See comments in the code).</p>
<p>This mixin is still in an early stage and will be modified and improved in time, any kind of feedback and suggestions are welcome.<br />
Cool exploits soon to follow :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/06/03/java-compile-mixin/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>AOL Radio AmpX ActiveX Control ConvertFile() Buffer Overflow exploit (meta)</title>
		<link>http://www.rec-sec.com/2009/05/24/aol-ampx-activex-buffer-overflow/</link>
		<comments>http://www.rec-sec.com/2009/05/24/aol-ampx-activex-buffer-overflow/#comments</comments>
		<pubDate>Sun, 24 May 2009 03:38:57 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=567</guid>
		<description><![CDATA[Wrote a new Metaspoit exploit module for the AOL Radio AmpX ActiveX control ConvertFile() stack-based buffer overflow vulnerability.
This module exploits a stack-based buffer overflow in AOL IWinAmpActiveX class (AmpX.dll) version 2.4.0.6 installed via AOL Radio website. By setting an overly long value to &#8216;ConvertFile()&#8217;, an attacker can overrun a buffer and execute arbitrary code.
This vulnerability [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="AOL" width="128" height="64" class="right" src="images/aol.png" />Wrote a new Metaspoit exploit module for the <a href="http://www.aol.com/" title="AOL.com">AOL</a> Radio AmpX ActiveX control ConvertFile() stack-based buffer overflow vulnerability.</p>
<p>This module exploits a stack-based buffer overflow in AOL IWinAmpActiveX class (AmpX.dll) version 2.4.0.6 installed via AOL Radio website. By setting an overly long value to &#8216;ConvertFile()&#8217;, an attacker can overrun a buffer and execute arbitrary code.</p>
<p>This vulnerability was found by <a href="http://retrogod.altervista.org/" title="rgod">rgod</a> and was published recently by Nine:Situations:Group. Still no patch from AOL, if you want to test it you can get the vulnerable package <a href="http://pdl.stream.aol.com/downloads/aol/unagi/ampx_en_dl.cab" title="AOL Radio AmpX ActiveX control">here</a> on the AOL Radio web site.</p>
<p>Download <a href="exploits/msf/aol_ampx_convertfile.rb" title="Download aol_ampx_convertfile.rb - AOL Radio AmpX ActiveX Control ConvertFile() Buffer Overflow">aol_ampx_convertfile.rb</a>.<br />
Also on <a href="http://www.metasploit.com/modules/exploit/windows/browser/aol_ampx_convertfile" title="The Metasploit Framework - Module Browser - AOL Radio AmpX ActiveX Control ConvertFile() Buffer Overflow">Metasploit</a>.</p>
<p>References:<br />
<a href="http://www.securityfocus.com/bid/35028" title="AOL Radio AmpX ActiveX Control 'ConvertFile()' Buffer Overflow Vulnerability"><abbr title="Bugtraq ID">BID</abbr> 35028</a><br />
<a href="http://osvdb.org/show/osvdb/54706" title="54706: AOL IWinAmpActiveX ActiveX (AmpX.dll) ConvertFile() Function Overflow"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 54706</a><br />
<a href="http://www.milw0rm.com/exploits/8733" title="AOL IWinAmpActiveX Class ConvertFile() Remote BOF Exploit">milw0rm 8733</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/05/24/aol-ampx-activex-buffer-overflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Roxio CinePlayer ActiveX Control Buffer Overflow exploit (meta)</title>
		<link>http://www.rec-sec.com/2009/04/30/roxio-cineplayer-activex-buffer-overflow-exploit/</link>
		<comments>http://www.rec-sec.com/2009/04/30/roxio-cineplayer-activex-buffer-overflow-exploit/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 21:50:10 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=444</guid>
		<description><![CDATA[And another new exploit module for Metasploit.
This module exploits a stack-based buffer overflow in SonicPlayer ActiveX control (SonicMediaPlayer.dll) 3.0.0.1 installed by Roxio CinePlayer 3.2. By setting an overly long value to &#8216;DiskType&#8217;, an attacker can overrun a buffer and execute arbitrary code.
This vulnerability was found by Carsten Eiram of Secunia Research back in April 2007. [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Roxio" width="100" height="150" class="right" src="images/roxio.png" />And another new exploit module for Metasploit.<br />
This module exploits a stack-based buffer overflow in SonicPlayer ActiveX control (SonicMediaPlayer.dll) 3.0.0.1 installed by <a href="http://www.roxio.com/" title="Roxio - DVD Burning &amp; CD Burning Software - Creator &amp; Toast Software">Roxio</a> CinePlayer 3.2. By setting an overly long value to &#8216;DiskType&#8217;, an attacker can overrun a buffer and execute arbitrary code.</p>
<p>This vulnerability was found by Carsten Eiram of Secunia Research back in April 2007. No patch or any kind of solution is offered by the vendor. Also, there was no public exploit for this vulnerability, until now ;-)</p>
<p>Download <a href="exploits/msf/roxio_cineplayer.rb" title="Download roxio_cineplayer.rb - Roxio CinePlayer ActiveX Control Buffer Overflow">roxio_cineplayer.rb</a>.<br />
Also on <a href="http://www.metasploit.com/modules/exploit/windows/browser/roxio_cineplayer" title="The Metasploit Framework - Module Browser - Roxio CinePlayer ActiveX Control Buffer Overflow">Metasploit</a>.</p>
<p>References:<br />
<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-1559" title="CVE-2007-1559"><abbr title="Common Vulnerabilities and Exposures">CVE</abbr>-2007-1559</a><br />
<a href="http://www.securityfocus.com/bid/23412" title="Roxio CinePlayer SonicDVDDashVRNav.DLL ActiveX Control Remote Buffer Overflow Vulnerability"><abbr title="Bugtraq ID">BID</abbr> 23412</a><br />
<a href="http://osvdb.org/show/osvdb/34779" title="34779: CinePlayer SonicDVDDashVRNav.dll ActiveX Overflow"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 34779</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/04/30/roxio-cineplayer-activex-buffer-overflow-exploit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Autodesk IDrop ActiveX Control Heap Memory Corruption exploit (meta)</title>
		<link>http://www.rec-sec.com/2009/04/30/autodesk-idrop-activex-heap-corruption/</link>
		<comments>http://www.rec-sec.com/2009/04/30/autodesk-idrop-activex-heap-corruption/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 18:49:17 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=439</guid>
		<description><![CDATA[Wrote a new Metaspoit exploit module for the Autodesk IDrop ActiveX control heap-based memory corruption vulnerability.
This module exploits a heap-based memory corruption vulnerability in Autodesk IDrop ActiveX control (IDrop.ocx) version 17.1.51.160. An attacker can execute arbitrary code by triggering a heap use after free condition using the Src, Background, PackageXml properties.
This vulnerability was found by [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Autodesk" width="263" height="69" class="right" src="images/autodesk.png" />Wrote a new Metaspoit exploit module for the <a href="http://www.autodesk.com/" title="Autodesk">Autodesk</a> IDrop ActiveX control heap-based memory corruption vulnerability.</p>
<p>This module exploits a heap-based memory corruption vulnerability in Autodesk IDrop ActiveX control (IDrop.ocx) version 17.1.51.160. An attacker can execute arbitrary code by triggering a heap use after free condition using the Src, Background, PackageXml properties.</p>
<p>This vulnerability was found by Elazar Board and apparently Autodesk is <a href="http://marc.info/?l=full-disclosure&#038;m=123870112214736" title="'[Full-disclosure] Autodesk IDrop ActiveX Control Heap Corruption' - MARC">not going to fix</a> this issue&#8230; Better flip on the <a href="http://support.microsoft.com/kb/240797" title="How to stop an ActiveX control from running in Internet Explorer">killbit</a> for this one.</p>
<p>Download <a href="exploits/msf/autodesk_idrop.rb" title="Download autodesk_idrop.rb - Autodesk IDrop ActiveX Control Heap Memory Corruption">autodesk_idrop.rb</a>.<br />
Also on <a href="http://www.metasploit.com/modules/exploit/windows/browser/autodesk_idrop" title="The Metasploit Framework - Module Browser - Autodesk IDrop ActiveX Control Heap Memory Corruption">Metasploit</a>.</p>
<p>References:<br />
<a href="http://www.securityfocus.com/bid/34352" title="Autodesk IDrop ActiveX Control 'IDrop.ocx' Multiple Heap Memory Corruption Vulnerabilities"><abbr title="Bugtraq ID">BID</abbr> 34352</a><br />
<a href="http://osvdb.org/show/osvdb/53265" title="53265: Autodesk I-drop Indicator idrop.idrop.2 ActiveX (IDrop.ocx) Multiple Property Memory Corruption"><abbr title="Open Source Vulnerability Database">OSVDB</abbr> 53265</a><br />
<a href="http://www.milw0rm.com/exploits/8560" title="Autodesk IDrop ActiveX Remote Code Execution Exploit">milw0rm 8560</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/04/30/autodesk-idrop-activex-heap-corruption/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful Metasploit guides</title>
		<link>http://www.rec-sec.com/2009/03/25/useful-metasploit-guides/</link>
		<comments>http://www.rec-sec.com/2009/03/25/useful-metasploit-guides/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 01:49:03 +0000</pubDate>
		<dc:creator>Trancer</dc:creator>
				<category><![CDATA[Metasploit]]></category>

		<guid isPermaLink="false">http://www.rec-sec.com/?p=287</guid>
		<description><![CDATA[Collected a bunch of useful guides for some new capabilities of the Metasploit Framework.
Some of the capabilities are post 3.2 version. I strongly recommend updating your version to the latest 3.3-dev snapshot.
 &#8211; Using the WMAP Metasploit module for web application penetration testing:
WMAP (Metasploit Module).
 &#8211; Restricting the db_autopwn command to specific ports and modules [...]]]></description>
			<content:encoded><![CDATA[<p><img alt="Metasploit" width="287" height="49" class="right" src="images/metasploit-title.png" />Collected a bunch of useful guides for some new capabilities of the <a href="http://www.metasploit.com/" title="The Metasploit Project">Metasploit Framework</a>.<br />
Some of the capabilities are post 3.2 version. I strongly recommend updating your version to the latest 3.3-dev snapshot.</p>
<p> &#8211; Using the WMAP Metasploit module for web application penetration testing:<br />
<a href="http://www.vulnerabilityassessment.co.uk/wmap_meta.htm" title="VulnerabilityAssessment.co.uk - WMAP (Metasploit Module)">WMAP (Metasploit Module)</a>.</p>
<p> &#8211; Restricting the db_autopwn command to specific ports and modules when mass exploiting:<br />
<a href="http://blog.metasploit.com/2009/02/metasploit-mass-exploitation-for.html" title="Metasploit Blog: Metasploit Mass Exploitation for Dummies">Metasploit Mass Exploitation for Dummies</a>.</p>
<p> &#8211; Exploiting the Token Kidnapping vulnerability for privilege escalation:<br />
<a href="http://carnal0wnage.blogspot.com/2008/05/token-passing-with-incognito-part-2.html" title="Carnal0wnage Blog: Token Passing with Incognito Part 2">Token Passing with Incognito (Part 2)</a>.</p>
<p> &#8211; Using msfpayload to export exploits as executables and go under the <abbr title="Anti-Virus">AV</abbr> radar:<br />
<a href="http://www.youtube.com/watch?v=Vh-cP4_-Ykc" title="Metasploit msfpayload">Bypassing Anti-Virus with Metasploit</a> (Video).</p>
<p> &#8211; Dumping Memory to extract Password Hashes:<br />
<a href="http://blog.attackresearch.com/?q=node/24" title="Dumping Memory to extract Password Hashes Part 1 | Attack Research">Part 1</a>, <a href="http://blog.attackresearch.com/?q=node/25" title="Dumping Memory to extract Password Hashes Part 2 | Attack Research">Part 2</a>.</p>
<p> &#8211; Keylogging are now made easy:<br />
<a href="http://blog.metasploit.com/2009/03/remote-keystroke-sniffing-with.html" title="Metasploit Blog: Remote Keystroke Sniffing with Meterpreter">Remote Keystroke Sniffing with Meterpreter</a>.</p>
<p> &#8211; Keylogging Windows logon screen credentials:<br />
<a href="http://blog.metasploit.com/2009/03/capturing-logon-credentials-with.html" title="Metasploit Blog: Capturing Logon Credentials with Meterpreter">Capturing Logon Credentials with Meterpreter</a>.</p>
<p>Happy pwnage :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rec-sec.com/2009/03/25/useful-metasploit-guides/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
