How to Avoid SQL Injection Attacks

Thursday, August 02, 2012

"SQL injection is a technique often used to attack databases through a website. This is done by including portions of SQL statements in a web form entry field in an attempt to get the website to pass a newly formed rogue SQL command to the database (e.g. dump the database contents to the attacker). SQL injection is a code injection technique that exploits a security vulnerability in a website's software. The vulnerability happens when user input is either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and unexpectedly executed. SQL commands are thus injected from the web form into the database of an application (like queries) to change the database content or dump the database information like credit card or passwords to the attacker. SQL injection is mostly known as an attack vector for websites but can be used to attack any type of SQL database." [source]

Veracode Senior Security Researcher Ryan O’Boyle discusses SQL Injection attacks and what can be done to avoid them.

 

Cross-posted from Veracode

Possibly Related Articles:
5189
Network->General
Information Security
SQl Injection Hacking Vulnerabilities Web Application Security Attacks Secure Coding Network Security Attack Vector
Post Rating I Like this!