Security Basics mailing list archives

Re: Re: Is sql-injection possible in following code


From: dan.crowley () gmail com
Date: Tue, 18 Aug 2009 16:03:39 -0600

Arguments made to stored procedures are taken literally. By that, I mean that no metacharacters (such as single or 
double quotes) are interpreted as having any special meaning. So no, this code is NOT vulnerable to SQL injection.

There is, however, an important caveat: If you construct an SQL query inside a stored procedure and then execute it, 
metacharacters will be interpreted as having special meaning, opening you up once again to SQL injection.

If you're interested in learning more about attacking database systems, check out the Database Hacker's Handbook.

Cheers,
--
Dan Crowley
"All the forces in the world are not so powerful as an idea whose time has come." - Victor Hugo

------------------------------------------------------------------------
Securing Apache Web Server with thawte Digital Certificate
In this guide we examine the importance of Apache-SSL and who needs an SSL certificate.  We look at how SSL works, how 
it benefits your company and how your customers can tell if a site is secure. You will find out how to test, purchase, 
install and use a thawte Digital Certificate on your Apache web server. Throughout, best practices for set-up are 
highlighted to help you ensure efficient ongoing management of your encryption keys and digital certificates.

http://www.dinclinx.com/Redirect.aspx?36;4175;25;1371;0;5;946;e13b6be442f727d1
------------------------------------------------------------------------


Current thread: