Maybe certain types of sql injection... databases not allowing multiple
statements, would just error out on the example I've given... 

-----Original Message-----
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 07, 2005 1:55 PM
To: CF-Talk
Subject: Re: executing multiple queries

> Meaning SQL server is more vulnerable to SQL injection attacks.
>
> Hmm... wonder what this does?
>
> <cfset url.parameter='1; drop table orders;'>
> <cfquery name="qryname" datasource="somedsn">
> Select * from items where itemId=#url.parameter#
> </cfquery>

How do you figure Russ?  No matter what DB you use, that snippet would make 
it vulnerable....you should always use CFQUERYPARAM.

So how does running multiple statements make a DB vulnerable to SQL 
injection if you properly use CFQUERYPARAM??

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220405
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to