Lucene search

K
openvasCopyright (C) 2011 Greenbone AGOPENVAS:1361412562310802266
HistoryNov 08, 2011 - 12:00 a.m.

NJStar Communicator MiniSMTP Server Remote Stack Buffer Overflow Vulnerability

2011-11-0800:00:00
Copyright (C) 2011 Greenbone AG
plugins.openvas.org
17

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

AI Score

7.1

Confidence

Low

EPSS

0.726

Percentile

98.1%

NJStar Communicator MiniSMTP Server is prone to a buffer overflow vulnerability.

# SPDX-FileCopyrightText: 2011 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.802266");
  script_version("2023-07-21T05:05:22+0000");
  script_cve_id("CVE-2011-4040");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"last_modification", value:"2023-07-21 05:05:22 +0000 (Fri, 21 Jul 2023)");
  script_tag(name:"creation_date", value:"2011-11-08 19:46:14 +0530 (Tue, 08 Nov 2011)");
  script_name("NJStar Communicator MiniSMTP Server Remote Stack Buffer Overflow Vulnerability");
  script_category(ACT_DENIAL);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Buffer overflow");
  script_dependencies("smtpserver_detect.nasl");
  script_require_ports("Services/smtp", 25);
  script_mandatory_keys("smtp/banner/available");

  script_tag(name:"impact", value:"Successful exploitation may allow remote attackers to execute
  arbitrary code within the context of the application or cause a denial of service condition.");

  script_tag(name:"affected", value:"NJStar Communicator Version 3.00.");

  script_tag(name:"insight", value:"The flaw is due to a boundary error within the MiniSmtp server when
  processing packets. This can be exploited to cause a stack-based buffer overflow via a specially crafted
  packet sent to TCP port 25.");

  script_tag(name:"solution", value:"No known solution was made available for at least one year since the disclosure
  of this vulnerability. Likely none will be provided anymore. General solution options are to upgrade to a newer
  release, disable respective features, remove the product or replace the product by another one.");

  script_tag(name:"summary", value:"NJStar Communicator MiniSMTP Server is prone to a buffer overflow vulnerability.");

  script_xref(name:"URL", value:"http://secunia.com/advisories/46630");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/50452");
  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/18057");

  script_tag(name:"qod_type", value:"remote_analysis");
  script_tag(name:"solution_type", value:"WillNotFix");

  exit(0);
}

include("smtp_func.inc");
include("misc_func.inc");
include("port_service_func.inc");

port = smtp_get_port(default:25);

help = get_kb_item("smtp/fingerprints/" + port + "/help_banner");
if(!help || "E-mail Server From NJStar Software" >!< help)
  exit(0);

if(!soc = smtp_open(port:port))
  exit(0);

send(socket:soc, data:crap(512));
smtp_close(socket:soc, check_data:FALSE);

if(!soc = smtp_open(port:port)){
  security_message(port:port);
  exit(0);
}

smtp_close(socket:soc, check_data:FALSE);

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

AI Score

7.1

Confidence

Low

EPSS

0.726

Percentile

98.1%