Lucene search
K

MailMax < 5.0.10.8 Multiple Remote Overflows

🗓️ 07 May 2003 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 28 Views

MailMax versions before 5.0.10.8 are vulnerable to buffer overflow attacks on SMTP and IMAP servers.

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-1999-0404
29 Sep 199904:00
cve
Cvelist
CVE-1999-0404
29 Sep 199904:00
cvelist
EUVD
EUVD-1999-0404
7 Oct 202500:30
euvd
NVD
CVE-1999-0404
14 Feb 199905:00
nvd
Positive Technologies
PT-1999-1090 · Mailma · Mail-Max Smtp Server
14 Feb 199900:00
ptsecurity
RedhatCVE
CVE-1999-0404
7 Jan 202609:38
redhatcve
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");

if(description)
{
 script_id(11598);
 script_version ("1.25");
 script_cve_id("CVE-1999-0404");
 script_bugtraq_id(2312, 7326, 52838);
 
 script_name(english:"MailMax < 5.0.10.8 Multiple Remote Overflows");
 
 script_set_attribute(attribute:"synopsis", value:
"The remote SMTP and IMAP servers are prone to buffer overflow attacks." );
 script_set_attribute(attribute:"description", value:
"The remote host is running a version of the MailMax mail server that
is vulnerable to various overflows.  These issues may allow an
unauthenticated, remote attacker to disable the affected service and
possibly to execute arbitrary commands on the affected host." );
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/1999/Feb/271" );
 script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2003/Apr/172" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to MailMax 5.0.10.8 or later." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
 script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_set_attribute(attribute:"plugin_publication_date", value: "2003/05/07");
 script_set_attribute(attribute:"vuln_publication_date", value: "1999/02/14");
 script_set_attribute(attribute:"plugin_modification_date", value:"2020/08/05");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_end_attributes();

 
 script_summary(english:"Overflows the remote IMAP server");
 script_category(ACT_MIXED_ATTACK);
 script_copyright(english:"This script is Copyright (C) 2003-2020 Tenable Network Security, Inc.");
 script_family(english:"Gain a shell remotely");
 script_dependencies("find_service1.nasl", "smtp_settings.nasl");
 script_require_ports("Services/imap", 143);
 exit(0);
}

#
# The script code starts here
#

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

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

banner = get_imap_banner(port:port);
if (!banner || "MailMax " >!< banner) exit(0);


if(safe_checks())
{
  if(egrep(pattern:"MailMax [1-5][^0-9]", string:banner))
  {
    report = string(
      "\n",
      "Nessus has determined the flaw exists with the application\n",
      "simply by looking at the version in the IMAP server's banner.\n"
    );
    security_hole(port:port, extra:report);
  }
  exit(0);
}

if (report_paranoia < 2) exit(0);

soc = open_sock_tcp(port);
if(soc)
{
  r = recv_line(socket:soc, length:4096);
  if ( ! r ) exit(0);
   send(socket:soc, data:string("0000 CAPABILITY\r\n"));
   r = recv_line(socket:soc, length:4096);
   r = recv_line(socket:soc, length:4096);

   email = get_kb_item('SMTP/headers/From');
   if (!email) email = '[email protected]';
   send(socket:soc, data:'0001 LOGIN "' + email + '" "' + crap(50) + '\r\n');

   r = recv_line(socket:soc, length:4096);
   r = recv_line(socket:soc, length:4096);
   close(soc);

   soc = open_sock_tcp(port);
   if(!soc){security_hole(port); exit(0);}
   r = recv_line(socket:soc, length:4096);
   if(!r)security_hole(port);
   close(soc);  
}

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

05 Aug 2020 00:00Current
6Medium risk
Vulners AI Score6
CVSS 27.5
EPSS0.05763
28