Lucene search

K
nessusThis script is Copyright (C) 2003-2011 Digital Defense, Inc.DDI_WARFTPD_DIR_TRAVERSAL.NASL
HistoryJan 22, 2003 - 12:00 a.m.

WarFTPd dir Command Traversal Arbitrary Directory Listing

2003-01-2200:00:00
This script is Copyright (C) 2003-2011 Digital Defense, Inc.
www.tenable.com
23

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

EPSS

0.021

Percentile

89.4%

The version of WarFTPd running on this host contains a vulnerability that may allow a potential intruder to gain read access to directories and files outside of the ftp root. By sending a specially crafted ‘dir’ command, the server may disclose an arbitrary directory.

#
# This script was written by Erik Tayler <[email protected]>
#
# See the Nessus Scripts License for details
#
# Changes by Tenable:
# - Revised plugin title (2/04/2009)

include("compat.inc");

if(description)
{
	script_id(11206);
	script_version("1.18");

	script_cve_id("CVE-2001-0295");
	script_bugtraq_id(2444);
	
	script_name(english:"WarFTPd dir Command Traversal Arbitrary Directory Listing");
	script_summary(english:"WarFTPd Directory Traversal");

	script_set_attribute(attribute:"synopsis", value:
"The remote FTP service is prone to directory traversal attack.");
	script_set_attribute(attribute:"description", value:
"The version of WarFTPd running on this host contains a vulnerability
that may allow a potential intruder to gain read access to directories
and files outside of the ftp root.  By sending a specially crafted
'dir' command, the server may disclose an arbitrary directory.");
	script_set_attribute(attribute:"see_also", value:
"https://seclists.org/bugtraq/2001/Mar/72");
	script_set_attribute(attribute:"solution", value:
"Upgrade to WarFTPd version 1.67 b5 or later.");
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
 script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
 script_set_attribute(attribute:"exploit_available", value:"false");
	script_set_attribute(attribute:"plugin_publication_date", value:
"2003/01/22");
 script_set_attribute(attribute:"vuln_publication_date", value: "2001/03/06");
 script_cvs_date("Date: 2018/11/15 20:50:22");
	script_set_attribute(attribute:"plugin_type", value:"remote");
	script_end_attributes();

	script_category(ACT_ATTACK);
	script_copyright(english:"This script is Copyright (C) 2003-2011 Digital Defense, Inc.");
	script_family(english:"FTP");
	script_dependencies("ftpserver_detect_type_nd_version.nasl");
	script_require_ports("Services/ftp", 21);
	exit(0);
}

include("ftp_func.inc");

port = get_ftp_port(default: 21);

r = get_ftp_banner(port:port);
if (! r) exit(1);

	if( (egrep(pattern:"WAR-FTPD 1\.(6[0-5]|[0-5].*)",string:r)) || ("WAR-FTPD 1.67-04" >< r) )
	{
		security_warning(port);
	}

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

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

EPSS

0.021

Percentile

89.4%

Related for DDI_WARFTPD_DIR_TRAVERSAL.NASL