<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/19690/SQL_Injection_Attacks_on_IIS_Web_Servers</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2009, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Tue, 24 Nov 2009 20:41:09 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>stupid article title...</title>
			<link>http://osnews.com/thread?311745</link>
			<guid isPermaLink="true">http://osnews.com/thread?311745</guid>
			<description>So stupid title!!!<br />
<br />
When IIS suddenly became a &quot;sql server&quot; to manage SQL queries!?!?!<br />
<br />
Only stupid &quot;developers&quot; can allow &quot;sql injection attack&quot;.</description>
			<pubDate>Mon, 28 Apr 2008 20:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (BlackTiger)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Three Words</title>
			<link>http://osnews.com/thread?311749</link>
			<guid isPermaLink="true">http://osnews.com/thread?311749</guid>
			<description>Always Sanitize Input</description>
			<pubDate>Mon, 28 Apr 2008 20:23:00 GMT</pubDate>
			<author>donotreply@osnews.com (linumax)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Three Words</title>
			<link>http://osnews.com/thread?311755</link>
			<guid isPermaLink="true">http://osnews.com/thread?311755</guid>
			<description>I can imagine the IT weekly article:<br />
Businesses: sanitise your programmers!</description>
			<pubDate>Mon, 28 Apr 2008 20:49:00 GMT</pubDate>
			<author>donotreply@osnews.com (Kroc)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>IIS?</title>
			<link>http://osnews.com/thread?311756</link>
			<guid isPermaLink="true">http://osnews.com/thread?311756</guid>
			<description>The first comment posted on the article already explains the whole issue at hand:<br />
<br />
By default this tool searches for Microsoft ASP pages (an IIS specific web development technology) and injects a Microsoft SQL Server specific payload: these defaults, maybe, have generated the false perception that an IIS vulnerability is involved, while the infection is just leveraging trivial coding errors made by the web developers.<br />
<br />
So, perhaps some poor default values combined with not-so-good programming caused this. It's not specifically IIS bug or anything like that at all. Switching to Linux and using Apache won't help either if you can't make your code secure. So, remember all web devs out there: ALWAYS check any variables you pass to SQL server that they are fully valid and will not contain any intended characters there.</description>
			<pubDate>Mon, 28 Apr 2008 20:59:00 GMT</pubDate>
			<author>donotreply@osnews.com (WereCatf)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Three Words</title>
			<link>http://osnews.com/thread?311758</link>
			<guid isPermaLink="true">http://osnews.com/thread?311758</guid>
			<description>Two words: stored procedures<br />
<br />
Three words: No dynamic SQL</description>
			<pubDate>Mon, 28 Apr 2008 21:11:00 GMT</pubDate>
			<author>donotreply@osnews.com (A.H.)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Three Words</title>
			<link>http://osnews.com/thread?311761</link>
			<guid isPermaLink="true">http://osnews.com/thread?311761</guid>
			<description><b>Two words: stored procedures</b><br />
<br />
Two words: Not necessarily.<br />
<br />
<b>Three words: No dynamic SQL</b><br />
<br />
Two words: Unless parameterized.</description>
			<pubDate>Mon, 28 Apr 2008 21:24:00 GMT</pubDate>
			<author>donotreply@osnews.com (gonzo)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>great news</title>
			<link>http://osnews.com/thread?311764</link>
			<guid isPermaLink="true">http://osnews.com/thread?311764</guid>
			<description>I love these Chinese. <br />
I have a suggestion for them:<br />
Make a virus that will completely destroy the infected Windows server after infecting other servers, of course.<br />
Imagine how many will sue Microsoft over data and hardware loss!<br />
It would be awesome!</description>
			<pubDate>Mon, 28 Apr 2008 21:57:00 GMT</pubDate>
			<author>donotreply@osnews.com (satan666)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Three Words</title>
			<link>http://osnews.com/thread?311766</link>
			<guid isPermaLink="true">http://osnews.com/thread?311766</guid>
			<description><div class="cquote">Two words: stored procedures<br />
