<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: ColdFusion SQL Injection Attack Terror</title>
	<link>http://ask.metafilter.com/74395/ColdFusion-SQL-Injection-Attack-Terror/</link>
	<description>Comments on Ask MetaFilter post ColdFusion SQL Injection Attack Terror</description>
	<pubDate>Mon, 22 Oct 2007 13:22:48 -0800</pubDate>
	<lastBuildDate>Mon, 22 Oct 2007 13:22:48 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: ColdFusion SQL Injection Attack Terror</title>
		<link>http://ask.metafilter.com/74395/ColdFusion-SQL-Injection-Attack-Terror</link>	
		<description>ColdFusion MX 7 and Microsoft SQL Server 2005. There&apos;s a lot of &lt;a href=&quot;http://xkcd.com/327/&quot;&gt;unvalidated parameters&lt;/a&gt; in our CFQUERYs. But, I&apos;m told that putting the parameters in single-quotes will prevent injection attacks, because of the way ColdFusion escapes single-quotes. Is this foolproof, or do I have to go in and validate everything with CFQUERYPARAM tags?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2007:site.74395</guid>
		<pubDate>Mon, 22 Oct 2007 12:24:20 -0800</pubDate>
		<dc:creator>East Manitoba Regional Junior Kabaddi Champion &apos;94</dc:creator>
		
			<category>ColdFusion</category>
		
			<category>SQL</category>
		
			<category>security</category>
		
			<category>database</category>
		
	</item> <item>
		<title>By: jenkinsEar</title>
		<link>http://ask.metafilter.com/74395/ColdFusion-SQL-Injection-Attack-Terror#1106325</link>	
		<description>I usually do the o&apos;reilly test- I put o&apos;reilly into every form field, and see if it barfs.&lt;br&gt;
&lt;br&gt;
FWIW, this is pretty easy to test- write an input form that puts it&apos;s content into a database,  put in some bad sql (&apos;-- select * from users where 1=1&apos; , and see if you can retrieve it from the database- if the original SQL is in the field, you&apos;re probably ok.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.74395-1106325</guid>
		<pubDate>Mon, 22 Oct 2007 13:22:48 -0800</pubDate>
		<dc:creator>jenkinsEar</dc:creator>
	</item><item>
		<title>By: me &amp; my monkey</title>
		<link>http://ask.metafilter.com/74395/ColdFusion-SQL-Injection-Attack-Terror#1106517</link>	
		<description>It isn&apos;t foolproof. You need to go in and use CFQUERYPARAM tags anywhere you accept unvalidated parameters. While using single quotes with CF strings break all of the common SQL injection attacks I&apos;ve seen in use, it doesn&apos;t prevent &lt;a href=&quot;http://www.codeproject.com/cs/database/SqlInjectionAttacks.asp&quot;&gt;second-order SQL injection&lt;/a&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.74395-1106517</guid>
		<pubDate>Mon, 22 Oct 2007 15:31:21 -0800</pubDate>
		<dc:creator>me &amp; my monkey</dc:creator>
	</item><item>
		<title>By: garius</title>
		<link>http://ask.metafilter.com/74395/ColdFusion-SQL-Injection-Attack-Terror#1107126</link>	
		<description>i&apos;ll second what &lt;strong&gt;me &amp;amp; my monkey&lt;/strong&gt; has said. Its important that you &lt;em&gt;always&lt;/em&gt; use CFQUERYPARAM tags unless you can 100% confirm that the data in question is never entered by human hand. Even then i&apos;d still do it, just because its easier to make it a &quot;never&quot; situation than a &quot;maybe&quot; if you want to be fully secure.&lt;br&gt;
&lt;br&gt;
Also, related to this, don&apos;t forget to secure any forms against javascript injection, which is what all the cool kids are into these days.&lt;br&gt;
&lt;br&gt;
SQL Injection is &lt;em&gt;sooooooooooo&lt;/em&gt; 2004 dahling!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2007:site.74395-1107126</guid>
		<pubDate>Tue, 23 Oct 2007 06:56:50 -0800</pubDate>
		<dc:creator>garius</dc:creator>
	</item>
	</channel>
</rss>
