![]() |
@tontor
not using l2admin at all, only non-native services ran on the server platform are FireDaemon, L2npc, l2server. However the wndproc thing somehow hasn't happened for a few days. ;[ |
Quote:
|
Quote:
There was a mistake made while changing something awhile ago, allowing sql injection via bbs to be possible, the dll below should remedy it. Thanks to who brought the problem to my attention. |
WAY!!!
Sorry, hadn't time to write to u :( Decided to write this way for all!
That someone, who wrote about sql-injections, was me:) And it's cool that it wouldn't be problem. So, the way clones are working: 1) u have 2 accounts and use l2walker 2) at 1st u have 2 characters, at 2nd u have 3 characters 3) at 2nd account use "manual login char" 4) leave the window with list of chars 5) enter login and pass for of 1st account 6) enter 1st char to login 7) LOGIN IT 8) place ur character for example in market 9) use window from step 4 and login with 3rd char 10) l2walker after same amount of time will display "enter char failed" and will disconnect, BUT! CHAR FROM 1ST ACC WILL BE ONLINE 11) after that u may login with account u want, except 1st account. This way we produce clone. Cheater may use it for endless trader. |
!
Tontor, it will be better if u ICQ me by 203833915
|
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! |
Quote:
|
I got the same thing too link patch failed.
|
(how to fix link prob.)
hex offset: .005154b9 change to: 89 9c 24 24 01 00 00 66 89 5c 24 0c |
thx a lot phantom :)
|
Yeah like thanks :D
|
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?
|
Still it would be quite good to see time of attempt exploit
|
Quote:
|
Tontor DLL was bypassed by BBS Inject.
|
Quote:
|
hasn't tontor blocked bbs inject in his last .dll version .. ?
|
My message was about last version of DLL
|
need a fix plz %)
BBS Add Favorites and more... MORE... MORE!!!! other.... NEED a FIX PLZ! |
Афтар убей себя ап стену, кто такое пишет то открытым тексом?
For what reason you post here exploit? Maybe you don't know how to use PM? |
2radmin: читай мой пост на тему того как это фиксить
2all: read my topic about [fix] "bug" .... |
yes edit your post radmin or some mod do it
|
Quote:
|
Quote:
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'. |
Quote:
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 |
what about bbs ?
|
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 )) |
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 :) |
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 |
Quote:
|
Quote:
|
yes,that would be nice.tell me for sql 2000 too pls
Please someone tell me how to hex friendinvite and block. I don't want them to work at all. I don't know about bbs but those two commands are a serious problem right now. |
okok i tried to read PM :) i've check out few fings and then write some tutorial :P
|
Quote:
this soluton for both 2000 and 2005, cause it in RAW-t-sql command format. that script still under update! be aware! |
Quote:
|
tontor if you find a solution pls post it at a seperate patch. My server freezes if I use help fix, I suppose cause of the too many accounts and online ppl. I would like to have a seperate tool to fix those probs.
I have the BBS function disabled,so its a bit difficult to inject through there don't you think? |
top-gear how many players you have? Whats linerror says? I think last tontor's dll is 100% stable, i run 15 hours and since it was released, my server never crashed because of dll, only cause of the holy USERSOCKET.
Btw.. about usersocket, i realized when i optimize and reindex database, it happens less often. |
sql injection
I've added a hijack in assemble checking if the return is to CDBSocket::SendV if so, and the packet contains a unicode string to be assembled, it is filtered. It appears all sends to cached no matter what cdb send function is used will at one time call CDBSocket::SendV, this should cover all input to cached. All user input seems to be unicode not ascii.
So here you go, hopefully should solve sql injection problems. Filters are for ' " and -. Upon attempt it is logged to l2server with not much detail, just the string that was attempted and the packet gets dropped, you'll see an assemble error too, because i fail the assemble of the packet if filter matches, causing packet to be dropped. |
In testing tontor. Big thanks
|
tontor the best!!!
testing too |
| All times are GMT. The time now is 14:34. |