Groups | Blog | Home
all groups > iis security > december 2007 >

iis security : IIS 6 SQL Injection Sanitation ISAPI Wildcard at Codeplex


Rodney Viana
12/9/2007 1:53:03 PM
IIS 6 SQL Injection Sanitation ISAPI Wildcard at
http://www.codeplex.com/IIS6SQLInjection

I created an ISAPI dll application to prevent SQL Injection attempts by
intercepting the HTTP requests and sanitizing both GET and POST variables (or
any combination of both) before the request reaches the intended code. This
is especially useful for legacy applications not designed to deal with MS SQL
Server Injection attempts. Though this application was designed with MS SQL
Server in mind, it can be used with no or minimal changes with other database
engines.

This ISAPI is only compatible with Internet Information Server (IIS) 6.0
which comes with Windows 2003. Windows XP uses IIS 5 engine which DOES NOT
support ISAPI Wildcard.

Cheers,
--
Rodney Viana, PMP
David Wang
12/10/2007 1:24:23 PM
On Dec 9, 1:53 pm, Rodney Viana
[quoted text, click to view]


Actually, IIS5's core request processing engine does support Wildcard
Application Mapping. It just does not support HSE_REQ_EXEC_URL which
is what allows one to "continue the request".


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
Rodney Viana
12/10/2007 3:13:00 PM
Hi David,

I did not know IIS 5 could deal with ISAPI wildcard. Thanks for the
heads-up. But this wildcard (as many others) relies on HSE_REQ_EXEC_URL. So,
it cannot run on IIS 5 anyway.

I would also like to let you know that your blog was very important when I
was researching for this application. Not many people talk about ISAPI
development.

Take care,
--
Rodney Viana, PMP
MCSE+I MCDBA MCST MOSS, SQL


[quoted text, click to view]
AddThis Social Bookmark Button