<?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>Chris&#039; Blog &#187; Life</title>
	<atom:link href="http://www.cs278.org/blog/category/life/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cs278.org/blog</link>
	<description>“A metal loving, web developing, open source contributor.”</description>
	<lastBuildDate>Sun, 03 Apr 2011 14:36:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Jump In! Camp</title>
		<link>http://www.cs278.org/blog/2010/03/13/jump-in-camp/</link>
		<comments>http://www.cs278.org/blog/2010/03/13/jump-in-camp/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 13:52:37 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[phpBB]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[events]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=538</guid>
		<description><![CDATA[I&#8217;ve been invited alongside two fellow phpBB developers to attend Microsoft&#8217;s Jump In! Developers&#8217; Campnext month in Switzerland to learn about interoperability between Microsoft&#8217;s software stacks and PHP applications. For more information on how to attend this event read on &#8230; <a href="http://www.cs278.org/blog/2010/03/13/jump-in-camp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been invited alongside two fellow <a href="http://www.phpbb.com/" rel="external">phpBB</a> developers to attend <a href="http://www.microsoft.com/" rel="external">Microsoft&#8217;s</a> <em>Jump In! Developers&#8217; Camp</em>next month in Switzerland to learn about interoperability between Microsoft&#8217;s software stacks and PHP applications. For more information on how to attend this event read on or visit, <a href="http://www.jumpincamp.com/" rel="external">www.jumpincamp.com</a>.</p>
<p><span id="more-538"></span></p>
<blockquote><p>Open source programming and Microsoft: two incompatible worlds? Microsoft is partnering with renowned actors of the open-source community to organise the <em>Jump In! Developers&#8217; Camp</em> in an effort to combat this misperception. Twenty-five knowledge-hungry open source application developers from all over Europe will be invited to spend four unforgettable days of dialogue, networking and workshops at the beautiful Panorama Resort &#038; Spa Feusisberg in Switzerland.</p>
<p>The Jump In! Developers&#8217; Camp is designed primarily for open-source application developers who are interested in increasing their skills in a range of specific areas. Here they will be able to experiment with ways of combining open-source technologies with Microsoft products to optimize applications. But don’t worry: no one is out to ‘convert’ anybody! The aim instead is to promote interoperability, problem-solving and enhance programming skills. Software experts will be on hand to provide tips and advice, and a range of workshops will be held on topics including Azure, IIS, Silverlight and more in combination with open-source applications. Plenty of time for actual coding will be available.</p>
<p>Potential participants are invited to file an application at <a href="http://www.jumpincamp.com/" rel="external">www.jumpincamp.com</a>, outlining their profile. The 25 developers who are creating the most “buzz” for themselves and their programming abilities will then be selected. Attendees of the JumpIn! Developers&#8217; Camp will then record their impressions and experiences in a live blog for their community of ‘followers’. The Camp will be held between 6 &#8211; 9 April 2010.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2010/03/13/jump-in-camp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One enormous footer</title>
		<link>http://www.cs278.org/blog/2010/01/31/one-enormous-footer/</link>
		<comments>http://www.cs278.org/blog/2010/01/31/one-enormous-footer/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 17:46:49 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Humour]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=518</guid>
		<description><![CDATA[Lloyds TSB Bank plc. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales, number 2065. Telephone: 020 7626 1500. Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 327000. Telephone: &#8230; <a href="http://www.cs278.org/blog/2010/01/31/one-enormous-footer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p>Lloyds TSB Bank plc. Registered Office: 25 Gresham Street, London EC2V 7HN. Registered in England and Wales, number 2065. Telephone: 020 7626 1500.</p>
<p>Bank of Scotland plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 327000. Telephone: 0870 600 5000</p>
<p>Lloyds TSB Scotland plc. Registered Office: Henry Duncan House, 120 George Street, Edinburgh EH2 4LH. Registered in Scotland, number 95237. Telephone: 0131 225 4555.<br />
Cheltenham &#038; Gloucester plc. Registered Office: Barnett Way, Gloucester GL4 3RL. Registered in England and Wales, number 2299428. Telephone: 01452 372372.</p>
<p>Lloyds TSB Bank plc, Lloyds TSB Scotland plc, Bank of Scotland plc and Cheltenham &#038; Gloucester plc are authorised and regulated by the Financial Services Authority.<br />
Halifax is a division of Bank of Scotland plc. Cheltenham &#038; Gloucester Savings is a division of Lloyds TSB Bank plc.<br />
HBOS plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 218813. Telephone: 0870 600 5000</p>
<p>Lloyds Banking Group plc. Registered Office: The Mound, Edinburgh EH1 1YZ. Registered in Scotland, number 95000. Telephone: 0131 225 4555</p>
<p>This e-mail (including any attachments) is private and confidential and may contain privileged material. If you have received this e-mail in error, please notify the sender and delete it  (including any attachments) immediately. You must not copy, distribute, disclose or use any of the information in it or any attachments.</p>
<p>Telephone calls may be monitored or recorded.</p>
</blockquote>
<p>I removed the double line spacing as well!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2010/01/31/one-enormous-footer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why do I bother?</title>
		<link>http://www.cs278.org/blog/2010/01/31/why-do-i-bother/</link>
		<comments>http://www.cs278.org/blog/2010/01/31/why-do-i-bother/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 13:52:23 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[kinslayer]]></category>
		<category><![CDATA[Upgrades]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=514</guid>
		<description><![CDATA[Updated my desktop from Ubuntu &#8216;Jaunty&#8217; 9.04 to Ubuntu &#8216;Karmic&#8217; 9.10, the upgrade process worked flawlessly. Sadly the number of regressions has kind of taken the shine of the various improvements to the distribution. The big kicker for me is &#8230; <a href="http://www.cs278.org/blog/2010/01/31/why-do-i-bother/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Updated my desktop from Ubuntu &#8216;Jaunty&#8217; 9.04 to Ubuntu &#8216;Karmic&#8217; 9.10, the upgrade process worked flawlessly. Sadly the number of regressions has kind of taken the shine of the various improvements to the distribution.</p>
<p>The big kicker for me is the breaking of VLC and/or Gnome Screensaver, now VLC fails to suppress the screensaver in full screen which is kind of useless when you want to watching anything over 5 minutes long. To workaround this I use <code>gnome-screensaver-command --inhibit</code> to prevent the screensaver from activating, and set a command to kill that after 2 hours. The next problem I&#8217;ve observed is that even when the suppression and the film have both ended, the screensaver still doesn&#8217;t want to activate for ages; leaving my desktop burning the image into the screen until I lock the screen myself. Not a problem but I often hit the hay with a film on and usually fall asleep midway through, got up yesterday morning to find my desktop sat there still being projected from my display. <a href="https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/428884" rel="external">LP #428884</a>.</p>
<p>My second gripe is Flash player under a x86-64 installation using nspluginwrapper and the x86 Flash player provided in the repositories works, what&#8217;s so bad about that? Well you can&#8217;t actually click on any controls on the Flash object, which kind of rules out embedded YouTube, BBC iPlayer, etc. roll on &lt;video&gt; with Ogg Theora. I resolved this by purging the packaged Flash and nspluginwrapper, and then installing the native 64 bit alpha version <a href="http://labs.adobe.com/downloads/flashplayer10_64bit.html" rel="external">from Adobe</a>.</p>
<p>Finally <a href="http://getfirebug.com/" rel="external">Firebug 1.5</a> doesn&#8217;t support 64 bit builds of Firefox, which to be fair Mozilla don&#8217;t support so I don&#8217;t really have a problem with this. You need to get an <a href="http://getfirebug.com/releases/firebug/1.4/" rel="external">older release</a> from the 1.4 branch, I&#8217;ve heard that the 1.6 alphas work again.</p>
<p>Good grumbling done for the morning!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2010/01/31/why-do-i-bother/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How customer service should be</title>
		<link>http://www.cs278.org/blog/2009/12/14/how-customer-service-should-be/</link>
		<comments>http://www.cs278.org/blog/2009/12/14/how-customer-service-should-be/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 19:49:16 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Humour]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[customer service]]></category>
		<category><![CDATA[retail]]></category>
		<category><![CDATA[shopping]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=509</guid>
		<description><![CDATA[Awesome and entertaining customer service from IWOOT! I&#8217;m sorry to hear about this, but thank you for letting us know. I&#8217;ve just sent a request for a new one to be sent out to you, so you should receive it &#8230; <a href="http://www.cs278.org/blog/2009/12/14/how-customer-service-should-be/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Awesome and entertaining customer service from <a href="http://www.iwantoneofthose.com/"><abbr title="I Want One Of Those">IWOOT</abbr></a>!</p>
<blockquote><p>I&#8217;m sorry to hear about this, but thank you for letting us know.</p>
<p>I&#8217;ve just sent a request for a new one to be sent out to you, so you should receive it soon.</p>
<p>There&#8217;s no need to return the broken one, we wouldn&#8217;t want the posties to be carrying around broken pottery in their bags &#8211; they have enough to complain about! Just take care and dispose of it safely.</p>
<p>I hope this helps a wee bit?</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2009/12/14/how-customer-service-should-be/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mah Pizza</title>
		<link>http://www.cs278.org/blog/2009/02/03/mah-pizza/</link>
		<comments>http://www.cs278.org/blog/2009/02/03/mah-pizza/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 01:42:31 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Humour]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[phpBB]]></category>
		<category><![CDATA[phpBB Edinburgh 2009]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=443</guid>
		<description><![CDATA[Thanks Will! and Kenny.]]></description>
			<content:encoded><![CDATA[<div style="text-align: center">
<p><a href="http://static.cs278.org/multimedia/images/misc/2009/edinburgh_pizza.jpg"><img src="http://static.cs278.org/multimedia/images/misc/2009/edinburgh_pizza.jpg" alt="Pizza: Iz mine n u can't have any!" /></a></p>
<p>Thanks <a href="http://www.willhough.net/" rel="external friend">Will</a>! and <a href="http://www.sixstringmods.co.uk/" rel="external friend met">Kenny</a>.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2009/02/03/mah-pizza/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Year Server Crash</title>
		<link>http://www.cs278.org/blog/2009/01/01/new-year-server-crash/</link>
		<comments>http://www.cs278.org/blog/2009/01/01/new-year-server-crash/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 13:21:49 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[sandman]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=436</guid>
		<description><![CDATA[My server for some reason unknown to me crashed last night, in the middle of new year festivities. Extracts from my logs show the, hopefully, coincidental timing of it. Dec 31 23:56:15 sandman rsnapshot[11655]: /usr/bin/rsnapshot -c /etc/rsnapshot.d/mail.cs278.org hourly: completed successfully &#8230; <a href="http://www.cs278.org/blog/2009/01/01/new-year-server-crash/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My server for some reason unknown to me crashed last night, in the middle of new year festivities. Extracts from my logs show the, hopefully, coincidental timing of it.</p>
<blockquote><p><code>Dec 31 23:56:15 sandman rsnapshot[11655]: /usr/bin/rsnapshot -c /etc/rsnapshot.d/mail.cs278.org hourly: completed successfully<br />
<cs278> Jan  1 01:15:30 sandman syslogd 1.5.0#5: restart.</code></p></blockquote>
<p>Happy New Year to all! <img src='http://www.cs278.org/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2009/01/01/new-year-server-crash/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Three Years Old</title>
		<link>http://www.cs278.org/blog/2008/12/07/three-years-old/</link>
		<comments>http://www.cs278.org/blog/2008/12/07/three-years-old/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 14:42:18 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Site]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=434</guid>
		<description><![CDATA[I know I started this blog in December 2005 but I wasn&#8217;t quite sure when, so I took a nose and it turns out it was December 7th which means this blog is three years old today. In three years &#8230; <a href="http://www.cs278.org/blog/2008/12/07/three-years-old/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know I started this blog in <a href="http://www.cs278.org/blog/2005/12/">December 2005</a> but I wasn&#8217;t quite sure when, so I took a nose and it turns out it was <a href="http://www.cs278.org/blog/2005/12/07/welcome/">December 7<sup>th</sup></a> which means this blog is three years old today. In three years I have written 316 entries (including this one) which is an average of 8 a month which is pretty good, and I&#8217;ve never missed a month. <img src='http://www.cs278.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2008/12/07/three-years-old/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>First Lines</title>
		<link>http://www.cs278.org/blog/2008/12/06/first-lines/</link>
		<comments>http://www.cs278.org/blog/2008/12/06/first-lines/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 23:47:57 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[quiz]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=432</guid>
		<description><![CDATA[Below I will put a list of first lines from thirty songs can you name any of them, without resorting to Google or other search engines. Post a comment if you can identify them and I will cross them off &#8230; <a href="http://www.cs278.org/blog/2008/12/06/first-lines/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Below I will put a list of first lines from thirty songs can you name any of them, <em>without</em> resorting to Google or other search engines. Post a comment if you can identify them and I will cross them off the list. <img src='http://www.cs278.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Also posted on <a href="http://www.facebook.com/note.php?note_id=38354908910" rel="me">Facebook</a>.</p>
<p><span id="more-432"></span></p>
<ol>
<li><q>She fell in love with his greasy machine</q></li>
<li><q>Mama told me when I was young</q></li>
<li><q>Sisters of the wayside bide their time in quiet peace</q></li>
<li><q>Say your prayers little one</q></li>
<li><q>Take heed, dear heart, once apart</q></li>
<li><q>Into the abyss I&#8217;ll fall-the eye of Horus</q></li>
<li><q>So this is dreamtime, and all is quiet</q></li>
<li><q>There once was a woman</q></li>
<li><q>I&#8217;m waiting in my cold cell, when the bell begins to chime</q></li>
<li><q>Never made it as a wise man </q></li>
<li><q>Blessed with an eye to see things as they are, will you draw me?</q></li>
<li><q>If you could see inside my heart</q></li>
<li><q>Day after day as I bodies slay</q></li>
<li><q>The words we say, old flowers fade away</q></li>
<li><q>I can see clearly now, a painful vision indeed</q></li>
<li><q>World turns black and white</q></li>
<li><q>You&#8217;re searching for your mind don&#8217;t know where to start</q></li>
<li><q>How far will a far side take me</q></li>
<li><q>Does it go from east to west</q></li>
<li><q>Die, die, die my darling</q></li>
<li><q>You need coolin&#8217;, baby, I&#8217;m not foolin&#8217;</q></li>
<li><q>Ya better come inside when you&#8217;re ready to</q></li>
<li><q>Mama take this badge from me</q></li>
<li><q>Wir teilen Zimmer und das Bett</q></li>
<li><q>I am a cleric serving god the king and queen</q></li>
<li><q>You&#8217;re holding all the pain inside</q></li>
<li><q>Rushing through 30, getting older every day</q></li>
<li><q>White man came across the sea</q></li>
<li><q>I have you here in my dreams at night</q></li>
<li><q>It&#8217;s true, we&#8217;re all a little insane</q></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2008/12/06/first-lines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BAM Vulnerabilities</title>
		<link>http://www.cs278.org/blog/2008/12/04/bam-vulnerabilities/</link>
		<comments>http://www.cs278.org/blog/2008/12/04/bam-vulnerabilities/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 01:27:37 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[University]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[vulnerabilities]]></category>
		<category><![CDATA[xss]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=421</guid>
		<description><![CDATA[BAM is a company that provides services to Students Unions around the country primarily dealing with union websites. My Students&#8217; Guild signed up with them last year to provide our website, from the off I was quite opposed to the &#8230; <a href="http://www.cs278.org/blog/2008/12/04/bam-vulnerabilities/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sumarketing.co.uk/" rel="external">BAM</a> is a company that provides services to Students Unions around the country primarily dealing with union websites. My <a href="http://exeterguild.org/" rel="external">Students&#8217; Guild</a> signed up with them last year to provide our website, from the off I was quite opposed to the move anticipating it would turn into a complete joke which, naturally, it has. BAM uses their own proprietary in house developed content management system, from the outside it looks bloody awful and I am reliably informed that the administration side of things is worse. Last month a meeting was held to discuss the Guild website and what was wrong with it, the general consensus was &#8212; everything. Pushed on by this I decided to take a poke around and see if I could find any vulnerabilities, I didn&#8217;t have to look hard, it only took me 10 minutes to find the first. I found two more before I decided I would stop in case I scared myself senseless.</p>
<p><span id="more-421"></span></p>
<p>The vulnerabilities I found:</p>
<ol>
<li>Non-persistent XSS in search</li>
<li>Persistent XSS in user &#8220;My details&#8221; (only affected the currently logged in user)</li>
<li>Persistent XSS in news comments</li>
</ol>
<p>There was absolutely no input filtering at all on strings, which were just blindly echoed back to the client. I sent an e-mail to BAM regarding my finds and to be quite honest I was extremely surprised I got a reply within 24 hours. I proceeded the send more details once I knew I wasn&#8217;t conversing with the receptionist in their Swansea offices. I hoped they would have some clue with what they were doing after I pointed the issues out (misplaced confidence that was). They replied telling me the issues were fixed, I went ahead to test. Indeed they had fixed the problems using <a href="http://www.php.net/strip_tags" rel="external">strip_tags()</a> which is not the best solution to the problem, and it can also cause other problems. It also will not deal with attackers breaking out of attributes to add their own. I advised them they should be using <a href="http://www.php.net/htmlspecialchars" rel="external">htmlspecialchars()</a> to escape strings taken from user input, which they seem to have done now. Their reply to this e-mail seems to have vanished into some sort of Internet oblivion, I&#8217;ve asked them to resend it. <add>It has now been added below.</add></p>
<pre>From: Richard Moseley &lt;rm@[removed]&gt;
To: chris+sumarketing.co.uk@[removed]
Date: Thu, 13 Nov 2008 09:49:57 +0000

Hi Chris,

I would be interested in hearing what security vulnerabilities you
have found in the web platform, so that we can further investigate
these problems.

I look forward to hearing from you.

Many thanks

Richard Moseley
BAM
2nd Floor
No 8 Castle Square
Swansea
SA1 1DW

Tel: 0845 1300 667
Fax: 0845 1300 668

The information in this email and any attachments is confidential and
may be legally privileged. If you are not the intended recipient's),
you must not read, use, distribute or disseminate this email or the
information in it save to the intended recipient's) nor take any
action in reliance on it. If you receive this email or any attachments
in error, please notify us immediately by email or by telephoning 0845
1300 667 and then delete the same and any copies.

BAM Agency Ltd accepts no responsibility for any loss or damage
whatsoever arising in any way from receipt or use of this email or any
attachments.this email or any attachments.

&gt;
&gt;
&gt; From: hello@[removed] [mailto:hello@[removed]]
&gt; Sent: 13 November 2008 00:01
&gt; To: rh@[removed]
&gt; Subject: Comments From -
&gt; Importance: High
&gt;
&gt;
&gt; BAM
&gt; 2nd Floor
&gt; 8 Castle Square
&gt; Swansea
&gt; SA1 1DW
&gt;
&gt; Tel: 0845 1300667  Fax: 0845 1300668  Email: hello@[removed]
&gt;
&gt; |
&gt;
&gt; This message was sent via the contact form on www.sumarketing.co.uk
&gt;
&gt; Name: Chris Smith
&gt;
&gt; Company: -
&gt;
&gt; Telephone: -
&gt;
&gt; Email: chris+sumarketing.co.uk@[removed]
&gt;
&gt; Comments: I have found several security vulnerabilities in your
&gt; websites do you have a point of contact so I can report them
&gt; responsibly?
&gt;
&gt; How did they here about us: Other
&gt;
&gt; Click to visit the site
&gt;</pre>
<hr />
<pre>Date: Thu, 13 Nov 2008 20:59:46 +0000
From: Chris Smith &lt;chris@[removed]&gt;
To: Richard Moseley &lt;rm@[removed]&gt;

Richard Moseley wrote:
&gt; I would be interested in hearing what security vulnerabilities you have
&gt; found in the web platform, so that we can further investigate these
&gt; problems.

I have found three XSS issues, considering the ease it took me to find
them I expect there maybe more. The prime cause seems to be sloppy
programming by not sanitising user data before it is accessed. Two of
the XSS vulnerabilities are of the more serious persistent type and the
other is non-persistent. In order of severity:

* Non-persistent XSS in search:

- - Enter the search term:
&lt;script&gt;alert(document.cookie);&lt;/script&gt;
- - Click search

Result:
Users cookies are displayed in a message box.

Severity:
Minor would require social engineering to get people to enter a
malicious search term.

* Persistent XSS in user "My details":

- - Login
- - Set first name to:
&lt;script&gt;alert(document.cookie);&lt;/script&gt;
- - Click update
- - Logout
- - Login

Result:
Users cookies are displayed in a message box.

Severity:
Minor requires social engineering again to accomplish and it is per user.

Notes:
This is also a problem for "last name" and probably some of the other
fields.

* Persistent XSS in news comments:

- - Find a news article you can comment on
- - Enter the comment:
&lt;script&gt;alert(document.cookie);&lt;/script&gt;
- - Click post

Result:
Users cookies are displayed in a message box.

Severity:
Severe once posted the attack works against anyone viewing the site,
with some elaborate JavaScript it would be possible to trap data entry
to the username and password box capturing the input and sending it to a
remote server. Or if a user is logged in you could combine this attack
with the second issue I mentioned to silently modify the users "first
name" using an XmlHttpRequest to include another XSS which persisted on
all pages they visited on the site.

&gt;&gt; How did they here about us: Other

Spelling error "here" instead of "hear".</pre>
<hr />
<pre>From: Richard Moseley &lt;rm@[removed]&gt;
To: chris+sumarketing.co.uk@[removed]
Date: Thu, 13 Nov 2008 21:20:48 +0000

Hi Chris, thanks for bringing these items to our attention, i will get
someone onto these items in the morning, and advise when they have
been resolved.

Thanks

Richard Moseley
Web Developer
BAM
2nd Floor
No 8 Castle Square
Swansea
SA1 1DW

Tel: 0845 1300 667
Fax: 0845 1300 668

The information in this email and any attachments is confidential and
may be legally privileged. If you are not the intended recipient's),
you must not read, use, distribute or disseminate this email or the
information in it save to the intended recipient's) nor take any
action in reliance on it. If you receive this email or any attachments
in error, please notify us immediately by email or by telephoning 0845
1300 667 and then delete the same and any copies.

BAM Agency Ltd accepts no responsibility for any loss or damage
whatsoever arising in any way from receipt or use of this email or any
attachments.this email or any attachments.</pre>
<hr />
<pre>Date: Sat, 15 Nov 2008 14:51:40 +0000
From: Chris Smith &lt;chris@[removed]&gt;
To: Richard Moseley &lt;rm@[removed]&gt;

Richard Moseley wrote:
&gt;
&gt; Hi Chris, thank you for bringing these items to our attention. These
&gt; have now been resolved.

I notice your resolution seems to be to use strip_tags() to remove tags
while this is all well and good it doesn't address everything.
Ampersands are still inserted into the HTML un-escaped, this is not
going to cause an XSS attack but it causes invalid HTML to be outputted.
More worryingly if you have any code that inserts user input into a tag
attribute, which is not an entirely unreasonable scenario, strip_tags()
will do squat all to protect you. For example if you take a string from
the user and place it into the href attribute of an anchor and use
strip_tags() to protect yourself, I could send a string like this:

&quot; onmouseover=&quot;alert(document.cookie);&quot; dummy=&quot;

This assumes you have some code like

&lt;a href=&quot;/xyz/&lt;?php echo strip_tags($_GET['var']); ?&gt;/index.php&quot;&gt;

This would result in the following:

&lt;a href=&quot;/xyz/&quot; onmouseover=&quot;alert(document.cookie);&quot; dummy=&quot;/index.php&quot;&gt;

The solution is to use htmlspecialchars() which ensures double quotes,
ampersands and angle brackets are escaped. Meaning its impossible to
break out of your tags or inject new ones, one thing htmlspecialchars()
doesn't do by default is escape single quotes but you shouldn't be using
them in HTML.

It is also worth noting that strip_tags() is quite zealous with its
removal of 'tags' and will remove things like '&lt;43' which is not
unreasonable to occur in for example a statement with a mathematical
inequality.

I would suggest either just using htmlspecialchars() or using both
functions.

I must admit I am impressed by the quick turnaround on this even if the
fix is flawed.</pre>
<hr />
<pre>From: Richard Moseley &lt;rm@[removed]&gt;
To: chris+sumarketing.co.uk@[removed]
Date: Fri, 14 Nov 2008 08:22:13 +0000

Hi Chris, thank you for bringing these items to our attention. These
have now been resolved.

Kind Regards

Richard Moseley
Web Developer
BAM
2nd Floor
No 8 Castle Square
Swansea
SA1 1DW

Tel: 0845 1300 667
Fax: 0845 1300 668

The information in this email and any attachments is confidential and
may be legally privileged. If you are not the intended recipient's),
you must not read, use, distribute or disseminate this email or the
information in it save to the intended recipient's) nor take any
action in reliance on it. If you receive this email or any attachments
in error, please notify us immediately by email or by telephoning 0845
1300 667 and then delete the same and any copies.

BAM Agency Ltd accepts no responsibility for any loss or damage
whatsoever arising in any way from receipt or use of this email or any
attachments.this email or any attachments.</pre>
<hr />
<pre>From: Richard Moseley &lt;rm@[removed]&gt;
Date: 15 November 2008 16:42:18 GMT
To: Chris Smith &lt;chris@[removed]&gt;
Subject: Re: Comments From -

Hi Chris,

Thanks for the email, we are currently doing an audit on the XSS
vulnerabilities to ensure that it does not affect any of our other
code on the system, so as a quick resolution we used the
strip_tags() route as we knew that this did not effect any of the
existing coding, while investigating any potential impact of using
htmlspecialchars() on the system including the forums, and issues
caused as a consequence.

Once we have completed this assessment we will convert the system
over to using htmlspecialchars() instead.

Thanks for the update and the feedback you have provided on this
matter.

Kind Regards

Richard Moseley
BAM
2nd Floor
No 8 Castle Square
Swansea
SA1 1DW

Tel: 0845 1300 667
Fax: 0845 1300 668

The information in this email and any attachments is confidential
and may be legally privileged. If you are not the intended
recipient's), you must not read, use, distribute or disseminate this
email or the information in it save to the intended recipient's) nor
take any action in reliance on it. If you receive this email or any
attachments in error, please notify us immediately by email or by
telephoning 0845 1300 667 and then delete the same and any copies.

BAM Agency Ltd accepts no responsibility for any loss or damage
whatsoever arising in any way from receipt or use of this email or
any attachments.</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2008/12/04/bam-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back to Exeter</title>
		<link>http://www.cs278.org/blog/2008/09/29/back-to-exeter/</link>
		<comments>http://www.cs278.org/blog/2008/09/29/back-to-exeter/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 12:24:25 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[University]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=386</guid>
		<description><![CDATA[The time has come once more for me to return to Exeter, for my final year of my undergraduate Computer Science degree. I&#8217;m looking forward to moving in with new people so much, to be honest I have been wanting &#8230; <a href="http://www.cs278.org/blog/2008/09/29/back-to-exeter/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The time has come once more for me to return to Exeter, for my final year of my undergraduate Computer Science degree. I&#8217;m looking forward to moving in with new people so much, to be honest I have been wanting to go back for quite a while now. Fairly exhausted from all the travelling and work I&#8217;ve been doing lately, need to catch up on some sleep. This is all for now, new desktop wallpaper soon I hope, and a backdated post about the visit to Hethel. <img src='http://www.cs278.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2008/09/29/back-to-exeter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

