I am not sure you quite understand how it works. The problem is basically the website creates the open door for infiltration. If you have a server you'll need a web registration for it. If you have web registration you have a site with at least partial access to your database to create the accounts.
So now if your registration system does not properly validate the user input in the login and password fields for example, they can just write out SQL queries in those fields and do what they wish with your database. I heard the asp registration package most servers are using has this vulnerability but I am not exactly sure since I am not using it anyway.
Just make sure you restrict the user input to only alphanumeric characters filtering out quotes, brackets, semicolon, period, etc.
|