Vulnerabilities > CVE-2004-1546 - Remote Buffer Overflow vulnerability in Alt-N Mdaemon 6.5.1

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
exploit available

Summary

Multiple buffer overflows in MDaemon 6.5.1 allow remote attackers to cause a denial of service (application crash) via a long (1) SAML, SOML, SEND, or MAIL command to the SMTP server or (2) LIST command to the IMAP server.

Vulnerable Configurations

Part Description Count
Application
Alt-N
1

Exploit-Db

  • descriptionAlt-N MDaemon 6.5.1 SMTP Server Multiple Command Remote Overflow. CVE-2004-1546. Remote exploit for windows platform
    idEDB-ID:24624
    last seen2016-02-02
    modified2004-09-16
    published2004-09-16
    reporterD_BuG
    sourcehttps://www.exploit-db.com/download/24624/
    titleAlt-N MDaemon 6.5.1 SMTP Server Multiple Command Remote Overflow
  • descriptionMDaemon 6.5.1 IMAP/SMTP Remote Buffer Overflow Exploit. CVE-2004-1546. Remote exploit for windows platform
    idEDB-ID:473
    last seen2016-01-31
    modified2004-09-22
    published2004-09-22
    reporterD_BuG
    sourcehttps://www.exploit-db.com/download/473/
    titleMDaemon 6.5.1 IMAP/SMTP Remote Buffer Overflow Exploit

Nessus

NASL familySMTP problems
NASL idMDAEMON_BUFFER_OVERFLOWS.NASL
descriptionAccording to its banner, the version of MDaemon running on the remote host has multiple buffer overflow vulnerabilities. A remote attacker could exploit these issues to execute arbitrary code.
last seen2020-06-01
modified2020-06-02
plugin id14804
published2004-09-23
reporterThis script is Copyright (C) 2004-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/14804
titleMDaemon < 6.5.2 Multiple Remote Buffer Overflows
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(14804);
  script_version("1.18");
  script_cvs_date("Date: 2018/11/15 20:50:24");

  script_cve_id("CVE-2004-1546");
  script_bugtraq_id(11238);

  script_name(english:"MDaemon < 6.5.2 Multiple Remote Buffer Overflows");
  script_summary(english:"Checks the remote version of Mdaemon");

  script_set_attribute(attribute:"synopsis", value:"The remote SMTP server has multiple buffer overflow vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"According to its banner, the version of MDaemon running on the remote
host has multiple buffer overflow vulnerabilities.  A remote attacker
could exploit these issues to execute arbitrary code.");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/fulldisclosure/2004/Sep/821");
  script_set_attribute(attribute:"solution", value:"Upgrade to MDaemon 6.5.2 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:"vuln_publication_date", value:"2004/09/22");
  script_set_attribute(attribute:"plugin_publication_date", value:"2004/09/23");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:alt-n:mdaemon");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"SMTP problems");

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

  script_dependencies("mdaemon_detect.nasl");
  script_require_keys("mdaemon/installed");

  exit(0);
}


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

port = get_kb_item_or_exit("mdaemon/port");

version = get_kb_item_or_exit("mdaemon/"+port+"/version");
source = get_kb_item_or_exit("mdaemon/"+port+"/source");

fix = "6.5.2";
if (version =~ "^([0-5]\.|(6\.[0-4]|6\.5\.[01])($|[^0-9]))")
{
  if (report_verbosity > 0)
  {
    report =
    '\n' +
    '\n  Source            : ' + source +
    '\n  Installed version : ' + version +
    '\n  Fixed version     : ' + fix +
    '\n';
    security_hole(port:port, extra:report);
  }
  else security_hole(port);
  exit(0);
}
else audit(AUDIT_LISTEN_NOT_VULN, "MDaemon", port, version);