View Full Version : Very serious exploit.....
nitromaxboi
11.02.2006, 16:13
very serious exploit ,the players in my server are able to insert item into my user_item table which are item_type 0 and char id 0. And i am very sure this is done in game and have nothing to do with npc as this exploit only happened when i loaded my l2server without my npc server loaded. I have tried using tontors latest patch , close all port only opening 2106 and port 8819 which wad my l2server is using but players however , still able to do this exploit. I have found out that players using this exploits are from vietnam.
Is it possible by doing this they are ble to get wad ever items they wan?
Astomakith
11.02.2006, 16:23
Might be an SQL inject vulnerability somewhere on your webpage or register page, did you check that?
nitromaxboi
11.02.2006, 16:28
i dun think its an inject vulnerability on my webpage or register page because this can only take place when the server is up. I have also tried disabling the webpage but it still happens continously
johnsmith2
11.02.2006, 16:54
when u drop an item on ground, it generate a item with char_id=0
this is no exploit
the stored procedure lin_DeleteItem is causing this whenever an item is destroyed
<snip>
PROCEDURE [dbo].[lin_DeleteItem]
(
@item_id INT
)
AS
SET NOCOUNT ON
UPDATE user_item set char_id=0, item_type=0 WHERE item_id=@item_id
SELECT @@ROWCOUNT
GO
</snip>
btw - normally lin_DeleteNotOwnedItem will cleanup this mess after some time (including all for deletion marked characters)
nitromaxboi
11.02.2006, 17:43
ok thx
nitromaxboi
11.02.2006, 17:45
but the thing is that some of it shows enchant amount example exchant 10 etc so how would all this items get enchanted?
nitromaxboi
11.02.2006, 17:47
not only that ever since this happen , when user some user log into the server it shows unregistered user skill. This didnt happened
the skill thingy is another problem,
I need more info what exactly happens in your server
but for the item table,
I guess that when u break an item during enchanting,
that this executes the DeleteItem procedure too
maybe there are some more procedures that set item_type=0,
but for example the DropItem proc will set char_id=0 and remove equipping info from user_data when nescessary