Microsoft Addresses Mass SQL Injection Attacks
June 27th, 2008
In response to the *not so* recent Mass SQL Injection Attacks from earlier this year, which targeted mainly pre-ASP.NET 2.0 code, Microsoft has released an advisory revealing 2 new Microsoft products (URLScan 3.0 and Microsoft Source Code Analyzer for SQL Injection) and a partnership with HP for their new free ASP-only SQL Injection scanner named Scrawler
I had a chance to review Scrawler and the SQL Injection Source Code Scanner and was largely unimpressed. Scrawler has some limitations and only analyzes ASP.NET code, and has limited page crawling capabilities. It also handles no FORM variables, no Cookies, no header modification and will not work on sites requiring authentication–so it’s by and large useless in *most circumstances*.
The Microsoft Source Code Analyzer for SQL Injection is also somewhat limited in that it only reviews ASP source code, but this is a massive improvement to the previously-available tools provided by Microsoft to help ASP developers identify potential problem areas in their code, where URL and user-supplied input is concerned. Any ASP developer should grab this and run it on their own source code.
As far as URLScan 3.0 goes, I have always been a fan of this *crucial* IIS add-on. Although it is based on a “blacklist” logic model, it can be useful for forbidding at least very common URL strings that may be used in a SQL Injection, or XSS attack. Not to mention that one of the most common security issues I still run across with IIS installations are poorly configured Web Server Extension such as FrontPage and WebDAV, which this tool will quash by default.
The beta version of this tool can be found here.
So although these tools are far from perfect and don’t even come close to meeting the needs of professional web application security testers, this is certainly a good set of tools (at least the latter 2) for ASP.NET developers who would like the get the leg up on their auditors.




