Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 11.02.2006, 16:13   #1
nitromaxboi
Архивный участник
 
Join Date: Feb 2005
Posts: 62
Default Very serious exploit.....

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?
nitromaxboi is offline  
Old 11.02.2006, 16:23   #2
Astomakith
Архивный участник
 
Join Date: Jan 2006
Posts: 37
Default

Might be an SQL inject vulnerability somewhere on your webpage or register page, did you check that?
Astomakith is offline  
Old 11.02.2006, 16:28   #3
nitromaxboi
Архивный участник
 
Join Date: Feb 2005
Posts: 62
Default

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
nitromaxboi is offline  
Old 11.02.2006, 16:54   #4
johnsmith2
Архивный участник
 
Join Date: Jan 2006
Posts: 82
Default

when u drop an item on ground, it generate a item with char_id=0
johnsmith2 is offline  
Old 11.02.2006, 17:12   #5
Xellos
Архивный участник
 
Join Date: Feb 2006
Posts: 88
Default

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)
Xellos is offline  
Old 11.02.2006, 17:43   #6
nitromaxboi
Архивный участник
 
Join Date: Feb 2005
Posts: 62
Default

ok thx
nitromaxboi is offline  
Old 11.02.2006, 17:45   #7
nitromaxboi
Архивный участник
 
Join Date: Feb 2005
Posts: 62
Default

but the thing is that some of it shows enchant amount example exchant 10 etc so how would all this items get enchanted?
nitromaxboi is offline  
Old 11.02.2006, 17:47   #8
nitromaxboi
Архивный участник
 
Join Date: Feb 2005
Posts: 62
Default

not only that ever since this happen , when user some user log into the server it shows unregistered user skill. This didnt happened
nitromaxboi is offline  
Old 11.02.2006, 18:03   #9
Xellos
Архивный участник
 
Join Date: Feb 2006
Posts: 88
Default

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
Xellos is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:45.