<?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>Bonsai - Information Security Blog</title>
	<atom:link href="http://www.bonsai-sec.com/blog/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bonsai-sec.com/blog</link>
	<description>Information security news from the small tree</description>
	<lastBuildDate>Sun, 05 Sep 2010 23:02:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Rapid7 partnership</title>
		<link>http://www.bonsai-sec.com/blog/index.php/rapid7-partnership/</link>
		<comments>http://www.bonsai-sec.com/blog/index.php/rapid7-partnership/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 23:02:21 +0000</pubDate>
		<dc:creator>andres.riancho</dc:creator>
				<category><![CDATA[bonsai]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[bonsai information security]]></category>
		<category><![CDATA[grow]]></category>
		<category><![CDATA[partners]]></category>
		<category><![CDATA[rapid7]]></category>
		<category><![CDATA[US]]></category>
		<category><![CDATA[USA]]></category>

		<guid isPermaLink="false">http://www.bonsai-sec.com/blog/?p=384</guid>
		<description><![CDATA[We&#8217;re excited to announce that Bonsai Information Security has partnered with Rapid7! This partnership will allow our company to expand it&#8217;s market in north america by leveraging Rapid7&#8217;s impressive growth in the last years.
This partnership was possible because of our constant search for excellence, our customer need driven approach to consulting and our service quality. More deals [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bonsai-sec.com/blog/wp-content/uploads/rapid7-logo.gif"><img class="alignright size-full wp-image-390" title="Rapid7 Logo" src="http://www.bonsai-sec.com/blog/wp-content/uploads/rapid7-logo.gif" alt="" width="279" height="37" /></a>We&#8217;re excited to announce that <a title="Bonsai Information Security" href="http://www.bonsai-sec.com/" target="_self">Bonsai Information Security</a> has partnered with <a title="Rapid7 LLC" href="http://www.rapid7.com" target="_blank">Rapid7</a>! This partnership will allow our company to expand it&#8217;s market in north america by leveraging Rapid7&#8217;s impressive growth in the last years.</p>
<p>This partnership was possible because of our constant search for excellence, our customer need driven approach to consulting and our service quality. More deals like this, and Bonsai will be soon named <em>Oak</em>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bonsai-sec.com/blog/index.php/rapid7-partnership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Open Redirection Vulnerability</title>
		<link>http://www.bonsai-sec.com/blog/index.php/twitter-open-redirection-vulnerability/</link>
		<comments>http://www.bonsai-sec.com/blog/index.php/twitter-open-redirection-vulnerability/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 17:17:59 +0000</pubDate>
		<dc:creator>nahuel</dc:creator>
				<category><![CDATA[bonsai]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[open redirect]]></category>
		<category><![CDATA[open redirection]]></category>
		<category><![CDATA[OWASP]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[url redirection]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://www.bonsai-sec.com/blog/?p=367</guid>
		<description><![CDATA[Recently, we&#8217;ve found an Open Redirection vulnerability in Twitter. To understand a little more about this, we can cite OWASP&#8217;s definition:
&#8220;An open redirect is an application that takes a parameter and redirects a  user to the parameter value without any validation. This vulnerability  is used in phishing attacks to get users to visit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bonsai-sec.com/blog/wp-content/uploads/twitter.jpeg"><img class="alignleft size-full wp-image-371" title="twitter logo" src="http://www.bonsai-sec.com/blog/wp-content/uploads/twitter.jpeg" alt="Twitter Logo" width="176" height="63" /></a>Recently, we&#8217;ve found an<strong> Open Redirection vulnerability in Twitter</strong>. To understand a little more about this, we can cite OWASP&#8217;s definition:</p>
<blockquote><p>&#8220;An open redirect is an application that takes a parameter and redirects a  user to the parameter value without any validation. This vulnerability  is used in phishing attacks to get users to visit malicious sites  without realizing it.&#8221;</p></blockquote>
<p>The following Proof of Concept was sent to the Twitter security team:</p>
<blockquote><p>https://twitter.com/login?<strong>redirect_after_login</strong>=<a href="http://www.bonsai-sec.com" target="_blank">http://www.bonsai-sec.com</a></p></blockquote>
<p>After a successful login, the affected user is redirected to <a href="http://www.bonsai-sec.com">http://www.bonsai-sec.com</a> without any warning allowing possible phishing attacks.</p>
<p>This vulnerability was patched by Twitter security team last week (after we reported it and got almost no answer from them).</p>
<p>Detailed information can be found at: <a href="http://www.bonsai-sec.com/en/research/vulnerabilities/twitter-open-redirect-0108.php" target="_blank">http://www.bonsai-sec.com/en/research/vulnerabilities/twitter-open-redirect-0108.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bonsai-sec.com/blog/index.php/twitter-open-redirection-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OWASP Day @ FIUBA Argentina</title>
		<link>http://www.bonsai-sec.com/blog/index.php/owasp-day-fiuba-argentina/</link>
		<comments>http://www.bonsai-sec.com/blog/index.php/owasp-day-fiuba-argentina/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 20:29:38 +0000</pubDate>
		<dc:creator>nahuel</dc:creator>
				<category><![CDATA[bonsai]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[conferencias]]></category>
		<category><![CDATA[eventos]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[OWASP]]></category>

		<guid isPermaLink="false">http://www.bonsai-sec.com/blog/?p=336</guid>
		<description><![CDATA[El día 30 de Junio de 2010 se llevó a cabo el OWASP Day en la sede de Paseo Colón de la Facultad de Ingeniería de la Universidad de Buenos Aires. Se realizaron charlas relacionadas con la Seguridad en Aplicaciones Web y otros aspectos relacionados a la Seguridad de la Información.
Bonsai Information Security participó siendo [...]]]></description>
			<content:encoded><![CDATA[<p>El día 30 de Junio de 2010 se llevó a cabo el OWASP Day en la sede de Paseo Colón de la Facultad de Ingeniería de la Universidad de Buenos Aires. Se realizaron charlas relacionadas con la Seguridad en Aplicaciones Web y otros aspectos relacionados a la Seguridad de la Información.</p>
<p><strong>Bonsai Information Security participó siendo Sponsor</strong> y presentando a Nahuel Grisolía, Project Leader de Bonsai, como ponente en una de las charlas.</p>
<p>Más información sobre el OWASP Day <a href="http://www.owasp.org/index.php/OWASP_Day_Argentina_2010" target="_blank">aquí</a>.</p>
<p>A continuación, las Slides que se utilizaron en el evento:</p>
<p style="text-align: center;"><object id="__sse4818190" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="518" height="435" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=presentacionv1-0-100722135339-phpapp02&amp;stripped_title=presentation-owasp-day-fiubaar" /><param name="name" value="__sse4818190" /><param name="allowfullscreen" value="true" /><embed id="__sse4818190" type="application/x-shockwave-flash" width="518" height="435" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=presentacionv1-0-100722135339-phpapp02&amp;stripped_title=presentation-owasp-day-fiubaar" name="__sse4818190" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bonsai-sec.com/blog/index.php/owasp-day-fiuba-argentina/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Curso de Seguridad en Aplicaciones Web</title>
		<link>http://www.bonsai-sec.com/blog/index.php/curso-de-seguridad-en-aplicaciones-web/</link>
		<comments>http://www.bonsai-sec.com/blog/index.php/curso-de-seguridad-en-aplicaciones-web/#comments</comments>
		<pubDate>Fri, 21 May 2010 13:02:38 +0000</pubDate>
		<dc:creator>andres.riancho</dc:creator>
				<category><![CDATA[bonsai]]></category>

		<guid isPermaLink="false">http://www.bonsai-sec.com/blog/?p=313</guid>
		<description><![CDATA[
El training de Web Application Security de Bonsai se focaliza en el descubrimiento y explotación, manual y automático, de vulnerabilidades en aplicaciones Web. Durante este curso de dos dias, se presentarán una serie de temas teóricos seguidos de prácticas hands-on realizadas por los asistentes. En cada práctica encontrarás vulnerabilidades para explotar, cada una con un [...]]]></description>
			<content:encoded><![CDATA[<h1 style="text-align: justify;"><strong><a href="http://www.bonsai-sec.com/blog/wp-content/uploads/bonsai_information_security_education.gif"><img class="alignleft size-full wp-image-314" title="bonsai_information_security_education" src="http://www.bonsai-sec.com/blog/wp-content/uploads/bonsai_information_security_education.gif" alt="" width="64" height="64" /></a></strong></h1>
<p style="padding-left: 30px; text-align: justify;">El training de Web Application Security de Bonsai se focaliza en el descubrimiento y explotación, manual y automático, de vulnerabilidades en aplicaciones Web. Durante este curso de dos dias, se presentarán una serie de<strong> temas teóricos seguidos de prácticas hands-on</strong> realizadas por los asistentes. En cada práctica encontrarás vulnerabilidades para explotar, cada una con un diferente nivel de complejidad, las que desafiarán tu comprensión del tema.</p>
<p style="padding-left: 30px; text-align: justify;">
<h3 style="text-align: justify;"><strong>Fechas, Ubicación, Cupos y Beneficios</strong></h3>
<ul style="text-align: justify;">
<li>Consta de <strong>dos días completos de 9 a 18 horas</strong>. Los días asignados para el próximo training son el Martes  27 y Miércoles 28 de Julio de 2010.</li>
<li>Se realizará en las aulas multimediales de IT Training Center, Sarmiento 1113, Ciudad Autónoma de Buenos Aires, Capital Federal.</li>
<li>Al mediodia, los asistentes poseen el beneficio de almorzar en Il&#8217;Gato sin cargo.</li>
<li>Consultar aquellos que deseen un Estacionamiento con precio preferencial.</li>
<li>Capacidad: 16 asistentes</li>
</ul>
<p style="padding-left: 30px; text-align: justify;">
<h3 style="text-align: justify;"><strong>Más Información</strong></h3>
<address style="text-align: center;"><a href="../../es/education/web-security-buenos-aires.php"><strong>http://www.bonsai-sec.com/es/education/web-security-buenos-aires.php</strong></a></address>
<address style="text-align: justify;"> </address>
]]></content:encoded>
			<wfw:commentRss>http://www.bonsai-sec.com/blog/index.php/curso-de-seguridad-en-aplicaciones-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using grep to find 0days</title>
		<link>http://www.bonsai-sec.com/blog/index.php/using-grep-to-find-0days/</link>
		<comments>http://www.bonsai-sec.com/blog/index.php/using-grep-to-find-0days/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 17:53:26 +0000</pubDate>
		<dc:creator>nahuel</dc:creator>
				<category><![CDATA[open source]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.bonsai-sec.com/blog/?p=298</guid>
		<description><![CDATA[If you think that vulnerability research is only for computer geeks or hackers, you are wrong! Simple but effective “grep dorks” will be just fine to discover dirty pieces of code in, for example, PHP open source software.
Let’s focus on Cacti and use it as our case study as we’ve recently found its latest vulnerabilities [...]]]></description>
			<content:encoded><![CDATA[<p>If you think that vulnerability research is only for computer geeks or hackers, you are wrong! Simple but effective “<strong>grep dorks</strong>” will be just fine to discover dirty pieces of code in, for example, PHP open source software.</p>
<p>Let’s focus on <a href="http://www.cacti.net" target="_blank">Cacti</a> and use it as our case study as we’ve recently found its latest vulnerabilities using this technique. The next steps were followed to identify and exploit the latest Cacti <a href="http://www.owasp.org/index.php/OS_Command_Injection" target="_blank">OS commanding</a> vulnerability found by our research team:</p>
<ol>
<li>Download Cacti 0.8.7e</li>
<li>Uncompress Cacti</li>
<li>Under Cacti’s directory, find Operating System Function calls, such as “<strong>system</strong>”, “<strong>exec</strong>”, “<strong>shell_exec</strong>” or “<strong>popen</strong>”</li>
</ol>
<ol>
<li><strong>$ grep –i –r “shell_exec(” *</strong></li>
</ol>
<p style="text-align: center;"><img class="size-full wp-image-299 aligncenter" style="border: 1.5px solid black;" title="Using grep as a security tool to find 0days" src="http://www.bonsai-sec.com/blog/wp-content/uploads/screenshot.png" alt="Using grep as a security tool to find 0days" width="507" height="134" /></p>
<ol>
<li>The above command should result in some scripts using shell_exec PHP function</li>
<li>Edit one of those, for example, “<strong>lib/ping.php</strong>” and take a deeper look at it, near the OS call.</li>
<li>The function “<strong>ping_icmp</strong>” in “<strong>Net_Ping</strong>” class is using shell_exec function <strong>without sanitizing</strong> the host parameter. Uhmm… interesting!</li>
<li>Let’s see, where ping_icmp function is being called and let’s find out if we can manipulate hostname parameter in order to do our injection.</li>
<li>Note that in <strong>lib/ping.php</strong>,<strong> line 634</strong>, ping_icmp is being used inside the “<strong>ping</strong>” function.</li>
<li>Let’s search where Net_Ping is being used and where the ping function is being called and have a real look at the host parameter.</li>
<li><strong>$ grep –i –r “net_ping” *</strong></li>
<li>Ok! <strong>host.php</strong> script is using Net_Ping class, let’s have a deeper look again…</li>
<li><strong>Line 625</strong> in <strong>host.php</strong> script: note that the hostname is being used as a parameter, again, without sanitizing it.</li>
</ol>
<ol>
<li>So, if inside the application, you create a device (or host) with FQDN (without single quotes) ‘<strong><em>NotARealIPAddress;CMD;</em></strong>’, save it, and then, reload any data query, CMD will be executed with Web Server rights. More information on this, can be found in <a href="http://www.bonsai-sec.com/en/research/vulnerabilities/cacti-os-command-injection-0105.php" target="_blank">OS Commanding Injection in Cacti</a>.</li>
</ol>
<ol>
<li>Eureka!<strong> 0day vulnerability found</strong>!</li>
</ol>
<p>This is just an example of how some vulnerabilities might be identified and exploited using simple but effective techniques in real world applications.</p>
<p>You can also find other techniques to <strong>identify Web Application vulnerabilities</strong>, such as<strong> using Google&#8217;s code search</strong>.  Consider revising <a href="http://www.cso.com.au/article/166530/hackers_find_use_google_code_search" target="_blank">this article</a> and <a href="http://www.seoegghead.com/blog/seo/find-html-injection-vulnerabilities-with-google-code-search-p131.html" target="_blank">this blog post</a> too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bonsai-sec.com/blog/index.php/using-grep-to-find-0days/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>w3af wins &#8220;Segurinfo 2009&#8243; award</title>
		<link>http://www.bonsai-sec.com/blog/index.php/w3af-wins-segurinfo-2009-award/</link>
		<comments>http://www.bonsai-sec.com/blog/index.php/w3af-wins-segurinfo-2009-award/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 17:59:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[conferences]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[w3af]]></category>
		<category><![CDATA[award]]></category>
		<category><![CDATA[buenos aires]]></category>
		<category><![CDATA[premio segurinfo 2009]]></category>
		<category><![CDATA[premio segurinfo 2010]]></category>
		<category><![CDATA[segurinfo]]></category>

		<guid isPermaLink="false">http://www.bonsai-sec.com/blog/?p=289</guid>
		<description><![CDATA[In the context of the 7th International Congress of Information Security, Andrés Riancho was awarded with the Segurinfo award for his efforts in the development of w3af, and Open Source tool for identifying Web application vulnerabilities. We would like to congratulate him and the rest of the project contributors for this well deserved award!
En el [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bonsai-sec.com/blog/wp-content/uploads/premio-segurinfo-2009.png"><img class="alignright size-full wp-image-292" title="premio-segurinfo-2009" src="http://www.bonsai-sec.com/blog/wp-content/uploads/premio-segurinfo-2009.png" alt="premio-segurinfo-2009" width="320" height="354" /></a>In the context of the 7th <a title="Segurinfo 2010" href="http://www.segurinfo.org/home.php">International Congress of Information Security</a>, Andrés Riancho was awarded with the Segurinfo award for his efforts in the development of w3af, and Open Source tool for identifying Web application vulnerabilities. We would like to congratulate him and the rest of the project contributors for this well deserved award!</p>
<p>En el contexto del séptimo <a title="Segurinfo 2010" href="http://www.segurinfo.org/home.php">Congreso Internacional de Seguridad de la Información</a>, Andrés Riancho recibió el premio Segurinfo 2009 por sus esfuerzos en el desarrollo del software de detección de vulnerabilidades Web Open Source, w3af. Queremos felicitarlo y al resto de los desarrolladores del proyecto por un muy merecido premio.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bonsai-sec.com/blog/index.php/w3af-wins-segurinfo-2009-award/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Breaking Weak CAPTCHA in 26 Lines of Code</title>
		<link>http://www.bonsai-sec.com/blog/index.php/breaking-weak-captcha-in-26-lines-of-code/</link>
		<comments>http://www.bonsai-sec.com/blog/index.php/breaking-weak-captcha-in-26-lines-of-code/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 14:30:23 +0000</pubDate>
		<dc:creator>andres.riancho</dc:creator>
				<category><![CDATA[bonsai]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[breaking]]></category>
		<category><![CDATA[captcha]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Web Application Security]]></category>

		<guid isPermaLink="false">http://www.bonsai-sec.com/blog/?p=258</guid>
		<description><![CDATA[During one of our latest engagements we found a weak CAPTCHA implementation being used in the target Web application. The assessment was being performed on-site, and after identifying this vulnerability we started to talk with the CSO about how easy it would be to break it.

The general consensus of course was &#8220;very easy&#8221;. The problem [...]]]></description>
			<content:encoded><![CDATA[<p>During one of our latest engagements we found a <em><strong>weak CAPTCHA implementation</strong></em> being used in the target Web application. The assessment was being performed on-site, and after identifying this vulnerability we started to talk with the CSO about how easy it would be to break it.</p>
<p><img class="size-full wp-image-268 alignleft" title="jxt9" src="http://www.bonsai-sec.com/blog/wp-content/uploads/jxt9.gif" alt="jxt9" width="58" height="28" /><img class="size-full wp-image-267 alignleft" title="e4ya" src="http://www.bonsai-sec.com/blog/wp-content/uploads/e4ya.gif" alt="e4ya" width="58" height="28" /><img class="size-full wp-image-266 alignleft" title="9ko0" src="http://www.bonsai-sec.com/blog/wp-content/uploads/9ko03.gif" alt="9ko0" width="58" height="28" /></p>
<p>The general consensus of course was <strong><em>&#8220;very easy&#8221;</em></strong>. The problem was that we were unable to find any good CAPTCHA breaking software that average joe could download and run on his computer; so I spent some minutes creating a simple Python script that  returns the CAPTCHA solution for this particular implementation.</p>
<p>Before we dig into the script, lets analyze why this CAPTCHA is weak (might not be obvious for some readers):</p>
<ol>
<li>The letters are not rotated</li>
<li>All letters have the same height</li>
<li>All letters have the exact same color</li>
<li>The letters are not deformed in any way</li>
<li>The background noise color is the same for the whole image</li>
</ol>
<p>Now, lets see the code that breaks this CAPTCHA:</p>
<pre class="brush:python">from PIL import Image

img = Image.open('input.gif')
img = img.convert("RGBA")

pixdata = img.load()

# Clean the background noise, if color != black, then set to white.
for y in xrange(img.size[1]):
    for x in xrange(img.size[0]):
        if pixdata[x, y] != (0, 0, 0, 255):
            pixdata[x, y] = (255, 255, 255, 255)

img.save("input-black.gif", "GIF")

#   Make the image bigger (needed for OCR)
im_orig = Image.open('input-black.gif')
big = im_orig.resize((116, 56), Image.NEAREST)

ext = ".tif"
big.save("input-NEAREST" + ext)

#   Perform OCR using pytesser library
from pytesser import *
image = Image.open('input-NEAREST.tif')
print image_to_string(image)</pre>
<p>This simple script works with ~ 90% of the CAPTCHA images created using this specific implementation. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bonsai-sec.com/blog/index.php/breaking-weak-captcha-in-26-lines-of-code/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Second w3af training @ New York</title>
		<link>http://www.bonsai-sec.com/blog/index.php/second-w3af-training-new-york/</link>
		<comments>http://www.bonsai-sec.com/blog/index.php/second-w3af-training-new-york/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 19:39:35 +0000</pubDate>
		<dc:creator>andres.riancho</dc:creator>
				<category><![CDATA[bonsai]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[w3af]]></category>
		<category><![CDATA[nopsec]]></category>
		<category><![CDATA[NYC]]></category>
		<category><![CDATA[training]]></category>

		<guid isPermaLink="false">http://www.bonsai-sec.com/blog/?p=253</guid>
		<description><![CDATA[Bonsai and NopSec have partnered to deliver the second w3af ninja training course in New York City.
The w3af ninja training course is focused on manual and automated discovery and exploitation of web application vulnerabilities using w3af. During this course you’ll also learn how to write your own exploits and customized plugins in order to achieve [...]]]></description>
			<content:encoded><![CDATA[<p>Bonsai and <a title="NopSec" href="http://nopsec.com/index.php?option=com_content&amp;task=view&amp;id=80" target="_blank">NopSec</a> have partnered to deliver the second <strong>w3af ninja training course</strong> in New York City.</p>
<p>The <span>w3af</span> ninja training course is focused on manual and automated discovery and exploitation of web application vulnerabilities using <span>w3af</span>. During this course you’ll also learn how to write your own exploits and customized plugins in order to achieve <em>your goals</em> during a web application penetration test.</p>
<p>This course is an intense <strong>hands-on</strong> class in which you won’t stop learning for a minute. In each practice we’ll focus on a particular type of web application vulnerability which will be analyzed and understood manually and then it’s detection and exploitation is automated using <span>w3af</span>.</p>
<p>All around the training interesting plugin code snippets will be subject to analysis and modification, which will give you great understanding of the framework and will also give you the means to automate your future web application penetration tests.</p>
<p><strong>Important information</strong></p>
<ul>
<li>Date: December 17th / 18th 2009</li>
<li>Training partners: <span>NopSec</span>, Inc. SOC – 155 Water St., Brooklyn, NY 11201 USA</li>
<li><a href="http://nopsec.com/index.php?option=com_content&amp;task=view&amp;id=80" target="_self">More information, and registration is available here.</a></li>
</ul>
<p>This is a great opportunity to master the w3af framework, don’t miss it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bonsai-sec.com/blog/index.php/second-w3af-training-new-york/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross Site Scripting Payloads</title>
		<link>http://www.bonsai-sec.com/blog/index.php/cross-site-scripting-payloads/</link>
		<comments>http://www.bonsai-sec.com/blog/index.php/cross-site-scripting-payloads/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 14:01:12 +0000</pubDate>
		<dc:creator>andres.riancho</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[w3af]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[xss]]></category>
		<category><![CDATA[xss payloads]]></category>

		<guid isPermaLink="false">http://www.bonsai-sec.com/blog/?p=238</guid>
		<description><![CDATA[Most of us are tired from the usual Cross Site Scripting vulnerabilities that get reported every day in full-disclosure, so when one of our researchers found a XSS in an Open Source project, we hesitated to publish it. After some thinking, we started to realize that maybe it would be interesting to the general public [...]]]></description>
			<content:encoded><![CDATA[<p>Most of us are tired from the usual Cross Site Scripting vulnerabilities that get reported <em>every day</em> in full-disclosure, so when one of our researchers found a XSS in an Open Source project, we hesitated to publish it. After some thinking, we started to realize that maybe it would be interesting to the general public to see a customized XSS payload that would exploit the Web application, which suddenly made our newly discovered XSS vulnerability much more fun.</p>
<p>The vulnerability that we&#8217;re going to be exploiting is a <a title="persistent cross site scripting in Achievo" href="http://www.bonsai-sec.com/research/vulnerabilities/achievo-multiple-xss-0101.txt" target="_blank">persistent cross site scripting in Achievo</a> . For those that do not know, Achievo is a flexible web-based resource management tool for business environments. Achievo&#8217;s resource management capabilities will enable organizations to support their business processes in a simple, but effective manner. This vulnerability was found a while ago by our research team, and has been fixed in version 1.4.0.</p>
<p>The vulnerability is a really basic persistent XSS, where we can write virtually anything in the title of a scheduled meeting. <em>As the meetings from a user can be seen by other users, and most interestingly administrators, <strong>the XSS can be exploited to elevate privileges in the application.</strong></em></p>
<p>With the objective of writing the XSS payload, I developed a JavaScript export feature, that allows w3af users to export any HTTP request to JavaScript, that will reproduce the same request when a user loads the script in a browser.</p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_242" class="wp-caption aligncenter" style="width: 525px;">
<dt class="wp-caption-dt"><a href="http://www.bonsai-sec.com/blog/wp-content/uploads/js-export.png"><img class="size-full wp-image-242" title="w3af's JavaScript Export" src="http://www.bonsai-sec.com/blog/wp-content/uploads/export.png" alt="w3af's JavaScript Export" width="515" height="327" /></a></dt>
</dl>
</div>
<p>Using the newly created feature, we were able to easily create a JavaScript payload, that when accessed by an Achievo administrator will perform the following tasks:</p>
<ul>
<li>Create a new application profile</li>
<li>Apply administrator privileges to the profile</li>
<li>Assign the newly created profile to a common user</li>
</ul>
<p>You can find the <a title="customized XSS payload" href="http://www.bonsai-sec.com/research/vulnerabilities/achievo-payload.js" target="_blank">customized XSS payload</a> by clicking <a title="customized XSS payload" href="http://www.bonsai-sec.com/research/vulnerabilities/achievo-payload.js" target="_blank">here</a>. In order to exploit this vulnerability, a user would need to change the first four variables in the script, upload the script to a publicly accessible web server, and then point the Cross Site Scripting to that resource. After some time, and if an Achievo administrator browses through the schedule, the configured user will elevate their privileges to administrator.</p>
<p>In this case it was impossible (because of the application not having that particular feature) to actually <strong><em>upload new files to the web server</em></strong>, but in many other Web applications, it would have been completely possible to create a XSS payload that would use the administrator privileges to upload a specially crafted file to the web server, which would then provide <strong><em>operating system access </em></strong>to the intruder.</p>
<p>With the creation of tools like w3af&#8217;s JavaScript export feature, and the huge amount of XSS vulnerabilities found every day, we think that the time for customized XSS payloads written in minutes instead of hours, has arrived!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bonsai-sec.com/blog/index.php/cross-site-scripting-payloads/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Web Application Security training @ FRHACK</title>
		<link>http://www.bonsai-sec.com/blog/index.php/web-application-security-training-frhack/</link>
		<comments>http://www.bonsai-sec.com/blog/index.php/web-application-security-training-frhack/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 19:00:48 +0000</pubDate>
		<dc:creator>andres.riancho</dc:creator>
				<category><![CDATA[bonsai]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[france]]></category>
		<category><![CDATA[september]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[w3af]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.bonsai-sec.com/blog/?p=7</guid>
		<description><![CDATA[I&#8217;m going to be delivering a Web Application Security training at FRHACK next September 2009! FRHACK is a highly technical, non-business conference that is going to be held at Besançon, France. The training is a two day, hands-on class where the w3af project leader will train you in the techniques and methodologies needed to discover [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to be delivering a Web Application Security training at <a href="http://www.frhack.org/trainings.html">FRHACK</a> next September 2009! FRHACK is a highly technical, non-business conference that is going to be held at Besançon, France. The training is a two day, hands-on class where the w3af project leader will train you in the techniques and methodologies needed to discover and exploit web application vulnerabilities.</p>
<p>Here is some extra information regarding the training,</p>
<p><strong>Training name:</strong> Discovery and exploitation of web application vulnerabilities</p>
<p><strong>Overview</strong></p>
<p>This training course focus is on manual and automated, <strong>discovery and exploitation of web application vulnerabilities</strong>. During this course you are going to go through a series of lectures followed by <strong>hands on</strong> practice. In each practice you will find vulnerabilities to exploit, each with a different level of complexity, which will defy your understanding of the subject. After the hands on practice, a small lecture on how the vulnerability is fixed is presented, together with common errors introduced by developers in that process.</p>
<p>The training will also teach you how to use the most <strong>advanced tools</strong> used by professionals in the field, like w3af (<em>developed by the trainer</em>), the burp suite, sqlmap and many others.</p>
<p><strong>Course Structure</strong></p>
<p>This is a two-day course that combines lectures with increasingly difficult <strong>hands-on exercises</strong> designed to teach the attendee different ways to discover and exploit web application vulnerabilities. All course materials, and a certificate of completion will be offered. You must provide your own laptop.</p>
<p><strong>Deliverables</strong></p>
<p>- Training booklet with printed slides and trainer comments<br />
- Live CD with Web Application Security Tools<br />
- <strong>VMware image with the training environment</strong><br />
- w3af T-Shirt ;)</p>
<p><strong>Audience</strong></p>
<p>Security consultants, system and network administrators, experienced web application developers, information security officers, government agencies.</p>
<p><strong>Topics Covered</strong></p>
<ul>
<li><strong>Day One</strong>
<ol>
<li>HTTP protocol review
<ul>
<li>Web architecture</li>
<li>HTTP headers and methods</li>
<li>HTTP authentication</li>
<li>HTTPS</li>
<li>Session management: cookies</li>
</ul>
</li>
<li>Common web server misconfigurations
<ul>
<li>Banners</li>
<li>Directory Indexing</li>
<li>HTTP authentication</li>
<li>HTTP method restrictions</li>
</ul>
</li>
<li>Common development and configuration errors
<ul>
<li>HTML comments and versioning</li>
<li>File inclusions</li>
<li>Backup and local database files</li>
<li>Hidden HTML Fields</li>
<li>Path Disclosure and directory enumeration</li>
<li>Exceptions and error messages</li>
</ul>
</li>
<li>Types of analysis
<ul>
<li>Static code analysis, black box testing and gray box testing:</li>
<li>Definitions</li>
<li>Vulnerabilities that can be detected</li>
<li>Vulnerabilities that CAN&#8217;T be detected</li>
</ul>
</li>
<li>Web Application Vulnerabilities
<ul>
<li>Reverse engineering of Java applets y Flash movies</li>
<li>Local file read</li>
<li>Local file inclusions</li>
<li>Path Traversal and Null Bytes</li>
<li>Remote file inclusions</li>
<li>Cross Site Scripting (XSS)</li>
<li>Cross Site Tracing</li>
<li>Cross Site Request Forgeries / Session Riding</li>
<li>HTTP Response Splitting</li>
</ul>
</li>
</ol>
</li>
<li><strong>Day Two</strong>
<ol>
<li>Web Application Vulnerabilities
<ul>
<li>Uncommon attack vectors</li>
<li>LDAP Injection</li>
<li>OS Commanding</li>
<li>SQL Injection:
<ul>
<li>Enumeration of tables and columns</li>
<li>Execution of queries and stored procedures</li>
<li>Creation of files</li>
<li>Execution of OS commands</li>
</ul>
</li>
<li>Blind SQL Injection</li>
</ul>
</li>
<li>Web application privilege escalation
<ul>
<li>Session handling</li>
<li>Logical vulnerabilities</li>
</ul>
</li>
<li>Countermeasures
<ul>
<li>mod_security</li>
<li>Hardening for Java
<ul>
<li>HDIV</li>
<li>Spring Security</li>
</ul>
</li>
<li>PHP hardening:
<ul>
<li>Secure configuration parameters</li>
<li>GRASP</li>
<li>PHP-IDS</li>
</ul>
</li>
</ul>
</li>
</ol>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bonsai-sec.com/blog/index.php/web-application-security-training-frhack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
