CVE-2002-0612
CVSS7.5
发布时间 :2002-06-18 00:00:00
修订时间 :2008-09-05 16:28:29
NMCOES    

[原文]FileSeek.cgi allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) head or (2) foot parameters.


[CNNVD]FileSeek CGI脚本远程命令执行漏洞(CNNVD-200206-013)

        
        FileSeek是一款由Craig Patchett编写用于查找和下载文件的脚本。
        FileSeek对用户提交的WEB请求对SHELL元字符缺少正确过滤,远程攻击者可以利用这个漏洞以WEB权限在系统上执行任意命令。
        FileSeek没有对用户提交的'head'或者'foot'参数进行充分的SHELL元字符过滤,攻击者可以提交类似";command"的数据,可能以WEB进程权限在系统上执行任意命令。
        

- CVSS (基础分值)

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

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://www.iss.net/security_center/static/8857.php
(VENDOR_ADVISORY)  XF  fileseek-cgi-command-execution(8857)
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请求对SHELL元字符缺少正确过滤,远程攻击者可以利用这个漏洞以WEB权限在系统上执行任意命令。
        FileSeek没有对用户提交的'head'或者'foot'参数进行充分的SHELL元字符过滤,攻击者可以提交类似";command"的数据,可能以WEB进程权限在系统上执行任意命令。
        

- 公告与补丁

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

- 漏洞信息 (22227)

FileSeek CGI Script Remote Command Execution Vulnerability (EDBID:22227)
cgi webapps
2002-04-16 Verified
0 Thijs Bosschert
N/A [点击下载]
source: http://www.securityfocus.com/bid/6783/info

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.

It has been reported that FileSeek.cgi and FileSeek2.cgi do not filter shell metacharacters from web requests. As a result, it is possible for a remote attacker to execute commands on the shell of a host running the vulnerable script. Commands will be executed with the privileges of the webserver process.

This impact of this vulnerability is that an attacker may gain local, interactive access to the host.

http://www.example.com/cgi-bin/FileSeek.cgi?head=&foot=;id|
http://www.example.com/cgi-bin/FileSeek.cgi?head=;id|&foot=

http://www.example.com/cgi-bin/FileSeek.cgi?head=&foot=|id|
http://www.example.com/cgi-bin/FileSeek.cgi?head=|id|&foot=		

- 漏洞信息

3587
FileSeek FileSeek.cgi Arbitrary Command Execution
Remote / Network Access Input Manipulation
Loss of Integrity
Exploit Public

- 漏洞描述

FileSeek contains a flaw that allows a remote attacker to execute arbitrary commands. The issue is due to the FileSeek.cgi script not properly sanitizing input supplied to the "head" and "foot" variable. By supplying special characters and a valid unix command, the script will execute it with the privileges of the web server.

- 时间线

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 Remote Command Execution Vulnerability
Input Validation Error 6783
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.

It has been reported that FileSeek.cgi and FileSeek2.cgi do not filter shell metacharacters from web requests. As a result, it is possible for a remote attacker to execute commands on the shell of a host running the vulnerable script. Commands will be executed with the privileges of the webserver process.

This impact of this vulnerability is that an attacker may gain local, interactive access to the host.

- 漏洞利用

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

http://www.example.com/cgi-bin/FileSeek.cgi?head=&foot=;id|
http://www.example.com/cgi-bin/FileSeek.cgi?head=;id|&foot=

http://www.example.com/cgi-bin/FileSeek.cgi?head=&foot=|id|
http://www.example.com/cgi-bin/FileSeek.cgi?head=|id|&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公司的相关网站