<?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>SwiftLizard Interactive {Design, Development} &#187; sql</title>
	<atom:link href="http://www.swift-lizard.com/tag/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.swift-lizard.com</link>
	<description>all about a it - freelancers life</description>
	<lastBuildDate>Thu, 18 Mar 2010 09:10:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sometimes I wonder about Developers</title>
		<link>http://www.swift-lizard.com/2009/12/09/sometimes-i-wonder-about-developers/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.swift-lizard.com/2009/12/09/sometimes-i-wonder-about-developers/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 11:57:58 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[thoughts]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.swift-lizard.com/?p=225</guid>
		<description><![CDATA[Lately I came across a nice article at &#8220;der fiese Admin&#8221; about the security leak at a German portal for kids, that made me wonder about the work attitude of some of my so called colleagues.
Security issues happen from time to time, nobody can possibly built a bullet proof website, someone will find a hole [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I came across a nice article at <a title="Sql for beginners" href="http://fieser-admin.de/2009/sql-fuer-anfaenger-bei-haefft-de/" target="_blank">&#8220;der fiese Admin&#8221;</a> about the security leak at a German portal for kids, that made me wonder about the work attitude of some of my so called colleagues.</p>
<p>Security issues happen from time to time, nobody can possibly built a bullet proof website, someone will find a hole in your system from time to time, we all know that, but &#8230; guys honestly ?!<br />
<span id="more-225"></span><br />
Not only saving the passwords unhashed and unsalted into the DB, which was to my mind as dump as it could possibly get, .. no I underestimated the level of failure one can produce,.. Those guys managed to set a new level of low !! How ? They did a like search for the passwords (select *  from user_db where username=&#8230; and password LIKE &#8220;%&#8230;%&#8221;).</p>
<p>Can´t get worse right ? Wrong ! This is to be the mayor WTF of this year&#8230; they also pumped every user generated content unfiltered in their DB &#8211; Querys.<br />
And no I will not speak about the lack of SSL protection.<br />
So what have we got  so far:</p>
<ol>
<li>Passwords plain in the DB</li>
<li>Querying passwords with LIKE at Login</li>
<li>Doors wide open for SQL &#8211; Injections because User &#8211; Content was passed directly and unfiltered  to the DB &#8211; Querys</li>
<li>Lack of https at login</li>
</ol>
<p>Unlike the original poster I wouldn´t slam my own had against the table, but the one of the lead Dev at that company, lets hope it was a junior.</p>
<p>The original article and the statement of the CCC you will find here:</p>
<ul>
<li><a href="http://fieser-admin.de/2009/sql-fuer-anfaenger-bei-haefft-de/" target="_blank">http://fieser-admin.de/2009/sql-fuer-anfaenger-bei-haefft-de/</a></li>
<li><a href="http://www.netzpolitik.org/2009/datenskandal-bei-haefft-de/" target="_blank">http://www.netzpolitik.org/2009/datenskandal-bei-haefft-de/</a></li>
<li><a href="http://www.ccc.de/de/updates/2009/haefft-datenloch" target="_blank">http://www.ccc.de/de/updates/2009/haefft-datenloch</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.swift-lizard.com/2009/12/09/sometimes-i-wonder-about-developers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

