![]() |
[SHARE] How to "fix" the AuthD exploit.
Ok guys... Lately a lot of servers got owned by this exploit where you just pick an account ID and pick any chars you want... Lots of servers got corrupted, people getting in GM accounts and summoning items, to sum it up, it's a total CHAOS. Anyways, this is how you should be able to temporarily fix it:
1 - First off, backup your lin2world and lin2db databases, if anything goes wrong, you'll be able to restore your databases and start it over again without being fucked over. 2 - Open your enterprise manager whatsoever in MSSQL, make a new query, put this into it and execute: Code:
use lin2world3 - After you've done that, unlock the lin2db database, make a new query, type this in and execute: Code:
use lin2db4 - Reload the server. Now script kiddies are gonna try to find the account ID's, they'll start by 1, 2, 3, 4, 5, 6, 7, 10k, 20k, 40k, 50k, 60k, 70k, until they go like WHAT THE FUCK and /wrist. Hope it helps you, thank you Mac for helping me out with this. Best regards. |
default db wont let u edit uid because its on auto increment, so u usually gotta disable that first...
|
this is still hardly a fix, more like a bandage like every other "fix" posted, but if nobody actually has the patience to figure out the number it becomes efective i guess
|
Quote:
|
Quote:
|
haha ye, anyway thanks for the share
|
also pyromaker didnt referred but i will, to unblock the lin2db -> user_account -> uid, open mssql->lin2db-> right click user_account->modify->column properties->scroll down to identify specification, expand it and change (Is Identify) to No ->close and save, run the query, after that go back to the properties and change the (Is Identify) to Yes and your good to go :P
|
Remember to update builder_account and user_newbie tables in lin2world too
And if you use Community Board need to update several tables too. |
/socialbow PyroMaker.
I though in that "fix" but i guessed (wrongly) that account_id was in many tables, but.. not. Is the best fix i read by now. |
Quote:
Tables I found is needed to update: lin2world user_data builder_account user_newbie lin2db user_account petition petition lin2comm user_memo board_1 board_2 board_ ... board_ .... comment_1 comment_2 comment_... comment_.... lin2clancomm clanbbs_1 clanbbs_2 clanbbs_... clanbbs_.... Obviuslly this isnt a fix but will make harder to found the correct account_id, but... a smart person will found it very fast... i mean...is possible to get account_id of your account very easy...so...you will know the new range... but for "script kiddies" this is a big deal :D I even close reg page to prevent some stupid people from trying to exploit it... and it will continue like that until i get a real fix... |
cool share im gonna try this out thanks guys
|
One more thing... when you update user_data in lin2world.. be carefull with deleted and banned chars (account_id = -1 or -2)
Code:
USE lin2db |
Thanks for sharing this work around with us.
To Unlock lin2db in MSSQL 2000. open Lin2db, right click user_account, open design table, highlight uid, change identity to No, its located on the lower half of the page. Make your changes, change identity back to yes. Thanks Rexx |
Quote:
But, we can use equations ^^ |
Better way is random 7digit id every account
|
Yeah guys share with us every single solution you can find for this problem, this is no longer about me or you, or X server and Y server, it's about server owners vs script kiddies, and when I say script kiddies I mean 12 years old kids that found this thing somewhere in a guide and now does it just for the fun of it.
How how sad can that be, a 12 years old with no skills at all ruining your work of months/years because they read this thing somewhere... This exploit is extremely easy, but it sure is fixable, so whoever knows a solution, post here. I'm working in a PHP that's probably gonna sort this thing out, if it works I'll share. Regards. |
Are you know, that server tell user real account's ID when users logs in? This "fix" - just for stupid newby.
|
Better than nothing, pal.
|
pyro if u wanna scramble it with a fast easy script u could just make a query update it in sections combined with a lil more maths in the update that changes everytime, for example u make a query to update the first 50 accounts by id * (10 + $a) + (30000 + $b) where u start with $a as 1 and $b as 1000 or so, and then update next 50 with with $a = $a +1 and $b = $b +1000, or smth alike so it scrambles it with gaps differing per 50 of more than 10 and (pretty much) more than 1000 per section, should piss em off bad enough >:]
|
just a question
your really sure that the new exploit only works with account_id? and not also possible with char_id? |
when you log in you char the packet you send only contains the character order (I mean, if you select the 4th of your list of chars the packet you send sends the number 4, no the char_id) so I don't think it's possible with char_id
|
ok but this here can't prevent from anything or? because with a simple packet sniffer or the hlplex (or whatever) tool you can see your own account_id when you login so...
or i'm wrong? |
Thing is, most of em already have the code, they just switch the ID's... Most of 'em won't even notice that.
|
ok now maybe a newbie question... but isn't is already possible to change all account_id and set them like a code befor?
like 85673_01 would be account_id 1 or just gj432_01 for account_id 1 and that the gj432 stand for every id this code could be simply randomly changed every server restart |
i hope - no, but account id is integer type.
|
wouldnt make a difference considering theyll see their own package..
|
| All times are GMT. The time now is 22:59. |