Microsoft SQL Injection Prevention Strategy
Last Updated: 2008-06-24 22:17:41 UTC
by Jason Lam (Version: 1)
Microsoft released a security advisory today in reaction to the mass SQL injection exploitation on the Internet. Unlike most other Microsoft's security bulletins and advisories, this one isn't about Microsoft products. In the advisory, "These SQL injection attacks do not exploit a specific software vulnerability, but instead target Web sites that do not follow secure coding practices for accessing and manipulating data stored in a relational database."
Aside from providing links to information on SQL Injection, Microsoft recommends three approaches to help mitigate SQL Injection.
1. Runtime scanning
HP trimmed down a version of the WebInspect scanner to look for SQL injection vulnerabilities on a running website. Please note this scanner is very basic and should be used for a quick inspection only. I like the fact that the scanner has ability to dump table names, helps eliminate false positives.
Microsoft's basic Web App Firewall solution. It has capabilities to block unwanted requests. This should only be used as a proactive measure or as emergency fix (short term) for SQL injection vulnerabilities.
3. Code Scanning
MS released a nice ASP source code scanning tool to look for SQL injection flaws. It is focused on SQL injection and seems to produce very few false positives which could be a problem with a lot of code scanners.
Kudo to Microsoft for releasing the tools and information to help developers fix their apps. Also appreciate the free scanner from HP.
Jun 25th 2008
1 decade ago
Jul 1st 2008
1 decade ago