Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Mr Black #21
Re: SQL injection
>If passed variables of varchar type are not protected by cfqueryparam a hacker
can use for examplevalid part of a query>UNION statement adding it as a part of variable that could be interpreted asAny executable example to support this statement?>and select data from any uprotected by granted permissions tables
Mr Black Guest
-
Aspx's Html Injection
Hi, I'm try to find an easy efficient way to generate my web pages dynamically from an xml/text file. What exactly I want? I want that... -
What is CF injection?
Hello people We are doing a security revision of our application, with the help of some consultants. They alerted us to the risc of ColdFusion... -
SQL Injection Vulnerabilities
In the May 29th, 2005 listserv message from cflib.org, they mention this function, sqlSafe(): http://www.cflib.org/udf.cfm?id=1219 The function... -
Has ColdFusion MX taken care of SQL injection ?
Has ColdFusion MX taken care of SQL injection ? The reason is that when I tried to test my own application without using <cfqueryparam ...> it... -
how to protect web server against SQL Injection ?
i didnt find any information where to start . please write something -
CF_Oracle #22
Re: SQL injection
Select fieldName1 from table1
where fieldName 2 = '#form.variableName#'.
Put in passed #form.variableName# (it could be also url variable) value like
'bla-bla' UNION Select fieldName3 from table2.
Works with Oracle if no cfqueryparam around #form.variableName#.
CF_Oracle Guest
-
Mr Black #23
Re: SQL injection
Nop. This doesn't work. The entire entry is treated as a char value, not like two independent SQL statements. Any better example?
Mr Black Guest
-
mxstu #24
Re: SQL injection
Originally posted by: CF_Oracle
Works with Oracle if no cfqueryparam around #form.variableName#.
I tried it with MX 6.1 and a few different databases (not oracle) and drivers
and the single quotes were always escaped. What version of MX, oracle and
drivers are you using?
If however, the statement uses #PreserveSingleQuotes()# or was an numeric
value (ie. no single quotes around the #variable#), then sql injection was
possible.
mxstu Guest
-
CF_Oracle #25
Re: SQL injection
Oracle9i, CF&. Yes, I used PreserveSingleQuotes since text fild values included apostrofe sometimes. Thanks mxtu.
CF_Oracle Guest



Reply With Quote

