<?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>Caffeinated Coder &#187; Security</title>
	<atom:link href="http://www.caffeinatedcoder.com/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.caffeinatedcoder.com</link>
	<description>A Grande, Triple Shot, Non-Fat Core Dump by Russell Ball</description>
	<lastBuildDate>Mon, 16 Aug 2010 03:17:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Website Hall of Shame</title>
		<link>http://www.caffeinatedcoder.com/website-hall-of-shame/</link>
		<comments>http://www.caffeinatedcoder.com/website-hall-of-shame/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 03:22:08 +0000</pubDate>
		<dc:creator>Russell Ball</dc:creator>
				<category><![CDATA[Musings, Rants]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.caffeinatedcoder.com/?p=1085</guid>
		<description><![CDATA[Today&#8217;s featured website: European Visa Online
I visited this site for the first time today and was greeted with this page.

Seriously?
In case you&#8217;re curious, I&#8217;m running firefox 3.6.3.
Web developers and designers have scorned and mocked IE 6 for years now due to hoards of bugs and non-compliant behavior that cause endless development headaches.
However, IE 6 rose [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p><strong>Today&#8217;s featured website:</strong> <a href="https://www.eu.visaonline.com">European Visa Online</a></p>
<p>I visited this site for the first time today and was greeted with this page.</p>
<p><img class="aligncenter size-full wp-image-1086" title="blog_visa_shame" src="http://www.caffeinatedcoder.com/wp-content/uploads/2010/04/blog_visa_shame.png" alt="blog_visa_shame" width="450" height="354" /></p>
<p>Seriously?</p>
<p>In case you&#8217;re curious, I&#8217;m running firefox 3.6.3.</p>
<p>Web developers and designers have scorned and mocked IE 6 for years now due to hoards of bugs and non-compliant behavior that cause <a href="http://www.virtuosimedia.com/tutorials/ultimate-ie6-cheatsheet-how-to-fix-25-internet-explorer-6-bugs">endless development headaches</a>.</p>
<p>However, IE 6 rose to a new level of infamy earlier this year when it turned out to be the culprit behind the <a href="http://siblog.mcafee.com/cto/operation-%E2%80%9Caurora%E2%80%9D-hit-google-others/">Operation Aurora</a> exploits, which led to Google and others to officially drop support for the browser due to security risks.</p>
<p>It also led to many European governments, such as <a href="http://news.bbc.co.uk/2/hi/technology/8463516.stm germany">Germany</a>, <a href="http://news.bbc.co.uk/2/hi/8465038.stm">France</a>, and nearly <a href="http://www.theregister.co.uk/2010/02/02/internet_explorer_6_petition/">the UK</a>, to officially urge its citizens to switch browsers.</p>
<p>That made this page all the more surprising since it came from the European branch of Visa.</p>
<p>Then again, maybe I shouldn&#8217;t be surprised.</p>
<p>One of the very next pages prevented me from changing my initial password because the password generated by <a href="http://keepass.info/">KeePass </a>with the default settings was too long&#8230;.that&#8217;s right&#8230;.too long to meet their password validation rules.</p>
<p><img class="aligncenter size-full wp-image-1089" title="visa_strike4" src="http://www.caffeinatedcoder.com/wp-content/uploads/2010/04/visa_strike4.png" alt="visa_strike4" width="450" height="167" /></p>
<p>I easily have over 100 passwords in my password database and I can&#8217;t remember the last time I&#8217;ve had this problem.</p>
<p>It doesn&#8217;t exactly inspire confidence in the area of security, especially considering that Visa is one of the most prominent and ubiquitous financial institution around.</p>
<p>Sigh&#8230;</p>
<img src="http://www.caffeinatedcoder.com/?ak_action=api_record_view&id=1085&type=feed" alt="" />

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.caffeinatedcoder.com/website-hall-of-shame/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>How to use Cross-Site Scripting to Rickroll your Co-Workers</title>
		<link>http://www.caffeinatedcoder.com/how-to-use-cross-site-scripting-to-rickroll-your-co-workers/</link>
		<comments>http://www.caffeinatedcoder.com/how-to-use-cross-site-scripting-to-rickroll-your-co-workers/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 22:42:30 +0000</pubDate>
		<dc:creator>Russell Ball</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.caffeinatedcoder.com/?p=1058</guid>
		<description><![CDATA[What happens when you mix one of the most evil things in music with the evil that is cross-site scripting?
Let&#8217;s just say that the potential for shenanigans is endless.
Observe the result of entering the following embed tag into an editable column for one of our internal web apps.


   1: &#60;embed src="http://www.youtube.com/v/XZ5TajZYW6Y&#38;hl=en_US&#38;fs=1&#38;rel=0&#38;autoplay=1" type="application/x-shockwave-flash" width="640" [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>What happens when you mix one of <a href="http://en.wikipedia.org/wiki/Rickrolling">the most evil things in music</a> with the evil that is <a href="http://en.wikipedia.org/wiki/Cross-site_scripting">cross-site scripting</a>?</p>
<p>Let&#8217;s just say that the potential for shenanigans is endless.</p>
<p>Observe the result of entering the following embed tag into an editable column for one of our internal web apps.</p>
<div style="border: 1px solid gray; padding: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: consolas,'Courier New',courier,monospace; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text;">
<div style="border-style: none; padding: 0px; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: consolas,'Courier New',courier,monospace; color: black; font-size: 8pt; overflow: visible;">
<pre style="border-style: none; padding: 0px; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; color: black; font-size: 8pt; overflow: visible;"><span style="color: #606060">   1:</span> &lt;embed src=<span style="color: #006080">"http://www.youtube.com/v/XZ5TajZYW6Y&amp;hl=en_US&amp;fs=1&amp;rel=0&amp;autoplay=1"</span> type=<span style="color: #006080">"application/x-shockwave-flash"</span> width=<span style="color: #006080">"640"</span> height=<span style="color: #006080">"385"</span> autoplay=<span style="color: #006080">"true"</span>&gt;&lt;/embed&gt;.</pre>
</div>
</div>
<p><img class="aligncenter  size-full wp-image-1059" title="blog_RickRolled" src="http://www.caffeinatedcoder.com/wp-content/uploads/2010/04/blog_RickRolled.png" alt="blog_RickRolled" width="450" height="249" /></p>
<p>Like a huge number of websites, this one directly displays the  user-input on the screen without first scrubbing it with something like  HttpUtility.HtmlEncode() (.NET world).</p>
<p>Want to partake in the fun?</p>
<p>All you have to do is find an internal website in your development environment that is vulnerable by trying to paste the embed tag into a textbox of some editable grid. If the video displays after saving, then simply send a fellow developer or tester an email asking them to go to the vulnerable page and verify some made-up bug. When they pull it up, they will be rickrolled.</p>
<p>Many thanks to Dan, our new tester, for catching this bug and hatching the evil plot.</p>
<p>Any other suggestions on fun things I can do to my co-workers before this bug gets fixed (without getting me fired)?</p>
<img src="http://www.caffeinatedcoder.com/?ak_action=api_record_view&id=1058&type=feed" alt="" />

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.caffeinatedcoder.com/how-to-use-cross-site-scripting-to-rickroll-your-co-workers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Oh, so THAT&#8217;s why SSL is the default for SVN&#8230;</title>
		<link>http://www.caffeinatedcoder.com/oh-so-thatrsquos-why-ssl-is-the-default-for-svnhellip/</link>
		<comments>http://www.caffeinatedcoder.com/oh-so-thatrsquos-why-ssl-is-the-default-for-svnhellip/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 17:24:39 +0000</pubDate>
		<dc:creator>Russell Ball</dc:creator>
				<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.caffeinatedcoder.com/oh-so-thatrsquos-why-ssl-is-the-default-for-svnhellip/</guid>
		<description><![CDATA[It appears as though I made a rather bone-headed mistake when configuring  Subversion at work a few weeks ago.
Since we were not exposing our SVN server externally and decided that sending  our code files in plain text across our internal network did not represent a  significant security risk, we opted to not use SSL [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>It appears as though I made a rather bone-headed mistake when configuring  Subversion at work a few weeks ago.</p>
<p>Since we were not exposing our SVN server externally and decided that sending  our code files in plain text across our internal network did not represent a  significant security risk, we opted to not use SSL as a way to optimize  performance.</p>
<p>I’m not sure why I assumed that the actual credentials would be encrypted  even though I knew the content would not be.</p>
<p>Perhaps it was because we were using  windows authentication security scheme in SVN. Maybe it was because I actually  opened up the svn.simple file in the Subversion app data cache on my local  machine and saw that my TortoiseSVN credentials were saved in an encrypted form  on disk when using the ‘save credentials’ checkbox.</p>
<p>Whatever the reason, it was a very bad assumption.</p>
<p>Here is a screen shot from <a href="http://www.wireshark.org/">WireShark</a>,  my favorite packet sniffer. The blurred out part under authentication was my  windows password in clear text. Oops…</p>
<p><img class="aligncenter size-full wp-image-504" title="packetsniffercredentials" src="http://www.caffeinatedcoder.com/wp-content/uploads/2009/02/packetsniffercredentials.png" alt="packetsniffercredentials" width="450" height="361" /></p>
<p>Luckily, it was an easy matter to correct.</p>
<p>On the server-side, I simply had to check a box on the property tab of Visual  SVN to turn SSL back on. On the client side, I had to have everyone run an svn  switch command with the –relocate option to change their working directories to  use the new url.</p>
<p>So what was the lesson learned?</p>
<p>Next time I make a mistake like this, I will  use WireShark to gather all of the passwords of my fellow developers before I  switch to the more secure option. Dumb…dumb…dumb…</p>
<img src="http://www.caffeinatedcoder.com/?ak_action=api_record_view&id=502&type=feed" alt="" />

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.caffeinatedcoder.com/oh-so-thatrsquos-why-ssl-is-the-default-for-svnhellip/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Battling Password Chaos</title>
		<link>http://www.caffeinatedcoder.com/battling-password-chaos/</link>
		<comments>http://www.caffeinatedcoder.com/battling-password-chaos/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 06:52:20 +0000</pubDate>
		<dc:creator>Russell Ball</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.caffeinatedcoder.com/battling-password-chaos/</guid>
		<description><![CDATA[Keeping track of my passwords has been a nagging problem for me for a long time, but I only recently got around to doing something about it.
I&#8217;m ashamed to admit it, but up until now I&#8217;ve relied on a few popular but extremely insecure strategies to manage my various online identities.

Reusing passwords &#8211; The obvious [...]


Related posts:<ol><li><a href='http://www.caffeinatedcoder.com/website-hall-of-shame/' rel='bookmark' title='Permanent Link: Website Hall of Shame'>Website Hall of Shame</a> <small>Today&#8217;s featured website: European Visa Online I visited this site...</small></li></ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Keeping track of my passwords has been a nagging problem for me for a long time, but I only recently got around to doing something about it.</p>
<p>I&#8217;m ashamed to admit it, but up until now I&#8217;ve relied on a <strong>few popular but extremely insecure strategies to manage my various online identities</strong>.</p>
<ol>
<li><strong>Reusing passwords</strong> &#8211; The obvious danger here is that some script kiddie compromises a very insecure &#8216;mom and pop&#8217; site that stores my password as plain text and then goes around to all the popular sites trying it out until he finds one that works. Even though I was foolish enough to take this risk for years, most sites have different password complexity rules. That meant that I still had to rely on several different userNames and passwords combinations, which made revisiting sites that I hadn&#8217;t been to in a while painful since I invariably had to try several times before hitting upon the right one.</li>
<li><strong>Forgot Password Email Feature</strong> &#8211;  I don&#8217;t know about you, but I don&#8217;t normally access my yahoo email over SSL and many sites simply resend the password in plain text. This means that my password is visible to anyone with a strategically placed packet sniffer, like <a href="http://www.wireshark.org/download.html">WireShark</a>. It&#8217;s also annoying to have to wait for the email to be sent each time.</li>
<li><strong>Firefox Password Manager</strong> &#8211; I let Firefox remember passwords for me all the time and I recently discovered that this is hugely insecure. If you&#8217;ve never used the <a href="http://www.gtopala.com/siw-download.html">SIW (System Information for Windows)</a> tool from gtopala.com, take 30 seconds to download it and then click on the secrets node under software. You will be greeted with all of your passwords in plain text from any site that you&#8217;ve allowed Firefox to remember for you. That means if anyone ever gets even momentary access to your computer, all of your online identities will be compromised. Not cool.</li>
<li><strong>Password protected Excel worksheet &#8211; </strong>Let&#8217;s face it. Microsoft Office security is a joke. I&#8217;ve tried <a href="http://www.passwordrecoverytools.com/">this tool</a> with file based dictionaries from <a href="http://www.outpost9.com/files/WordLists.html">this site</a> on Excel 2003 documents and it has cracked the passwords almost instantly. I&#8217;ve tried <a href="http://www.lostpassword.com/excel.htm">this other tool</a> with Office 2007 documents, which uses stronger encryption. It was pretty slow, but it eventually figured out the password as well.</li>
</ol>
<p>Whether I&#8217;ve legitimately scared you or else you&#8217;re just sick of jumping through the &#8220;Forgot Password&#8221; hoops, I highly recommend trying <a href="http://keepass.info/">KeePass</a>. It is a open source password management tool that lets you store passwords securely and safely copy credentials into web forms.</p>
<p>KeePass lets you logon using a password/file combination for extra security and has several clipboard security measures built-in to prevent clipboard monitoring hacker tools from stealing the password while you&#8217;re pasting it into a website.</p>
<p>As far as encryption is concerned, the site boasts that <strong>even if you would use all computers in the world to attack one database, decrypting it would take longer than the age of the universe.</strong> That seems pretty secure to me&#8230;</p>
<p><img src="http://farm3.static.flickr.com/2394/2248203002_615dc5b957.jpg?v=0" /></p>
<p>If you&#8217;re still being lazy and insecure like I was, why not do something about it?</p>
<p>It only takes a few minutes to download and you will dramatically decrease your security related browsing frustrations as well as reduce your risk of identity theft.</p>
<img src="http://www.caffeinatedcoder.com/?ak_action=api_record_view&id=288&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.caffeinatedcoder.com/website-hall-of-shame/' rel='bookmark' title='Permanent Link: Website Hall of Shame'>Website Hall of Shame</a> <small>Today&#8217;s featured website: European Visa Online I visited this site...</small></li></ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.caffeinatedcoder.com/battling-password-chaos/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>
