View Single Post
  #2 (permalink)  
Old 08-28-2008, 06:44 AM
caravan's Avatar
caravan caravan is offline
WebProWorld Pro
 
Join Date: May 2006
Location: Preston, Lancashire, UK
Posts: 103
caravan RepRank 1
Default Re: Latest Injection Attack: DECLARE, SET and CAST

Thanks for this. We have been plagued by these sort of hacks for the last few months. It has taken us a while to narrow down the problem and a lesson has been learnt. ALWAYS FILTER ANY PASSED URL PARAMETERS. We are using asp on a windows server so the htaccess solution isn't possible but by passing any numeric values through the CInt() function it seems to be blocking further attacks from executing successfully.
Reply With Quote