PDA

View Full Version : Strange bugs


retrib
24-02-2008, 16:37
Hello everyone!

I've got 2 problems, maybe smbd can help me here...

First one.
My old version of TeamSpeak server was hacked. Someway one person got rights to make registered channels. That channels contained (probably) some special symbols, that make TS client to crash after logging in and trying to do smth with that channel (join,delete etc). Maybe it was just my mistake with users rights, but anyway, client crashed. So heres a little piece of log for u.

---------------------------------------------------------------
-------------- log started at 18-02-08 20:25 -------------
---------------------------------------------------------------
18-02-08 20:25:23,ALL,Info,server, Server init initialized
18-02-08 20:25:23,ALL,Info,server, Server version: 2.0.20.1 Win32
18-02-08 20:25:23,ALL,Info,server, Starting VirtualServer id:1 with port:8767
18-02-08 20:25:23,ALL,Info,server, Server init finished
19-02-08 18:30:27,ALL,Info,AccessLog, SID: 1 client connected [IP: 77.232.15.51, Nick: Drun4ik, Version: 2.0.32.60]
19-02-08 18:31:21,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52]
19-02-08 18:31:48,ALL,Info,AccessLog, SID: 1 client disconnected, reason Bad Login [IP: 77.232.15.51, Nick: Drun4ik D)I(uXaD, LoginName: Drun4ik D)I(uXaD, Version: 2.0.32.60]
19-02-08 18:32:13,ALL,Info,AccessLog, SID: 1 client connected [IP: 77.232.15.51, Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52, Version: 2.0.32.60]
19-02-08 18:37:56,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52]
19-02-08 18:38:37,ALL,Info,AccessLog, SID: 1 client connected [IP: 77.232.15.51, Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52, Version: 2.0.32.60]
19-02-08 20:47:43,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52]
19-02-08 20:48:57,ALL,Info,AccessLog, SID: 1 client connected [IP: 77.232.15.51, Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52, Version: 2.0.32.60]
19-02-08 22:51:02,ALL,Info,AccessLog, SID: 1 client connected [IP: 78.85.28.168, Nick: Duda, Version: 2.0.32.60]
19-02-08 22:51:31,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: ошщо0що, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:52:41,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: *******\objlink\objrsltgif\;}, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:53:51,ALL,Info,AccessLog, SID: 1 client disconnected, reason LoginName in use [IP: 77.232.15.51, Nick: Drun4ik1, LoginName: Drun4ik D)I(uXaD, Version: 2.0.32.60]
19-02-08 22:54:05,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52]
19-02-08 22:54:11,ALL,Info,AccessLog, SID: 1 client connected [IP: 77.232.15.51, Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52, Version: 2.0.32.60]
19-02-08 22:54:47,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: сука, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:54:57,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: лох, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:55:04,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: ебан, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:55:18,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: ебаны, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:55:25,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: лохи, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:55:37,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: лошарики, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:55:45,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: суки, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:56:02,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: хуиплёты, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:56:51,ALL,Info,ChannelLog, SID: 1 registerred subchannel created [ChannelName: залуповёрты, ClientNickName: Duda, ClientLoginName: йцйц]
19-02-08 22:58:06,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Duda, LoginName: йцйц, DBID: 53]
19-02-08 22:58:06,ALL,Info,AccessLog, SID: 1 client connected [IP: 78.85.28.168, Nick: Duda, Version: 2.0.32.60]
19-02-08 22:59:02,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Duda, LoginName: *******\objlink\objrsltgif\;}, DBID: 54]
19-02-08 22:59:06,ALL,Info,AccessLog, SID: 1 client connected [IP: 78.85.28.168, Nick: Duda, Version: 2.0.32.60]
19-02-08 22:59:43,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52]
19-02-08 23:01:58,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Duda, LoginName: adminy_pidorky, DBID: 55]
20-02-08 16:54:35,ALL,Info,AccessLog, SID: 1 client connected [IP: 77.232.15.51, Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52, Version: 2.0.32.60]
20-02-08 16:55:18,ALL,Info,AccessLog, SID: 1 client disconnected, reason LoginName in use [IP: 77.232.15.51, Nick: Drun4ik1, LoginName: Drun4ik D)I(uXaD, Version: 2.0.32.60]
20-02-08 16:55:25,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52]
20-02-08 16:55:34,ALL,Info,AccessLog, SID: 1 client connected [IP: 77.232.15.51, Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52, Version: 2.0.32.60]
20-02-08 19:15:23,ALL,Info,AccessLog, SID: 1 client connected [IP: 87.245.164.6, Nick: KidsPorno, Version: 2.0.32.60]
20-02-08 19:17:25,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: KidsPorno]
20-02-08 19:17:47,ALL,Info,AccessLog, SID: 1 client connected [IP: 87.245.164.6, Nick: KidsPorno, Version: 2.0.32.60]
20-02-08 19:20:59,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: KidsPorno, LoginName: KidsPorno, DBID: 56]
20-02-08 19:40:56,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: Drun4ik, LoginName: Drun4ik D)I(uXaD, DBID: 52]
21-02-08 15:15:20,ALL,Info,AccessLog, SID: 1 client connected [IP: 87.245.164.6, Nick: KidsPorno, Version: 2.0.32.60]
21-02-08 15:16:25,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: KidsPorno]
21-02-08 17:55:13,ALL,Info,AccessLog, SID: 1 client connected [IP: 87.245.164.6, Nick: KidsPorno, Version: 2.0.32.60]
21-02-08 17:55:53,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: KidsPorno, LoginName: PornoKing, DBID: 57]
22-02-08 14:19:43,ALL,Info,AccessLog, SID: 1 client connected [IP: 77.51.114.89, Nick: dGFHG, Version: 2.0.32.60]
22-02-08 14:20:30,ALL,Info,AccessLog, SID: 1 client disconnected. [Nick: dGFHG]