<br />
Three words: No dynamic SQL </div><br />
<br />
Actually the solution is simple: Always use parameterized queries. Never ever ever use string concatenation. Not everyone is a fan of sprocs, and they've actually fallen out of favor more lately now that ORM's are more mainstream and easier to use.</description>
			<pubDate>Mon, 28 Apr 2008 22:21:00 GMT</pubDate>
			<author>donotreply@osnews.com (jayson.knight)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: great news</title>
			<link>http://osnews.com/thread?311767</link>
			<guid isPermaLink="true">http://osnews.com/thread?311767</guid>
			<description><div class="cquote">I love these Chinese. <br />
Imagine how many will sue Microsoft over data and hardware loss!<br />
It would be awesome! </div><br />
<br />
Microsoft has clauses in their EULA's that explicitly prohibit anyone suing them for data loss. Actually, almost ALL software/hardware vendors have these clauses, so don't go thinking they are unique to MS. And don't think you're protected if you live in Europe or whatnot. Imagine all the bogus claims that would be made if those clauses didn't exist.</description>
			<pubDate>Mon, 28 Apr 2008 22:24:00 GMT</pubDate>
			<author>donotreply@osnews.com (jayson.knight)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: great news</title>
			<link>http://osnews.com/thread?311779</link>
			<guid isPermaLink="true">http://osnews.com/thread?311779</guid>
			<description><div class="cquote">I love these Chinese. </div><br />
<br />
Why would you assume the people behind these attacks are actually Chinese? Just because the websites that host the vulnerabilities are in China doesn't mean the people who put those there are as well.<br />
<br />
We're talking about crackers here - they're not likely to just throw up their malicious code on any old domain they happen to own.</description>
			<pubDate>Mon, 28 Apr 2008 23:05:00 GMT</pubDate>
			<author>donotreply@osnews.com (umccullough)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Dumb Question....</title>
			<link>http://osnews.com/thread?311786</link>
			<guid isPermaLink="true">http://osnews.com/thread?311786</guid>
			<description>If the issue is that someone attacked the server an injected code into the MS-SQL server, then how are the client systems being infected?<br />
<br />
The best I can see is that they injected code to turn on a back door so they could modify the web-server.<br />
<br />
Thus the security issue is also on the client pc's. They are allowing a web site to install anything the server wants on their pc. SQL Injection shouldn't work on the client since the DB is located on the server.<br />
<br />
What types of clients are being infected? And since MS verified that it was a server issue, what is MS's advice on how to protect the client from the servers?</description>
			<pubDate>Mon, 28 Apr 2008 23:23:00 GMT</pubDate>
			<author>donotreply@osnews.com (JPowers)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: IIS?</title>
			<link>http://osnews.com/thread?311789</link>
			<guid isPermaLink="true">http://osnews.com/thread?311789</guid>
			<description>whats sad is that you don't even have to. Use parameterized queries or stored procs and the framework will do the checking for you. <br />
<br />
There is simply no excuse in the asp world for &quot;SELECT &quot; + fields + &quot; FROM Tables&quot; anymore.</description>
			<pubDate>Mon, 28 Apr 2008 23:32:00 GMT</pubDate>
			<author>donotreply@osnews.com (google_ninja)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Three Words</title>
			<link>http://osnews.com/thread?311790</link>
			<guid isPermaLink="true">http://osnews.com/thread?311790</guid>
			<description>It's funny, I was reviewing some of our coding policy docs the other day (basically a 200+ page ppt), one of the many gems I found in it was &quot;Treat all input as evil&quot;.<br />
 <br />
 I want that on a shirt.Edited 2008-04-28 23:34 UTC</description>
			<pubDate>Mon, 28 Apr 2008 23:34:00 GMT</pubDate>
			<author>donotreply@osnews.com (google_ninja)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Dumb Question....</title>
			<link>http://osnews.com/thread?311794</link>
			<guid isPermaLink="true">http://osnews.com/thread?311794</guid>
			<description>The client injection is caused by javascript code that's injected into the database. In other words...<br />
