3761 : TclHttpd dirlist.tcl Arbitrary Directory Access
Printer | http://osvdb.org/3761 | Email This | Edit Vulnerability

Views This Week

3

Views All Time

54

Info

Last Modified

7 months ago

Percent Complete

100%

Disclosure

Sep 23, 2003

Discovery

Unknown

Dates

Exploit

Sep 23, 2003

Solution

Unknown

Description

The TCLHttpd web server contains a directory traversal flaw that may lead to an unauthorized information disclosure. The issue is triggered when a request for directory listing occurs, which will reveal the contents of the directory resulting in a loss of confidentiality.

Classification

Location: Remote/Network Access Required
Attack Type: Input Manipulation
Impact: Loss of Confidentiality
Exploit: Exploit Available
Disclosure: OSVDB Verified
OSVDB: Web Related

Technical

When a user requests a directory on TCLHttpd server, httpdthread.tcl will start to look for various default index file names in that directory, if none can be
found then it will pass the operation to dirlist.tcl script to do the "fancy" directory listing which provides users the ability to sort files by modify
date, name, size or file's pattern. Dirlist.tcl script does filter inputs from the users in order to prevent directory traversal but it can be easily bypassed if an absolute path was entered. Directory listing is enabled by default.

Solution

Currently, there are no known upgrades or patches to correct this issue. It is possible to correct the flaw by implementing the following workaround(s): by editing the httpdthread.tcl and commenting out the directory listing option. Additionally, it is advisable to disable the following modules to prevent Cross Site Scripting: Status, Debug, Mail and Admin.

Products

Tcl
Watch-list
TclHttpd
Watch-list
3.4.2

References

Tools & Filters

Nikto

3120 3121

Manual Testing Notes

Credit

  • Phuong Nguyen - dphuongBrand New Doo Dooyahoo.com -

Blogs

None found at this time

Comments

No Comments.

DONATE NOW!

User Status

Quick Searches

Advertisements

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and 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. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2008 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use