IIS Search Method May Allow Unauthorized Users a Directory Listing of a Web Site (272079)
The information in this article applies to:
- Microsoft Internet Information Services 5.0
- Microsoft Internet Information Services version 6.0
This article was previously published under Q272079 SYMPTOMS It may be possible for an outside user to use the search
functionality in Web Distributed Authoring and Versioning (WebDAV) to get a
directory listing of a Web site's content area.
NOTE: This is only a problem if Index Server is used on the server
(which is not enabled by default), and the directory lists can only be
generated if the Web site (or resource such as a virtual directory or file) has
the Index property set.
The implications of this are that an
outside user may be able to discover a hidden directory or an include file
(such as a .inc). By using the search feature, a use may be able to get a
directory listing, which would make discovery much easier. This may expose your
Web site to a malicious attack (for example, if a .inc file includes a database
user name and password). RESOLUTION To secure your Web site(s) from a possible attack, perform
the following checklist on your Web site(s):
- If you are not using Index Server (for example, you don't
have content on your Web site that you want to have searched), disable or
uninstall the service.
-OR- - In directories that contain sensitive information, make
sure to disable the Index this resource option on the appropriate tab (for example, a virtual directory
on the Virtual Directory tab).
Modification Type: | Minor | Last Reviewed: | 7/16/2004 |
---|
Keywords: | kbpending kbprb KB272079 |
---|
|