<?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/"
	xmlns:series="http://unfoldingneurons.com/"
	>

<channel>
	<title>a4apphack &#187; Tutorials</title>
	<atom:link href="http://a4apphack.com/category/security/sec-tuts/feed" rel="self" type="application/rss+xml" />
	<link>http://a4apphack.com</link>
	<description>Get more out of the Apps!</description>
	<lastBuildDate>Wed, 11 Jan 2012 20:25:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<image>
<link>http://a4apphack.com</link>
<url>http://a4apphack.com/blog/wp-content/themes/primus/favicon.ico</url>
<title>a4apphack</title>
</image>
		<item>
		<title>Gruyere &#8211; Vulnerable Web Application At Google Code (Previously Jarlsberg)</title>
		<link>http://a4apphack.com/security/sec-code/jarlsberg-vulnerable-web-application-at-google-code</link>
		<comments>http://a4apphack.com/security/sec-code/jarlsberg-vulnerable-web-application-at-google-code#comments</comments>
		<pubDate>Mon, 17 May 2010 19:11:29 +0000</pubDate>
		<dc:creator>rajivvishwa</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[attack]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[va]]></category>
		<category><![CDATA[xsrf]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://a4apphack.com/index.php/?p=1936</guid>
		<description><![CDATA[Gruyere is a vulnerable application which can be used to learn and understand web vulnerabilities. Detailed documentation is provided on the type of the vulnerabilities present in the application and ways to exploits it. Update: Jarlsberg is now Gruyere This codelab shows how web application vulnerabilities can be exploited and how to defend against these attacks. [...]]]></description>
			<content:encoded><![CDATA[<p>Gruyere is a vulnerable application which can be used to learn and understand web vulnerabilities. Detailed documentation is provided on the type of the vulnerabilities present in the application and ways to exploits it.</p>
<p><strong><span style="color: #800000;">Update</span>: Jarlsberg is now Gruyere<br />
</strong></p>
<ul>
</ul>
<p><em>This codelab shows how web application vulnerabilities can be exploited and how to defend against these attacks. The best way to learn things is by doing, so you&#8217;ll get a chance to do some real penetration testing, actually exploiting a real application. Specifically, you&#8217;ll learn the following:</em></p>
<ul>
<li><em> How an application can be attacked using common web security vulnerabilities, like cross-site scripting vulnerabilities (XSS) and cross-site request forgery (XSRF). </em></li>
<li><em> How to find, fix, and avoid these common vulnerabilities and other bugs that have a security impact, such as denial-of-service, information disclosure, or remote code execution. </em></li>
</ul>
<p><a title="Jarlsberg Documentation" href="http://jarlsberg.appspot.com/part2">Documentation Here</a></p>
<p><img class="alignnone" title="Jarlsberg - Hosted Vulnerable App" src="http://img.a4apphack.com/jarlsbergapp-main.jpg" alt="Jarlsberg - Hosted Vulnerable App" width="600" height="412" /></p>
<p><span id="more-1936"></span></p>
<p><strong>Some Exploit Screenshots</strong></p>
<p>Information Disclosure &#8211; Read the contents of the database off of a running server by exploiting a configuration vulnerability.</p>
<p><em>Debug Dump Page URL</em> &#8211; http://google-gruyere.appspot.com/<span style="color: #ff0000;">457262944951</span>/dump.jtl</p>
<p>The id changes based on your session.</p>
<p><img class="alignnone" title="Jarlsberg Dump Page" src="http://img.a4apphack.com/jarlsbergapp-dump.jpg" alt="Jarlsberg Dump Page" width="600" height="405" /></p>
<p><strong>Reflected XSS</strong></p>
<p>Alert Dialog box which indicates the presence of <a title="Cross Site Scripting Vulnerability" href="http://a4apphack.com/index.php/security/xss-made-simple-flash-animation">Cross Site Scripting Vulnerability</a> present in Jarlsberg</p>
<p><br class="spacer_" /></p>
<div class="wp-caption alignnone" style="width: 610px"><img class="" title="Stored XSS alert" src="http://img.a4apphack.com/jarlsbergapp-storedxss.jpg" alt="Stored XSS alert" width="600" height="340" /><p class="wp-caption-text">Stored XSS alert</p></div>
<p><br class="spacer_" /></p>
<h3><strong>Features</strong></h3>
<p>Jarlsberg includes a number of special features and technologies which add attack surface.</p>
<ul>
<li> HTML in Snippets: Users can include a limited subset of HTML in their snippets. </li>
<li> File upload: Users can upload files to the server, e.g., to include pictures in their snippets. </li>
<li> Web administration: System administrators can manage the system using a web interface. </li>
<li> New accounts: Users can create their own accounts. </li>
<li> Template language: Jarlsberg Template Language(JTL) is a new language that makes writing web pages easy as the templates connect directly to the database. Documentation for JTL can be found in <code><a href="http://google-gruyere.appspot.com/code/?jtl.py">gruyere/jtl.py</a></code>. </li>
<li> AJAX: Jarlsberg uses AJAX to implement refresh on the home and snippets page. You should ignore the AJAX parts of Jarlsberg except for the challenges that specifically tell you to focus on AJAX. </li>
</ul>
<h3><strong>Vulnerabilities In Gruyere</strong></h3>
<ul>
<li>Cross-Site Scripting (XSS)
<ul>
<li>File Upload XSS</li>
<li>Reflected XSS</li>
<li>Stored XSS</li>
<li>Stored XSS via HTML Attribute</li>
<li>Stored XSS via AJAX</li>
<li>Reflected XSS via AJAX</li>
</ul>
</li>
<li>Client-State Manipulation
<ul>
<li>Elevation of Privilege</li>
<li>Cookie Manipulation</li>
</ul>
</li>
<li>Cross-Site Request Forgery (XSRF)</li>
<li>Cross Site Script Inclusion (XSSI)</li>
<li>Path Traversal
<ul>
<li>Information disclosure via path traversal</li>
<li>Data tampering via path traversal</li>
</ul>
</li>
<li>Denial of Service
<ul>
<li>DoS &#8211; Quit the Server</li>
<li>DoS &#8211; Overloading the Server</li>
</ul>
</li>
<li>Code Execution</li>
<li>Information disclosure</li>
<li>AJAX vulnerabilities
<ul>
<li>DoS via AJAX</li>
<li>Phishing via AJAX</li>
</ul>
</li>
<li>Buffer Overflow and Integer Overflow</li>
<li>SQL Injection</li>
</ul>
<p>Explore hosted version of Jarlsberg and start uncovering the vulnerabilities</p>
<p><a title="Gruyere" href="http://google-gruyere.appspot.com/start">Gruyere Hosted Version</a></p>
<table id="cft">
  <thead>
  <tr>
    <th colspan="2">Gruyere (Previously Jarlsberg) Info</th>
  </tr>
  </thead>
  <tbody>
    <tr>
      <td  width="40%">App Name</td>
      <td>Gruyere (Previously Jarlsberg)</td>
    </tr>
    <tr>
      <td>License</td>
      <td>free</td>
    </tr>
    <tr>
      <td>Type</td>
      <td><ul>
<li>online</li>
<li>code</li>
</ul>
</td>
    </tr>
    <tr>
      <td>App URL</td>
      <td>
      <a target="_blank" href="http://google-gruyere.appspot.com//start"><img
 style="" alt="Download"
 src="http://img.a4apphack.com/site/a4apphack-download.png"
 title="Download" witdh="30" height="30"></a></td>
    </tr>
    <tr>
      <td>More Info</td>
      <td> <a href="http://google-gruyere.appspot.com/">link</a></td>
    </tr>
  </tbody>
</table>

<p><br class="spacer_" /></p>
<img src="http://a4apphack.com/blog/?ak_action=api_record_view&id=1936&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://a4apphack.com/security/sec-code/jarlsberg-vulnerable-web-application-at-google-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XSS Made Simple- Flash Animation</title>
		<link>http://a4apphack.com/security/xss-made-simple-flash-animation</link>
		<comments>http://a4apphack.com/security/xss-made-simple-flash-animation#comments</comments>
		<pubDate>Thu, 26 Mar 2009 07:57:09 +0000</pubDate>
		<dc:creator>rajivvishwa</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[appsec]]></category>
		<category><![CDATA[xsrf]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://a4apphack.com/blog/?p=1010</guid>
		<description><![CDATA[&#8220;CrossSite Scripting (XSS) attacks are a type of injection problem, in which malicious scripts are injected into the otherwise benign and trusted web sites. Cross-site scripting (XSS) attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>&#8220;<a title="XSS Wikipedia" href="http://en.wikipedia.org/wiki/Cross-site_scripting">CrossSite Scripting</a> (XSS) attacks are a type of injection problem, in which malicious scripts are injected into the otherwise benign and trusted web sites. Cross-site scripting (XSS) attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user in the output it generates without validating or encoding it.</p>
<p>An attacker can use XSS to send a malicious script to an unsuspecting user. The end user&#8217;s browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by your browser and used with that site. These scripts can even rewrite the content of the HTML page.&#8221; &#8211; OWASP</p>
</blockquote>
<p>Understanding XSS or to make one understand it ain&#8217;t easy. Too much of theory will confuse the person rather than helping him out. The best way of explaining it!; through flash animations and that is how <a title="Virtual Forge" href="http://www.virtualforge.de/">virtualforge</a> guys have done. This animation is intended for both a layman and a security analyst.</p>
<p>They have published two set of flash applications which demonstrates XSS. Here cookie theft and file access are demonstrated.</p>
<p><strong>Screenshot</strong><br />
 <img class="alignnone size-full wp-image-1017" title="XSS Animation Screenshot" src="http://a4apphack.com/blog/wp-content/uploads/2009/03/xssmadesimplemain.jpg" alt="XSS Animation Screenshot" width="358" height="260" /></p>
<p>Check the following links</p>
<h3>Example 1 : Car Auction</h3>
<p><a href="http://www.virtualforge.de/vmovie/xss_lesson_1/xss_selling_platform_v1.0.swf">http://www.virtualforge.de/vmovie/xss_lesson_1/xss_selling_platform_v1.0.swf</a></p>
<h3>Example 2 : Online Application</h3>
<p><a href="http://www.virtualforge.de/vmovie/xss_lesson_2/xss_selling_platform_v2.0.swf">http://www.virtualforge.de/vmovie/xss_lesson_2/xss_selling_platform_v2.0.swf</a></p>
<p><em>Read More about XSS at </em><a title="XSS Wikipedia" href="http://en.wikipedia.org/wiki/Cross-site_scripting"><em>Wiki</em></a><em> and </em><a title="XSS OWASP" href="http://www.owasp.org/index.php/XSS"><em>OWASP</em></a></p>
<p>See CrossSiteRequestForgery (XSRF) in action, <a title="XSRF Demo" href="http://a4apphack.com/security/cross-site-request-forgery-demo">here</a>.</p>
<img src="http://a4apphack.com/blog/?ak_action=api_record_view&id=1010&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://a4apphack.com/security/xss-made-simple-flash-animation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Object Caching 684/757 objects using disk: basic

Served from: a4apphack.com @ 2012-02-05 10:11:19 -->
