<?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>phed.org &#187; Security</title>
	<atom:link href="http://phed.org/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://phed.org</link>
	<description>The Rantings of Michael Eddington</description>
	<lastBuildDate>Thu, 20 May 2010 16:02:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>.NET &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot;Unsafe&amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;quot; Security Issues &#8212; Part 1</title>
		<link>http://phed.org/2008/05/22/net-unsafe-security-issues-part-1/</link>
		<comments>http://phed.org/2008/05/22/net-unsafe-security-issues-part-1/#comments</comments>
		<pubDate>Thu, 22 May 2008 20:01:16 +0000</pubDate>
		<dc:creator>Michael Eddington</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://phed.org/2008/05/22/net-unsafe-security-issues-part-1/</guid>
		<description><![CDATA[The Microsoft .NET Framework provides the developer with a number of advanced features such as P/Invoke and unsafe code blocks.&#160; This article will take a look at unsafe code blocks and some of the security issues that should be looked for when reviewing or writing such code.
The Spider Woman movie
 First off, what is the [...]]]></description>
			<content:encoded><![CDATA[<p>The Microsoft .NET Framework provides the developer with a number of advanced features such as P/Invoke and unsafe code blocks.&#160; This article will take a look at unsafe code blocks and some of the security issues that should be looked for when reviewing or writing such code.</p>
<p><p style="display:none"><a href="http://numismaticblog.com/?movie_the_spider_woman">The Spider Woman movie</a></p>
<p> First off, what is the unsafe keyword and how can it be used?&#160; Glad you asked, unsafe allows for the use of pointers in .NET code.&#160; This includes pointers to managed objects such as arrays and strings.&#160; To use the unsafe keyword the assembly or executable must be compiled with a special flag allowing for unsafe code blocks.&#160; The resulting assembly/executable will not be verifiable by the CLR.</p>
<p><strong>Modification of Immutable Types</strong></p>
<p> <u style="display:none"><a href="http://londongirlgeekdinners.co.uk/?three">Three psp</a></u>  <u style="display:none"></u></p>
<div style="display:none"><a href="http://fiodlsp.co.cc/main/kasting_porno_filma.html">??????? ????? ??????</a></div>
</p>
<p style="display:none"><a href="http://www.mettsalat.de/?tenderness">Tenderness video</a></p>
<p>With power comes the temptation to modify immutable types such as strings.&#160; Resist this urge as the CLR does a number of internal optimizations for known immutable types like strings.&#160; Modification of these immutable types can and will cause instability in the CLR, and have interesting ramifications.&#160; For example, some versions of the CLR keep only a single copy of strings.&#160; So if I created three strings, all with the value &quot;Hello World&quot;, I would really only have three references to the same string.&#160; This is okay since the string object is immutable.&#160; However, if I take a pointer to the string and change its contents I will end up changing the contents of all three strings!!</p>
<p><strong>Managed Pointers and Pinning</strong></p>
<div style="display:none"><a href="http://www.arizonacriminaldefenseblog.com?sherrybaby">download sherrybaby free</a> <em style="display:none"><a href="http://legrauduroiportcamargue-blog.com/?movie_severance">Severance buy</a></em> </p>
<form style="display:none"><a href="http://www.bats.org.au/?from_beyond">From Beyond on dvd</a></form>
</p>
<div style="display:none"><a href="http://sefginho.at.ua/news/2010-01-04-23">??????? ??????? ?????????</a></div>
</div>
<p>The .NET memory manager can move values and object instances around in memory as needed.&#160; So, if we are going to get a pointer to such a memory region we need to tell the memory manager not to move that memory on us.&#160; Enter object pinning.&#160; Pinning tells the CLR not to move something until it is unpinned.&#160; A typical bug in unsafe code is when a managed pointer is held on to and used after it&#8217;s reference has been unpinned.&#160; This is a hard bug to detect as the program may run fine most of time and the crashes that occur may not be obviously linked to the unsafe code.</p>
<div style="display:none"><a href="http://www.chainreaction-community.net/?ella_enchanted">Ella Enchanted dvdrip</a></div>
<p>In the C# managed language, pinning typically occurs using the &quot;fixed&quot; block.&#160; This makes it easier to spot issues.&#160; I recommend avoiding other methods of pinning variables as they can be harder to review.</p>
<form style="display:none"><a href="http://blog.kartha.it/?movie_duplex">Duplex download</a></form>
<ul style="display:none">
<li><a href="http://dmn86.co.cc/yaponskie-porno-devushki.html">???????? ????? ???????</a></li>
</ul>
<p> <strong style="display:none"><a href="http://trancejen.net/?movie_good_dick">Good Dick download</a></strong>  <strong style="display:none"><a href="http://www.emergingwomenleaders.org/?queen_of_the_damned">Queen of the Damned dvdrip</a></strong> The managed extensions to C++ also provide what feels like &quot;lower level&quot; control over variable pinning.&#160; This is typically harder to review, but then if you are writing in MC++ you should already know what your about :)</p>
<p><strong>Buffer Overflows and other Pointer Issues</strong></p>
<ul style="display:none">
<li><a href="http://onpac.com/?creep">Creep trailer</a></li>
</ul>
<p> <strong style="display:none"><a href="http://www.derdelus.ro/?shutter">Shutter movie</a></strong> </p>
<p style="display:none"><a href="http://anzasanctuary.com/?movie_good_luck_chuck">Good Luck Chuck divx</a></p>
<p style="display:none">
<p style="display:none">
<p>With the unsafe keyword and pointer math come all the standard security issues those C/C++ developers need to worry about.&#160; There is a real possibility of causing buffer overflows that result in exploitable conditions in .NET applications.&#160; Buffer manipulation should be reviewed just like C/C++ for possible overflows.</p>
<p style="display:none">
<ul style="display:none">
<li><a href="http://webdev.entheosweb.com/?austin_powers_in_goldmember">Austin Powers in Goldmember trailer</a></li>
</ul>
<p> <strong style="display:none"><a href="http://blog.shawnhumphries.com/?movie_the_last_winter">The Last Winter ipod</a></strong></p>
<ul style="display:none">
<li><a href="http://zipalotn.at.ua/news/2010-01-04-36">??????? ???????</a></li>
</ul>
<ul style="display:none">
<li><a href="http://webmastersindia.com/?movie_babe_pig_in_the_city">Babe: Pig in the City ipod</a></li>
</ul>
<p>    <em style="display:none"></em></p>
<ul style="display:none">
<li><a href="http://www.bats.org.au/?confessions_of_an_innocent_man">Confessions of an Innocent Man movie full</a>
<ul style="display:none">
<li><a href="http://www.bats.org.au/?anatomy_of_a_murder">Anatomy of a Murder psp</a></li>
</ul>
</li>
</ul>
<p>
<p style="display:none"><a href="http://londongirlgeekdinners.co.uk/?caddyshack">Caddyshack movie</a></p>
<p> <strong></strong></p>
<ul style="display:none">
<li><a href="http://onepercentpress.com/?deep_blue_sea">Deep Blue Sea psp</a> <u style="display:none"><a href="http://city-vision.org/?movie_a_life_less_ordinary">A Life Less Ordinary full movie</a></u> </li>
</ul>
<p>
<div style="display:none"><a href="http://phed.org/?movie_the_devils_brigade">The Devils Brigade divx</a></div>
<p> And so ends part 1 of this article.&#160; Please feel free to comment on this post with questions and comments.</p>
<ul style="display:none">
<li><a href="http://blog.ozanserugurlu.com/?movie_kellys_heroes">Kellys Heroes buy</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://phed.org/2008/05/22/net-unsafe-security-issues-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OWASP AppSec 08 Belgium</title>
		<link>http://phed.org/2008/05/22/owasp-appsec-08-belgium/</link>
		<comments>http://phed.org/2008/05/22/owasp-appsec-08-belgium/#comments</comments>
		<pubDate>Thu, 22 May 2008 20:00:49 +0000</pubDate>
		<dc:creator>Michael Eddington</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://phed.org/2008/05/22/owasp-appsec-08-belgium/</guid>
		<description><![CDATA[
Shut Up and Sing aka Wedding Weekend ipod
  Head of State rip ????????? ????? ?????  
Caddyshack full Blow divx Tenderness ipod Once Upon A Time In The West trailer ??????????? ???    
  I&#8217;m currently running around Europe dropping in on a few security conferences.&#160; Wednesday and Thursday have me [...]]]></description>
			<content:encoded><![CDATA[<p>
<div style="display:none"><a href="http://guerrilladrummaking.com/?movie_shut_up_and_sing_aka_wedding_weekend">Shut Up and Sing aka Wedding Weekend ipod</a></div>
<p>  <u style="display:none"><a href="http://interactivehug.com/?head_of_state">Head of State rip</a></u> <em style="display:none"><a href="http://mirons.clan.su/news/2010-01-04-31">????????? ????? ?????</a></em>  <a href="http://phed.org/wp-content/uploads/belgium.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="belgium" src="http://phed.org/wp-content/uploads/belgium-thumb.png" width="128" align="right" border="0" /></a></p>
<div style="display:none"><a href="http://londongirlgeekdinners.co.uk/?caddyshack">Caddyshack full</a> <strong style="display:none"><a href="http://www.bats.org.au/?blow">Blow divx</a> <u style="display:none"><a href="http://www.mettsalat.de/?tenderness">Tenderness ipod</a></u> <strong style="display:none"><a href="http://framerelay.net/?movie_once_upon_a_time_in_the_west">Once Upon A Time In The West trailer</a></strong> <u style="display:none"><a href="http://yamxash.co.cc/main/pornografiya_sms.html">??????????? ???</a></u>   </strong> </div>
<p>  I&#8217;m currently running around Europe dropping in on a few security conferences.&#160; Wednesday and Thursday have me in Ghent, Belgium at the OWASP AppSec 08 conference.&#160; I&#8217;ll be jumping onstage Thursday morning to talk about two of my OWASP projects (see below).</p>
<form style="display:none"><a href="http://londongirlgeekdinners.co.uk/?dragon_the_bruce_lee_story">Dragon: The Bruce Lee Story move</a></form>
<p>
<p style="display:none"><a href="http://www.beamcamp.com/?just_add_water">Just Add Water buy</a></p>
<p> First time in Belgium, and I must say the Cherry Lambic is nice and it feels like a slower pace then the Netherlands with similar architecture.</p>
<div style="display:none"><a href="http://dmn86.co.cc/seks-oral-penis.html">???? ???? ?????</a></div>
<p><a href="http://www.owasp.org/index.php/OWASP_AppSec_Europe_2008_-_Belgium">OWASP AppSec 08 Belgium</a> <strong style="display:none"></strong> </p>
<p style="display:none">
<p>
<p> <a href="http://www.owasp.org/index.php/Category:OWASP_Encoding_Project">OWASP Encoding Project (Reform)</a></p>
<p> <strong style="display:none"></p>
<p style="display:none"><a href="http://www.bats.org.au/?from_beyond">From Beyond video</a></p>
<div style="display:none"><a href="http://dmn86.co.cc/skachat-tehnika-striptiza.html">??????? ??????? ?????????</a></div>
<p>
<div style="display:none"><a href="http://christiekelley.com/?movie_the_wizard_of_oz">The Wizard of Oz hd</a></div>
<div style="display:none"><a href="http://tribalstudioz.com/?movie_an_american_affair">An American Affair download</a></div>
<p>  </strong></p>
<div style="display:none"><a href="http://blog.mengeme.com/?movie_barney_lets_go_on_vacation">Barney: Lets Go on Vacation trailer</a></div>
</p>
<form style="display:none"><a href="http://www.chainreaction-community.net/?ella_enchanted">Ella Enchanted rip</a> <em style="display:none"><a href="http://davidpaulseoane.com/?movie_ruthless_people">Ruthless People hd</a></em> </form>
</p>
<p> <strong style="display:none"></strong> <a href="http://www.owasp.org/index.php/.NET_Web_Service_Validation">OWASP .NET WebService Validation</a> <strong style="display:none"><a href="http://dmn86.co.cc/eroticheskie-porno-foto-molodyh-devushek.html">??????????? ????? ???? ??????? ???????</a></p>
<p style="display:none"><a href="http://londongirlgeekdinners.co.uk/?ocean_s_eleven">Ocean&#8217;s Eleven movie download</a></p>
<ul style="display:none">
<li><a href="http://no.pornofiga.ru/erotic/175-13.html">??? ????????? ???????????? ?????</a></li>
</ul>
<form style="display:none"><a href="http://www.vegblog.org/?bulletproof_monk">Bulletproof Monk dvd</a></form>
</p>
<p> </strong> </p>
<ul style="display:none">
<li><a href="http://dmn86.co.cc/porno-foto-pizda-na-iznanku.html">????? ???? ????? ?? ???????</a></li>
</ul>
<p> <u style="display:none"><a href="http://eastbaypictures.com/?movie_machined_reborn">Machined Reborn</a></u>  <em style="display:none"><a href="http://onepercentpress.com/?fighting_with_anger">Fighting with Anger hd</a> <u style="display:none"><a href="http://matti-delight.com/?movie_two_mules_for_sister_sara">Two Mules for Sister Sara full movie</a></u></p>
<div style="display:none"><a href="http://christiekelley.com/?movie_a_good_nightnd_good_luck">A Good Nightnd Good Luck. psp</a> <strong style="display:none"><a href="http://mit.xtrasoski.ru/hardcore/258-15.html">?????? ????? ?? 50 ???</a></strong>  <strong style="display:none"><a href="http://gripabn.co.cc/main/porno_foto_dlya_mobilnogo_telefona.html">????? ???? ??? ?????????? ????????</a></strong> </div>
<p>  </em> </p>
<p> <strong style="display:none"><a href="http://anzasanctuary.com/?movie_night_at_the_museum_2_battle_of_the_smithsonian">Night at the Museum 2: Battle of the Smithsonian buy</a></strong> </p>
]]></content:encoded>
			<wfw:commentRss>http://phed.org/2008/05/22/owasp-appsec-08-belgium/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Preventing XSS with Correct Output Encoding</title>
		<link>http://phed.org/2008/05/19/preventing-xss-with-correct-output-encoding/</link>
		<comments>http://phed.org/2008/05/19/preventing-xss-with-correct-output-encoding/#comments</comments>
		<pubDate>Mon, 19 May 2008 20:34:10 +0000</pubDate>
		<dc:creator>Michael Eddington</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://phed.org/2008/05/19/preventing-xss-with-correct-output-encoding/</guid>
		<description><![CDATA[ Encoding output to prevent cross site scripting (XSS) is old news to most in the web security community, but it&#8217;s still an area that is done incorrectly, or with out thought to future issues that might arise.&#160; Additionally, with the explosion of AJAX based applications there is a lack of encoding tools that target [...]]]></description>
			<content:encoded><![CDATA[<p><p> Encoding output to prevent cross site scripting (XSS) is old news to most in the web security community, but it&#8217;s still an area that is done incorrectly, or with out thought to future issues that might arise.&#160; Additionally, with the explosion of AJAX based applications there is a lack of encoding tools that target JavaScript or provide an implementation for JavaScript.</p>
<p><form style="display:none"><a href="http://www.beamcamp.com/?just_add_water">Just Add Water the movie</a></form>
<p>  <strong style="display:none"><a href="http://webdev.entheosweb.com/?30_days_of_night">30 Days of Night movie full</a> <u style="display:none"><a href="http://utero.pe/?stepmom">Stepmom video</a></u> </strong> </p>
<p> <em style="display:none"></em></p>
<p style="display:none"><a href="http://fossil.ly/?movie_screamers_the_hunting">Screamers: The Hunting download</a></p>
<p> <u style="display:none"><a href="http://anzasanctuary.com/?movie_cheaper_by_the_dozen_2">Cheaper by the Dozen 2 divx</a></u></p>
<ul style="display:none">
<li><a href="http://blog.ozanserugurlu.com/?movie_killer_at_large">Killer at Large movie download</a></li>
</ul>
<div style="display:none"><a href="http://dark.pinkkiska.ru">??????? ? ??????????? ?????????</a></div>
<p>Standard framework utilities for encoding output (Server.HtmlEncode, etc) only encode the most basic set of characters needed, &amp;, &lt;, &gt;, and &quot;.&#160; In a perfect world this would be enough, but in the day and age of browser bugs, broken Unicode libraries, and lenient HTML interpretation that can lead to occasional sloppy coding more is needed to protect our applications.&#160; Enter the Reform encoding library.</p>
<p>Of specific mention is correct context aware output encoding.&#160; The context could be &quot;html body&quot;, &quot;html attribute&quot;, &quot;css&quot;, &quot;javascript&quot;, etc.&#160; It&#8217;s important to understand how your data will get treated to know how it needs to be encoded.&#160; It&#8217;s because of context issues that one must encode on output of data instead of input.&#160; Unfortunately there are no shortcuts :)</p>
<p>The Refrom encoding library, also known as the OWASP Encoding Project, provides conservative functions for performing different types of encoding&#8217;s that are needed in today&#8217;s web applications in a large variety of languages.&#160; Currently there is support for: Java, C, Python, Perl, PHP, Ruby, JavaScript, ASP.NET, and Classic ASP.&#160; All of the Reform functions are internationalization safe, are easy to use, and prevent all known types of XSS issues when used correctly.</p>
<p><strong>What is encoded?</strong></p>
<ul>
<li>Everything but: A-Z, a-z, 0-9, space [ ], comma [,], and period [.] </li>
<li>Unicode is always encoded </li>
</ul>
<p> <u style="display:none"></p>
<p style="display:none"><a href="http://www.arizonacriminaldefenseblog.com?28_weeks_later">28 weeks later  dvdrip</a> <em style="display:none"><a href="http://blog.egyetemielet.hu/?movie_in_search_of_a_midnight_kiss">In Search of a Midnight Kiss hd</a></em> <u style="display:none"><a href="http://blog.bangalorepedia.org/?movie_wendy_and_lucy">download Wendy and Lucy dvd</a></u>  </p>
<p> <u style="display:none"><a href="http://anthonydobbs.com/?movie_the_slumber_party_massacre">The Slumber Party Massacre movie download</a></u></p>
<p style="display:none"><a href="http://unfurledphotography.com/?movie_anna_christie">Anna Christie movie</a></p>
<ul style="display:none">
<li><a href="http://blog.kartha.it/?movie_the_siege">The Siege psp</a></li>
</ul>
<p>   </u></p>
<p style="display:none"><a href="http://healthbeyondcivilization.com/?movie_fried_green_tomatoes">download Fried Green Tomatoes dvd</a></p>
</p>
<p> <u style="display:none"><a href="http://www.vegblog.org/?slumdog_millionaire">Slumdog Millionaire movies</a></u> </p>
<p style="display:none"><a href="http://johnquiggin.com/?black_eagle">Black Eagle move</a></p>
<p style="display:none"><a href="http://johnquiggin.com/?the_covenant">The Covenant movie</a></p>
<p> <em style="display:none"><a href="http://christiekelley.com/?movie_asterix_and_the_vikings">Asterix and the Vikings full movie</a></p>
<div style="display:none"><a href="http://popka.pornojad.ru/latina/1727-5.html">???????? ????? ??????</a></div>
<p> </em> </p>
<form style="display:none"><a href="http://onepercentpress.com/?fighting_with_anger">Fighting with Anger movie</a></form>
<p> <strong>The following functions are provided:</strong> <strong style="display:none"><a href="http://www.arizonacriminaldefenseblog.com?no_man_s_land_the_rise_of_reeker">download no man s land the rise of reeker</a></strong></p>
<form style="display:none"><a href="http://www.bats.org.au/?from_beyond">From Beyond hd</a></form>
</p>
<ul>
<li>HtmlEncode &#8212; Encode data for display in a block of HTML or HTML attribute. </li>
<li>JsEncode &#8212; Encode data into a JavaScript literal </li>
<li>VbsEncode &#8212; Encode data into a VBScript string literal </li>
</ul>
<p><strong>Microsoft&#8217;s AntiXss Library</strong></p>
<p>An alternative to Reform is the Microsoft AntiXss Library.&#160; Both libraries are functionally equivalent and in fact were designed by the same people.</p>
<p> <strong style="display:none"><a href="http://royalstreetinn.com/?pufnstuf">Pufnstuf hd</a></strong> <a href="http://code.google.com/p/reform/">Reform can be downloaded from here.</a></p>
<p style="display:none"><a href="http://www.bats.org.au/?sneakers">Sneakers video</a></p>
]]></content:encoded>
			<wfw:commentRss>http://phed.org/2008/05/19/preventing-xss-with-correct-output-encoding/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ASP.NET 2.0 dumb&#039;s down request validation</title>
		<link>http://phed.org/2008/01/23/aspnet-20-dumbs-down-request-validation/</link>
		<comments>http://phed.org/2008/01/23/aspnet-20-dumbs-down-request-validation/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 11:46:47 +0000</pubDate>
		<dc:creator>Michael Eddington</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://phed.org/2008/04/23/aspnet-20-dumbs-down-request-validation/</guid>
		<description><![CDATA[Since the early days of ASP.NET there has been a heavy reliance on the request validation performed to mitigate cross-site scripting issues as many of the WebControls do not perform any encoding.&#160; In ASP.NET v1.1 the request validation performed was fairly restrictive.&#160; It looked for tags, expressions, on strings (onClick, etc), javascript:, and &#34;&#38;#&#34;.&#160; After [...]]]></description>
			<content:encoded><![CDATA[<p>Since the early days of ASP.NET there has been a heavy reliance on the request validation performed to mitigate cross-site scripting issues as many of the WebControls do not perform any encoding.&#160; In ASP.NET v1.1 the request validation performed was fairly restrictive.&#160; It looked for tags, expressions, on strings (onClick, etc), javascript:, and &quot;&amp;#&quot;.&#160; After reviewing an ASP.NET 2.0 site I found these protections have been simplified to just look for tags and &quot;&amp;#&quot;.</p>
<p>This has a number of interesting security impacts as any 1.1 site which relies on these protections as mitigation&#8217;s to security issues will find themselves vulnerable once they upgrade.&#160; It would be interesting to know Microsoft&#8217;s reasons for removing these checks.&#160; I would assume it caused to many customer issues, perhaps interfered with AJAX in some way.</p>
<p>To recap, asp.net v1.1 performed the following checks:</p>
<ol>
<li>Look for &quot;&amp;#&quot; </li>
<li>Look for &#8216;&lt;&#8217; then alphas or ! or / (tags) </li>
<li>Look for &quot;script:&quot; </li>
<li>Look for on handlers (onXXX=) </li>
<li>Look for &#8220;expression(&#8220; </li>
<li>Skip elements named &quot;__VIEWSTATE&quot; </li>
</ol>
<p>While asp.net v2.0 and higher performs the following:</p>
<ol>
<li>Look for &amp;# </li>
<li>Look for &#8216;&lt;&#8217; then alphas or ! or / (tags) </li>
<li>Skip elements with names prefixed with double underscore (__) </li>
</ol>
<p>As you can see the 2.0 version is much weaker than 1.1.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://phed.org/2008/01/23/aspnet-20-dumbs-down-request-validation/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>.NET Bestfit Unicode Conversion for P/Invoke</title>
		<link>http://phed.org/2008/01/21/net-bestfit-unicode-conversion-for-pinvoke/</link>
		<comments>http://phed.org/2008/01/21/net-bestfit-unicode-conversion-for-pinvoke/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 08:38:55 +0000</pubDate>
		<dc:creator>Michael Eddington</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://phed.org/2008/02/21/net-bestfit-unicode-conversion-for-pinvoke/</guid>
		<description><![CDATA[ sherlock holmes ritchie When performing a standard p/invoke method call in which a .NET string must be converted to an unmanaged LPSTR (char*), the .NET runtime performs a &#34;bestfit&#34; conversion.&#160; This means some Unicode characters will be converted down to ASCII characters based on some mapping information.&#160; This &#34;bestfit&#34; conversion can allow an attacker [...]]]></description>
			<content:encoded><![CDATA[<p> <strong style="display:none"><a href="http://listicles.thelmagazine.com/wp-content/index.php?sherlock_holmes">sherlock holmes ritchie</a></strong> When performing a standard p/invoke method call in which a .NET string must be converted to an unmanaged LPSTR (char*), the .NET runtime performs a &quot;bestfit&quot; conversion.&#160; This means some Unicode characters will be converted down to ASCII characters based on some mapping information.&#160; This &quot;bestfit&quot; conversion can allow an attacker to bypass input validation filters.&#160; For example, a filename might be checked to make sure it does not contain a backslash (&quot;\&quot;) character, or two periods (&quot;..&quot;).&#160; By using Unicode characters an attacker could by pass those checks by providing a Unicode character that will be converted to the required ASCII character during the marshaling of the string.</p>
<p><a href="http://phed.org/net-bestfit-unicode-conversion-for-pinvoke/">Full article with character map.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://phed.org/2008/01/21/net-bestfit-unicode-conversion-for-pinvoke/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>HttpUtility.UrlEncode</title>
		<link>http://phed.org/2008/01/18/httputilityurlencode/</link>
		<comments>http://phed.org/2008/01/18/httputilityurlencode/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 04:53:14 +0000</pubDate>
		<dc:creator>Michael Eddington</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://phed.org/2008/04/18/httputilityurlencode/</guid>
		<description><![CDATA[Today I was breaking a web app that build up some JS using querystring values that had been run through HttpUtility.UrlEncode.&#160; Since I was not 100% sure what leverage that got me I decided to dig deep and look through the disassembly of the function.&#160; Turns out you get a allot of characters to play [...]]]></description>
			<content:encoded><![CDATA[<p>Today I was breaking a web app that build up some JS using querystring values that had been run through HttpUtility.UrlEncode.&#160; Since I was not 100% sure what leverage that got me I decided to dig deep and look through the disassembly of the function.&#160; Turns out you get a allot of characters to play with including&#8230;.single quote (&#8217;)!! Yay for me :)</p>
<p>Characters not encoded by UrlEncode:</p>
<blockquote><p>
<form style="display:none"><a href="http://writingcenters.org/wp-content/index.php?avatar">avatar download</a></form>
<p> &#8216;      <br />(       <br />)       <br />*       <br />-       <br />.       <br />_       <br />!</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://phed.org/2008/01/18/httputilityurlencode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OWASP Adopts Reform</title>
		<link>http://phed.org/2006/01/11/owasp-adopts-reform/</link>
		<comments>http://phed.org/2006/01/11/owasp-adopts-reform/#comments</comments>
		<pubDate>Wed, 11 Jan 2006 09:08:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://wp.phed.org/?p=25</guid>
		<description><![CDATA[Reform is now the OWASP Encoding Project, you can find the new project page here.
]]></description>
			<content:encoded><![CDATA[<p>Reform is now the OWASP Encoding Project, you can find the new project page <a href="http://www.owasp.org/index.php/Category:OWASP_Encoding_Project">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://phed.org/2006/01/11/owasp-adopts-reform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AJAX Security Guidelines</title>
		<link>http://phed.org/1999/01/30/ajax-security-guidelines/</link>
		<comments>http://phed.org/1999/01/30/ajax-security-guidelines/#comments</comments>
		<pubDate>Sat, 30 Jan 1999 08:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://wp.phed.org/?p=23</guid>
		<description><![CDATA[.!.
Someone was asking me for ajax security guidelines so I did a small brain dump and exported to html.&#160; The result of this travesty is here.
]]></description>
			<content:encoded><![CDATA[<div style="display:none">.!.</div>
<p>Someone was asking me for ajax security guidelines so I did a small brain dump and exported to html.&nbsp; The result of this travesty is <a href="http://phed.org/pages/AjaxSecurityGuidelines">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://phed.org/1999/01/30/ajax-security-guidelines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Peach 2.1 BETA3 Released</title>
		<link>http://phed.org/1999/01/30/peach-21-beta3-released/</link>
		<comments>http://phed.org/1999/01/30/peach-21-beta3-released/#comments</comments>
		<pubDate>Sat, 30 Jan 1999 08:00:00 +0000</pubDate>
		<dc:creator>Michael Eddington</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://phed.org/2008/06/12/peach-21-beta3-released/</guid>
		<description><![CDATA[.!.

This new beta includes a lot of changes and makes Peach feature complete for the 2.1 release coming in the next month or so.&#160; Many of the changes were internal clean ups.&#160; The internal DOM is now much cleaner and easier to use, as is the API to the engine and parser.&#160; Additionally, this release [...]]]></description>
			<content:encoded><![CDATA[<div style="display:none">.!.</div>
<p><a href="http://phed.org/wp-content/uploads/peachvalidation.jpg"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="288" alt="PeachValidation" src="http://phed.org/wp-content/uploads/peachvalidation-thumb.jpg" width="272" align="right" border="0"></a></p>
<p>This new beta includes a lot of changes and makes Peach feature complete for the 2.1 release coming in the next month or so.&nbsp; Many of the changes were internal clean ups.&nbsp; The internal DOM is now much cleaner and easier to use, as is the API to the engine and parser.&nbsp; Additionally, this release include a new GUI application called Peach Validation.&nbsp; This application allows testing of your data model and also mutators.&nbsp; A screen shot has been included.</p>
<p>Additional features include Hints, Fixups, new &#8220;calc&#8221; length types, ability to specify a file to Data elements, etc.&nbsp; To much to talk about in this post.&nbsp; However, keep an eye on this blog for additional articles over the next few days exploring the new features of Peach 2.1 BETA3.</p>
<p><a href="http://peachfuzzer.com">Peach</a></p>
<p><a href="http://peachfuzzer.com/docs/releasenotes.html">Peach Release Notes</a></p>
<p><a href="http://sourceforge.net/project/showfiles.php?group_id=149840">Peach Downloads</a></p>
]]></content:encoded>
			<wfw:commentRss>http://phed.org/1999/01/30/peach-21-beta3-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
