If you use SQL Server as a backend for you applications then have you protected against injection attacks? Such attacks can inject code into SQL statements that might lead to the inadvertant exposure of sensitive information, or in a worst case scenario might lead to a total system and/or network compromise.

Steve Friedl recently released a whitepaper, "SQL Injection Attacks by Example," which discusses the steps he took during a recent security audit to penetrate a customer's system. The paper describes how he discovered what services and technologies were used, how he discovered table names and table field names, and how he coaxed the system into changing an email address in a table to recover a valid login account name and password.

The paper also discusses some ways to mitigate such attacks. However, if you're interested then you should read the related message thread on the Bugtraq mailing list to see what other people had to say about Friedl's mitigation suggestions before you rely on them as definitive defensive measures.

As we reported yesterday in the story, "Microsoft WINS and SQL Server Targeted," brute force password cracking attempts have recently been detected against Microsoft SQL Server. While such cracking attempts are one way to find SQL Server login passwords, injection attacks are another method that could be launched by anyone from anywhere in the world if your database servers are exposed to the Internet as backends for Web-based applications. So consider auditing the security of your SQL-based applications and the related systems' overall network exposure to make sure you have your bases covered adequately.

End of Article




You must log on before posting a comment.

If you don't have a username & password, please register now.

Reader Comments

Best way to protect yourself from SQL Injection Attacks? Don't use SQL Server or any other MS product for that matter.

Anonymous User

Article Rating 1 out of 5

I hope the user is not as silly as his comment.

Anonymous User

Article Rating 4 out of 5

MS SQL Server bad! One Word - xp_cmdshell

Anonymous User

Article Rating 1 out of 5

You mean use Oracle, which also admits it is liable for these attacks?

Anonymous User

well done genius - this applies to all SQL servers, nothing to do with MS specific

Anonymous User

sql was always blessed with good looks, oracle needs a makeover, send forth the Fab 5 ;-)

Anonymous User

Article Rating 5 out of 5

-->Don't use SQL Server or any other MS product for that matter

real developers choose the best tool for the job while wanna be developers choose 'my database' or 'my language'.

Anonymous User