---
title: "Web Attack: HTTP bdir.htr Path Disclosure"
url: https://www.broadcom.com/support/security-center/attacksignatures/detail?asid=20347
description: Attack Signature Detail Page
---

# Web Attack: HTTP bdir.htr Path Disclosure

## Severity: Medium

This attack could pose a moderate security threat. It does not require immediate action.

## Description

A remote administration script may lead to path disclosure in Microsoft Internet Information Server (IIS).

## Additional Information

Microsoft Internet Information Server (IIS) 3.0 came with a series of remote administration scripts installed in `/scripts/iisadmin` off the web root directory. `ism.dll` is required for processing these scripts, and version 3.0 of IIS came with an `ism.dll` containing an authentication scheme to prevent unauthorized access. If an IIS 3.0 installation is upgraded to IIS 4.0 without removing these scripts, they can be accessed remotely without authentication due to changes in the authentication methods used by IIS 4.0. One of these scripts, `bdir.htr`, still functions under the IIS 4.0 server and can be used by a remote attacker to obtain information about the server's directory structure. The script displays a directory listing of a directory specified as part of a request - but only directory names are displayed. Although privilege elevation cannot be accomplished directly by exploiting this script, the information about the server's directory structure thus obtained could potentially be used in mounting further attacks.

## Affected

- Microsoft IIS 3.0, 4.0

## Response

Delete the script `bdir.htr`, it is not required for normal system function.

## Additional Resources

- [Phrack Magazine Volume 8, Issue 54 Dec 25th, 1998, article 08 of 12](http://phrack.infonexus.com/search.phtml?view&article=p54-8)
- [SecurityFocus BID: 2280](http://www.securityfocus.com/bid/2280)
- [Comprehensive Windows NT Security](http://www.securityfocus.com/library/1944)
