CVE-2002-0611
CVSS5.0
发布时间 :2002-06-18 00:00:00
修订时间 :2008-09-05 16:28:29
NMCOS    

[原文]Directory traversal vulnerability in FileSeek.cgi allows remote attackers to read arbitrary files via a ....// (modified dot dot) in the (1) head or (2) foot parameters, which are not properly filtered.


[CNNVD]FileSeek CGI脚本远程文件泄露漏洞(CNNVD-200206-040)

        
        FileSeek是一款由Craig Patchett编写用于查找和下载文件的脚本。
        FileSeek对用户提交的请求缺少正确过滤,远程攻击者可以利用这个漏洞以WEB权限在系统上查看任意文件信息。
        FileSeek由于对"....//"字符缺少正确过滤,攻击者可以提交多个包含"....//"字符的URL请求,导致目录遍历攻击,以WEB进程权限在系统上查看任意文件信息。
        

- CVSS (基础分值)

CVSS分值: 5 [中等(MEDIUM)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: NONE [不会对系统完整性产生影响]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.iss.net/security_center/static/8858.php
(VENDOR_ADVISORY)  XF  fileseek-cgi-directory-traversal(8858)
http://archives.neohapsis.com/archives/vuln-dev/2002-q2/0132.html
(VENDOR_ADVISORY)  VULN-DEV  20020416 FileSeek cgi script advisory

- 漏洞信息

FileSeek CGI脚本远程文件泄露漏洞
中危 输入验证
2002-06-18 00:00:00 2005-10-20 00:00:00
远程  
        
        FileSeek是一款由Craig Patchett编写用于查找和下载文件的脚本。
        FileSeek对用户提交的请求缺少正确过滤,远程攻击者可以利用这个漏洞以WEB权限在系统上查看任意文件信息。
        FileSeek由于对"....//"字符缺少正确过滤,攻击者可以提交多个包含"....//"字符的URL请求,导致目录遍历攻击,以WEB进程权限在系统上查看任意文件信息。
        

- 公告与补丁

        临时解决方法:
        如果您不能立刻安装补丁或者升级,CNNVD建议您采取以下措施以降低威胁:
        * Thijs Bosschert (nighthawk@hackers4hackers.org)提供如下第三方补丁:
        更改如下部分代码:
        if ($directory =~ /$DD\.\./) { $directory = '' }
        $ARGS{'head'} =~ s/(^$ALLOWED_DIR)|(^$DD)|(\.\.($DD|$))//g;
        $ARGS{'foot'} =~ s/(^$ALLOWED_DIR)|(^$DD)|(\.\.($DD|$))//g;
        为:
        if ($directory =~ /$DD\.\./) { $directory = '' }
        $ARGS{'head'} =~ s/(^$ALLOWED_DIR)|(^$DD)|(\.\.)//g;
        $ARGS{'foot'} =~ s/(^$ALLOWED_DIR)|(^$DD)|(\.\.)//g;
        厂商补丁:
        Wiley Computer Publishing
        -------------------------
        目前厂商还没有提供补丁或者升级程序,我们建议使用此软件的用户随时关注厂商的主页以获取最新版本:
        
        http://www.cgi-perl.com/

- 漏洞信息

3589
FileSeek FileSeek.cgi Arbitrary File Access
Remote / Network Access Information Disclosure, Input Manipulation
Loss of Confidentiality
Exploit Public

- 漏洞描述

FileSeek contains a flaw that allows a remote attacker to view arbitrary files outside of the web path. The issue is due to the FileSeek.cgi program not properly sanitizing directory traversal style attacks (../../) supplied via the "head" or "foot" variables.

- 时间线

2002-04-16 Unknow
2002-04-16 Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, the vulnerability discoverer has released a patch in the advisory to address this vulnerability.

- 相关参考

- 漏洞作者

- 漏洞信息

FileSeek CGI Script File Disclosure Vulnerability
Input Validation Error 6784
Yes No
2002-04-16 12:00:00 2009-07-11 08:06:00
Discovery of this vulnerability has been credited to : Thijs Bosschert (nighthawk@hackers4hackers.org)

- 受影响的程序版本

Wiley Computer Publishing Craig Patchett FileSeek2.cgi
Wiley Computer Publishing Craig Patchett FileSeek.cgi

- 漏洞讨论

FileSeek is an example cgi-script from "The CGI/Perl Cookbook from John Wiley &
Sons". The script is written and maintained by Craig Patchett. It is mainly used to find and download files on a web server.

FileSeek.cgi and FileSeek2.cgi are prone to a file disclosure vulnerability. It is possible for a remote attacker to submit a maliciously crafted web request which is capable of breaking out of the wwwroot directory and browsing arbitrary web-readable files on a host running the vulnerable script.

- 漏洞利用

The following proof of concept code was provided by Thijs Bosschert (nighthawk@hackers4hackers.org):

http://host/cgi-bin/FileSeek.cgi?head=&foot=....//....//....//....//....
//....//....//etc/passwd
http://host/cgi-bin/FileSeek.cgi?head=....//....//....//....//....//....
//....//etc/passwd&foot=

- 解决方案

Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com <mailto:vuldb@securityfocus.com>.

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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