Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Tutorials & Guides (https://postpacific.mmorpg-game.online/forumdisplay.php?f=44)
-   -   [Share] server side html exploit fix, cloning char fix (https://postpacific.mmorpg-game.online/showthread.php?t=2152)

horyfilipe 19.12.2005 02:19

Tontor, there is a new builtin help.htm inside some dll.. well i dont know if this has some to do with what i am going to tell, but the fact is that recipe bug is working, but also i have LINK(offset patch) FAILED.. do you think its because of the link failed? If yes, please tell me how to fix (offset/value)?

Thanks!

tontor 19.12.2005 04:42

Quote:

Originally Posted by horyfilipe
Tontor, there is a new builtin help.htm inside some dll.. well i dont know if this has some to do with what i am going to tell, but the fact is that recipe bug is working, but also i have LINK(offset patch) FAILED.. do you think its because of the link failed? If yes, please tell me how to fix (offset/value)?

Thanks!

It is absolutely the problem, check this thread earlier for details on offset/values to change for link/teleport. If link patch fails, link related (this includes recipes, reading local files) are vulnerable!

Flamestrike 19.12.2005 06:32

I got the same thing too link patch failed.

Phantom2005 19.12.2005 16:36

(how to fix link prob.)
hex offset: .005154b9

change to: 89 9c 24 24 01 00 00 66 89 5c 24 0c

toolpunk 19.12.2005 17:02

thx a lot phantom :)

Flamestrike 20.12.2005 00:53

Yeah like thanks :D

Domzelan 20.12.2005 12:55

tontor can you make a update - i said about logs, can you add in your patch loging. log.txt - and all logs save in this file?

Kryak 21.12.2005 05:12

Still it would be quite good to see time of attempt exploit

RmzVoid 21.12.2005 06:14

Quote:

Originally Posted by Domzelan
tontor can you make a update - i said about logs, can you add in your patch loging. log.txt - and all logs save in this file?

l2server/log/err/ here logs (also with tontor's messages)

serjr 21.12.2005 09:14

Tontor DLL was bypassed by BBS Inject.

Domzelan 21.12.2005 13:14

Quote:

Originally Posted by serjr
Tontor DLL was bypassed by BBS Inject.

yes :(

Mirror 21.12.2005 13:16

hasn't tontor blocked bbs inject in his last .dll version .. ?

serjr 21.12.2005 14:50

My message was about last version of DLL

Radmin 22.12.2005 05:34

need a fix plz %)

BBS Add Favorites and more... MORE... MORE!!!! other....
NEED a FIX PLZ!

serjr 22.12.2005 08:03

Афтар убей себя ап стену, кто такое пишет то открытым тексом?
For what reason you post here exploit? Maybe you don't know how to use PM?

srh 22.12.2005 08:52

2radmin: читай мой пост на тему того как это фиксить
2all: read my topic about [fix] "bug" ....

Mirror 22.12.2005 09:56

yes edit your post radmin or some mod do it

serjr 22.12.2005 10:21

Quote:

Originally Posted by srh
2radmin: читай мой пост на тему того как это фиксить
2all: read my topic about [fix] "bug" ....

2Srh you write right ideas but that will not help because inject work in stored procedure environment, not direct to base. Your post is not a panacea.

srh 22.12.2005 12:58

Quote:

Originally Posted by serjr
2Srh you write right ideas but that will not help because inject work in stored procedure environment, not direct to base. Your post is not a panacea.

ok, logging in as server login in QA, selecting db lin2world
query (as server do):
exec lin_AddBlockList 1, N''delete from ....--
we get reply:
Server: Msg 2627, Level 14, State 1, Procedure lin_AddBlockList, Line 41
Violation of PRIMARY KEY constraint 'PK_user_blocklist'. Cannot insert duplicate key in object 'user_blocklist'.
Server: Msg 50000, Level 16, State 1, Procedure lin_AddBlockList, Line 44
Cannot find add blocklist: char id = [1], target naem[]
The statement has been terminated.
Server: Msg 229, Level 14, State 5, Line 1
DELETE permission denied on object '....', database 'lin2world', owner 'dbo'.

testdude 22.12.2005 15:16

Quote:

Originally Posted by srh
Cannot find add blocklist: char id = [1], target naem[]

<offtopic> nice typo by ncsoft there xD </offtopic>
is there not a way to limit the size of the execute line for the store procedure? i noticed that if u do anything longer than delete from...... it cuts the end off, would this be because of the NVARCHAR(50) in the procedures veriabley thingies? change the 50 to 17 maybe fix this problem? i dunno, i r teh nub at sql stuffs xD

serjr 22.12.2005 15:22

what about bbs ?

RmzVoid 22.12.2005 16:02

srh's fix helps, but still need keep select and insert rights for DB user.
IMHO tontor can make parser for sql injections in command parameters ))

kembl 22.12.2005 16:59

So, what if hack@#s try to use exec?
The right way to solve this injection is replace any quote to double quote ' -> '' on any request from client, maybe torune can add this to his magic dll?

I think not far this day, when l2server will be only addon for torune's dll :)

top-gear 23.12.2005 02:39

RmzVoid delete your post, dont post direct commands like these!!!

I think the solution is to disable the block command server side. Is that possible? It surely requires hexing

srh 23.12.2005 04:36

Quote:

Originally Posted by RmzVoid
srh's fix helps, but still need keep select and insert rights for DB user.
IMHO tontor can make parser for sql injections in command parameters ))

as i say in my post u need some select only rights on few tables (builder... and user_data) and all (for server account).


All times are GMT. The time now is 16:42.