<br />
1. SQL injection puts Javascript into he database<br />
2. Injected database content is shown on the page<br />
3. Javascript opens windows with malware<br />
<br />
So, the client injection part of this could have been stopped if the web sites used proper HTML encoding of the database output.</description>
			<pubDate>Tue, 29 Apr 2008 00:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (emission)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Explorer and Mozilla?</title>
			<link>http://osnews.com/thread?311816</link>
			<guid isPermaLink="true">http://osnews.com/thread?311816</guid>
			<description>Can this occur through both Mozilla and IE or is it just limited to IE?</description>
			<pubDate>Tue, 29 Apr 2008 03:07:00 GMT</pubDate>
			<author>donotreply@osnews.com (TechGeek)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: great news</title>
			<link>http://osnews.com/thread?311823</link>
			<guid isPermaLink="true">http://osnews.com/thread?311823</guid>
			<description>And this is what I have a real problem with - why should they be protected?  If they have produced a flawed product, that results in a loss to me, or my business, they *should* be responsible.  Period.  Imagine if you bought a new Ford, and due to manufacturing issues the steering wheel collapsed and crashed as a result - you *can* sue Ford for damages etc.  <br />
<br />
Why should software companies not have the same laws applied to them that every other consumer manufacturer has to agree to?<br />
<br />
Dave</description>
			<pubDate>Tue, 29 Apr 2008 04:15:00 GMT</pubDate>
			<author>donotreply@osnews.com (melkor)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[3]: great news</title>
			<link>http://osnews.com/thread?311824</link>
			<guid isPermaLink="true">http://osnews.com/thread?311824</guid>
			<description><div class="cquote">Why should software companies not have the same laws applied to them that every other consumer manufacturer has to agree to? </div><br />
<br />
And why do you think they don't?  If software causes you tangible harm or loss, you have the same legal recourse as for any other product.  EULAs are not a shield against that, in fact, they're not a shield against much, really.<br />
<br />
The same rules apply, you simply need to show a direct cause-effect relationship between the product and your damage, and quantify that damage.  The problem is that when it comes to software, that is easier said than done, but it's doable.  Software manufacturers operate under the same laws as every other manufacturer, an EULA doesn't absolve them of responsibility.</description>
			<pubDate>Tue, 29 Apr 2008 04:38:00 GMT</pubDate>
			<author>donotreply@osnews.com (elsewhere)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Explorer and Mozilla?</title>
			<link>http://osnews.com/thread?311825</link>
			<guid isPermaLink="true">http://osnews.com/thread?311825</guid>
			<description><div class="cquote">Can this occur through both Mozilla and IE or is it just limited to IE? </div><br />
<br />
The issue is with a server-side &quot;exploit&quot;, it has nothing to do with the client browser.  You could hack together a script to do the same thing, without even using a browser. The issue is lazy coding on the part of the web developers, it's not a browser issue.</description>
			<pubDate>Tue, 29 Apr 2008 04:43:00 GMT</pubDate>
			<author>donotreply@osnews.com (elsewhere)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[4]: great news</title>
			<link>http://osnews.com/thread?311864</link>
			<guid isPermaLink="true">http://osnews.com/thread?311864</guid>
			<description>Not from what I see.  See Thom's article on Dutch laws and how EULAs are considered contracts under Dutch law.  If you sign that contract saying you won't sue, then you're screwed.  I suspect a great deal many countries will be the same as the Netherlands, caring more for the big corporations and rich, and bugger all for the average person.<br />
<br />
Dave</description>
			<pubDate>Tue, 29 Apr 2008 10:06:00 GMT</pubDate>
			<author>donotreply@osnews.com (melkor)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Three Words</title>
			<link>http://osnews.com/thread?312146</link>
			<guid isPermaLink="true">http://osnews.com/thread?312146</guid>
			<description>Or - at the *very* least - create a DB user with read-only permissions for the publicly-accessible portions of a web-based app (no write privs. == injection no worky).</description>
			<pubDate>Wed, 30 Apr 2008 15:52:00 GMT</pubDate>
			<author>donotreply@osnews.com (StephenBeDoper)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