Look what "Duda" done. His channels crashed TS.

The second problem.
I`ve installed the last TS server version and got a litttle problem with it. Maybe i`ve just made a mistake in users rights again... No one of anonymous, registered etc users cannot speak at my server, before i grant his voice rights. Of course i checked AccessVoice option for registered users. How can i fix this terrible problem?

P.s. sorry for my english, i'm russian actually... :o

P.p.s. sorry if i post this in wrong place or just asking dumb questions :rolleyes:

Gamerz_Lounge
24-02-2008, 16:51
1. Delete usernames that are unkown to you, just a guess on this one

2. Can you give us screen shots of your permissions that you have on right now for registered members. I will be able to help you more this way

BHKai
24-02-2008, 17:03
Update your server to the lastest version.

Take out the moderated flag.

retrib
24-02-2008, 17:08
Pfff. Just found a reason for 2nd bug. Right after posting here :D

I made all channels moderated, so all users must get voice rights granted. I thought "moderated" means, that i can make a CA or operator for that channel. I can't even imagine that all users cannot speak in these channels before confirmation. Sorry for dusturbing with that. Better to put description of "moderated" in manual...

With first problem - of course, i banned IP of that user. But i think theres may be some exploit tool to make this with some versions of TS servers... TS client just print several error messages and exits when you try to connect to hacked channel. Unfortunately, i haven't any screenshots of that errors, but you can see channels names in log. (mb reason in channels names etc)

Gamerz_Lounge
24-02-2008, 17:51
In your global settings - uncheck public this will help with people trying to hack

retrib
25-02-2008, 03:44
Thnx i'll uncheck public listing. Hope some coders will see that strange bug with TS crashing.
My problems solved. Thanks a lot guys!

Peter
25-02-2008, 07:28
Hi there,

please update to the newest TS2 Client version, then your client will not crash anymore no matter what weird character sequences channels/clients etc. contain :).

You should get this from the download section:

TeamSpeak 2 Client (Updated Executable)
SHA1: 5b21f93b5574b067ac24515e1d43f7dde3297945
MD5: a19547c94bc7695d1ef53ff8d1db297a
2.0.33.7

Also, updating the server to the newest version helps too, the server will also strip dangerous characters from channels/clients etc.

TeamSpeak 2 Server (Updated Executable)
SHA1: 4e7e85a87b997f5091657402a5564b8e222a2819
MD5: 6ff1477da29bc959743c59fb56162acf
2.0.24.1 0.45 MB