Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 23.12.2005, 05:05   #351
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by srh
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).
i cant make setting in sql2005. You can help me? tutorial guide
HF is offline  
Old 23.12.2005, 06:55   #352
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

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.
top-gear is offline  
Old 23.12.2005, 07:49   #353
srh
Архивный участник
 
Join Date: Aug 2005
Posts: 145
Default

okok i tried to read PM i've check out few fings and then write some tutorial :P
srh is offline  
Old 23.12.2005, 08:11   #354
kembl
Архивный участник
 
Join Date: May 2005
Posts: 63
Default

Quote:
Originally Posted by HF
Quote:
Originally Posted by srh
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).
i cant make setting in sql2005. You can help me? tutorial guide
Check here https://postpacific.loc-online.com/f...?p=26910#26910
this soluton for both 2000 and 2005, cause it in RAW-t-sql command format.
that script still under update! be aware!
kembl is offline  
Old 23.12.2005, 12:21   #355
tontor
Архивный участник
 
Join Date: May 2005
Posts: 109
Default

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 ))
Already working on it :). It will be posted here when finished, as far as BBS injection still goes. I tested it with example you provided as well as my own (serjr) and the injection failed. Since you said you were not 100% sure was still through BBS I'll assume it was through /block /friendinvite etc unless can provide more details.
tontor is offline  
Old 23.12.2005, 12:34   #356
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

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 is offline  
Old 23.12.2005, 13:11   #357
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

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.
horyfilipe is offline  
Old 23.12.2005, 18:26   #358
tontor
Архивный участник
 
Join Date: May 2005
Posts: 109
Default 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.
tontor is offline  
Old 23.12.2005, 18:42   #359
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

In testing tontor. Big thanks
Flamestrike is offline  
Old 23.12.2005, 19:07   #360
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default

tontor the best!!!

testing too
vex is offline  
Old 23.12.2005, 19:11   #361
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

GREAT!
thx a lot
you are da man^^
toolpunk is offline  
Old 23.12.2005, 19:23   #362
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

i dont know what to say ))))))))) - SUPER
Domzelan is offline  
Old 23.12.2005, 20:37   #363
Radmin
Архивный участник
 
Join Date: Oct 2005
Posts: 54
Default

tonor plz PM me.. i'm send for u new bug.. for get all skill...

i'dont understand how fixed him..
maby u work for it... maby...

4it0rz take for all admin Merri xristmas surprize...

wtf in word....
Radmin is offline  
Old 23.12.2005, 21:03   #364
tontor
Архивный участник
 
Join Date: May 2005
Posts: 109
Default

Quote:
Originally Posted by Radmin
tonor plz PM me.. i'm send for u new bug.. for get all skill...

i'dont understand how fixed him..
maby u work for it... maby...

4it0rz take for all admin Merri xristmas surprize...

wtf in word....
Awaiting your reply.
tontor is offline  
Old 23.12.2005, 21:08   #365
vex
Архивный участник
 
Join Date: Dec 2005
Posts: 83
Default

Have a little not critical bug

---
WARN:Possible SQL Injection attempt: "MacKu-LLIoy" packet was discarded
---

I think need to change one dash to double dash...
vex is offline  
Old 23.12.2005, 22:16   #366
Alamar
Архивный участник
 
Join Date: Jul 2005
Posts: 5
Default

Maybe a stupid question, but if quotes are filtered, why it is necessary to filter dashes, too?
Alamar is offline  
Old 23.12.2005, 22:18   #367
Radmin
Архивный участник
 
Join Date: Oct 2005
Posts: 54
Default

ok..ok.. boyz...
dont hate me...
u'm post bugz ...
and still witing who fixid it... $)
more admins... more fasted admins... and i know.. fix will be created.. if i dont posted it - u dont know what's a bug...

8)

sry all..
Radmin is offline  
Old 23.12.2005, 22:25   #368
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

could you please stop posting a complete how to where every idiot can read it?
its cause of people like you that more and more pservers are under attack of cheaters and botters.
please remove it from your post and pm tontor and torune.
they are working on a solution...
keep in mind that you shouldnt flood their inbox with thousands of messages.
when you message em once its enough
toolpunk is offline  
Old 23.12.2005, 22:30   #369
serjr
Архивный участник
 
Join Date: May 2005
Posts: 115
Default

GRRRR i will gnaw off you leg Radmin GRRRR
sry just can't deter myself
serjr is offline  
Old 23.12.2005, 22:40   #370
top-gear
Архивный участник
 
Join Date: Aug 2005
Posts: 605
Default

tontor please can you make a patch with the last fix only? my server freezes after 10 mins if I use the whole patch
top-gear is offline  
Old 24.12.2005, 00:46   #371
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

Patch working fine to meh
Flamestrike is offline  
Old 24.12.2005, 10:29   #372
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

hi
how to use the help exploit? I simply try to go to doorman click on him.. he tell me something..then I click in help on open gate
<a action="bypass -h menu_select?ask=-201&reply=1">open</a>


but nothing does.. Im using tontor patch of course......... but 2 players told me, they seen player that open castle door..

is there another help html? or Im doing something wrong [and tontor patch is not 100% proof... maybe because we have link failed? but i think link patch failed is only about receipts.. and we have another ID... ]
rodier is offline  
Old 24.12.2005, 14:03   #373
horyfilipe
Архивный участник
 
Join Date: Jul 2005
Posts: 242
Default

Rodier, i think ur problem is link failed yes lol.. check offsets, man, and fix it
horyfilipe is offline  
Old 24.12.2005, 16:33   #374
tontor
Архивный участник
 
Join Date: May 2005
Posts: 109
Default

Quote:
Originally Posted by rodier
hi
how to use the help exploit? I simply try to go to doorman click on him.. he tell me something..then I click in help on open gate
<a action="bypass -h menu_select?ask=-201&reply=1">open</a>


but nothing does.. Im using tontor patch of course......... but 2 players told me, they seen player that open castle door..

is there another help html? or Im doing something wrong [and tontor patch is not 100% proof... maybe because we have link failed? but i think link patch failed is only about receipts.. and we have another ID... ]
This would be in the bypass handler, not link, but correct your link problem, and again assure that this is really happening. If so then its definitely worth looking at. link handler is specific to linking htmls, bypass handles a majority of requests such as that one. but with link failed they can request the html (which they can because link is broken) they would be able to successfully send the bypass cmd.
tontor is offline  
Old 28.12.2005, 03:04   #375
Firedaemon
Архивный участник
 
Join Date: Oct 2005
Posts: 267
Default

Great work tontor; as always
Firedaemon 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 21:10.