Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [HELP] Server was hacked sql injection way (https://postpacific.loc-online.com/showthread.php?t=1682)

bob1122 31.08.2005 21:54

[HELP] Server was hacked sql injection way
 
Unfortunatly my server got hacked, so im asking for a bit off help, I just ordered a Hardware router ... but until then can someone help me stop this sql injection with the port blocking method, i was told me about gpedit.msc but i cant understand what to do with it.

Since my english isnt perfect just ask me questions when you dont udnerstand ...

thanks in advanded ..
bob

bob1122 31.08.2005 23:31

Im using the anti help.htm exploit, the one with l2player....i think i need to modify the client and server signature, CAN some one please please please pm me or post how to change it.

DreadWolf 01.09.2005 02:23

SQL injection cannot be blocked by a router or portblocking of any kind. You need a good way to filter out your user input on the registration fields on your server.

Some people have posted ways to get around it on the L2REG asp registration system, and there's a PHP version out also I believe. Personally I wrote my own but I cannot share it for security reasons.

Phantom2005 01.09.2005 18:00

what about blocking every ip that comes from outside except on port 2106 and 7777 and only allow the ip of my website(registration)?

DreadWolf 02.09.2005 13:21

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.

bob1122 02.09.2005 15:32

Quote:

Originally Posted by Phantom2005
what about blocking every ip that comes from outside except on port 2106 and 7777 and only allow the ip of my website(registration)?

But how can i do this,,,, thats what im asking :)

flakka 02.09.2005 16:36

You need a router/firewall.

MaXx 02.09.2005 16:40

Well, if you talking about injections through registration. asp/php
{
Block ports to prevent SQL-injections. :roll:
You need to learn some basic programing to understand what an SQL-injection is.
}


All times are GMT. The time now is 15:25.