|
||
|
|||||||
| Network Modifications This forum is for modifications to the networking code of RunUO |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
It appears there's a huge flaw in PacketHandlers.cs. Players can edit packets with a packet editor when naming a character that throw the server into a crash. I have no fix for this bug. I am seeking assistance on how to fix it myself.
|
|
|
|
|
#3 (permalink) |
|
Garm Brood Cerebrate
|
http://article.gmane.org/gmane.comp....line.sunuo/106
In Network\PacketHandlers.cs at line 1969, change: Code:
Console.WriteLine( cityIndex );
Console.WriteLine( info.Length );
Console.WriteLine( "New character name: '{0}'", name );
state.Dispose();
Code:
Console.WriteLine( cityIndex );
if ( info != null )
Console.WriteLine( info.Length );
Console.WriteLine( "New character name: '{0}'", name );
state.Dispose();
I saw there were also the source of a C program to exploit that flaw somewhere on the net.
__________________
Named after the fierce hellhound of Norse myth, the Garm strikes with alarming speed and ferocity. The minions of this Brood excel at hit and run raids that weaken their enemy's defensive formations. Zasz, the cunning Cerebrate of this Brood, delights in preemptive attacks, relying chiefly upon surprise to throw enemy forces into total chaos. Last edited by ZaSz-RH; 12-28-2005 at 11:05 AM. |
|
|
|
|
#5 (permalink) |
|
Forum Novice
|
umm to git help maybe on how to fix it? most ppl dont think well hrmm ppl will prolly exploit this flaw they usually think hrmm i need help *types in www.runuo.com* and bam they post
|
|
|
|
|
#6 (permalink) |
|
Account Terminated
Join Date: Jun 2004
Location: Cincinnati, Ohio
Age: 20
Posts: 3,954
|
That doesn't require the posting of the actual exploit itself. A lot of people will use a dangerous tool if it's handed to them. You would be suprised at how many people will see this exploit and use it. If you think I'm wrong, then you obviously have not played on a shard with an exploitable situation before. I don't see how it was required at all.
|
|
|
|
|
#7 (permalink) | |
|
Forum Expert
Join Date: Feb 2004
Age: 27
Posts: 2,047
|
Quote:
|
|
|
|
|
|
#8 (permalink) |
|
Garm Brood Cerebrate
|
Removed the link. Thought it would help... but yeah it may be used by some idiots to crash shards...
__________________
Named after the fierce hellhound of Norse myth, the Garm strikes with alarming speed and ferocity. The minions of this Brood excel at hit and run raids that weaken their enemy's defensive formations. Zasz, the cunning Cerebrate of this Brood, delights in preemptive attacks, relying chiefly upon surprise to throw enemy forces into total chaos. |
|
|
|
|
#10 (permalink) |
|
Forum Expert
Join Date: Sep 2002
Age: 23
Posts: 1,472
|
I'd have to say I'm a fan of the "security bulletin" approach. Make the exploit public and raise the awareness. That will force a fix to be released much sooner, and people will know WHY their servers are crashing.
If someone was "smart" about it, they'd create a worm that browses the UO Gateway server list and randomly crashes servers from a range of different remote computers. |
|
|
|
|
#11 (permalink) |
|
Account Terminated
Join Date: Jun 2004
Location: Cincinnati, Ohio
Age: 20
Posts: 3,954
|
Making exploits/hacks widely available is a terrible way to force people to update their servers and/or get fixes. I can't believe you'd even suggest that, or the second part of your post.
|
|
|
|
|
#12 (permalink) | |
|
Forum Expert
|
Quote:
__________________
|
|
|
|
|
|
#14 (permalink) |
|
Garm Brood Cerebrate
|
Anyway, smart people are able to create it or find it if they really want to...
This thread is about the fix, and the fix was posted. Fix your shard and have a nice day! ![]()
__________________
Named after the fierce hellhound of Norse myth, the Garm strikes with alarming speed and ferocity. The minions of this Brood excel at hit and run raids that weaken their enemy's defensive formations. Zasz, the cunning Cerebrate of this Brood, delights in preemptive attacks, relying chiefly upon surprise to throw enemy forces into total chaos. |
|
|
|
|
#17 (permalink) |
|
Forum Expert
Join Date: Sep 2004
Age: 37
Posts: 1,006
|
From: http://www.opensource.org/advocacy/faq.php
Doesn't closed source help protect against crack attacks? This is exactly backwards, as any cryptographer will tell you. Security through obscurity just does not work. The reason it doesn't work is that security-breakers are a lot more motivated and persistent than good guys (who have lots of other things to worry about). The bad guys will find the holes whether source is open or closed (for a perfect recent example of this see The Tao of Windows Buffer Overflow). Closed sources do three bad things. One: they create a false sense of security. Two: they mean that the good guys will not find holes and fix them. Three: they make it harder to distribute trustworthy fixes when a hole is revealed. In fact, open-source operating systems and applications are generally much more security-safe than their closed-source counterparts. When the "Ping o' Death" exploit was revealed in 1997 (for example) Linux had fix patches within hours. Closed-source OSs didn't plug the hole for months. Alan Cox has written an excellent article on The Risks of Closed Source Computing. Simply substitute the word "source" with "posting exploits". look, the only point I'm making is how in the world are we (honest, non-expoiting, Admins/GameMasters/Coders) supposed to battle against a bunch of script kiddies when we have no clue what in the world there doing? Note that this isn't a comment on the original problem and/or the proposed fix. I've simply been doing some reading on www.opensource.org reacently, and this caught my eye. Last edited by Ohms_Law; 01-13-2006 at 07:44 AM. |
|
|
|
|
#18 (permalink) |
|
Join Date: Oct 2002
Age: 22
Posts: 4,689
|
As a note, since the networking has been recoded somewhat for the next version, I do not believe this is inherently a problem.
As for the fix, your post is fine. In terms of closed source vs open source. This is not a concern for C#, as we have seen with dolts like the Russians, you can illegally decompile closed source code (especially C#) if you really wanted to, and not even obfustruction will stop it. The only thing that obfustruction will do, is make the program slower. In my opinion, this debate should be over. The fix is fine until the release of the next version, and there is nothing wrong with this thread. |
|
|
|
|
#21 (permalink) |
|
Newbie
Join Date: Jul 2008
Age: 18
Posts: 60
|
I guess its a stupid question but here you go:
Does the exploit work on RunUO 2.0 RC2? Sorry someone had to ask this .
__________________
"I remember the time i was kidnapped and they sent a piece of my finger to my father, He said he wanted more proof." |
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|