Reporter Matthew Murphy
`BadBlue Arbitrary Administrative Actions Vulnerability
Author: Matthew Murphy (firstname.lastname@example.org)
Release Date: April 20, 2003
Affected Systems: BadBlue 2.15 and prior
Issue: A vulnerability enabling attackers to gain administrative control of
a vulnerable server.
* Personal Edition customers should download BadBlue 2.16, available now
* Enterprise Edition customers should contact Working Resources for a fixed
BadBlue is a powerful Web/P2P server with native Gnutella capabilities,
filters, CGI, and ISAPI. It ships with an ISAPI module that provides an
HTML-embedded dynamic web page language; this language powers the BadBlue
The BadBlue ISAPI module allows page parsing with the LoadPage command, via
the following syntax:
The DLL attempts to prevent remote users from accessing .hts pages by
checking the 'referer' HTTP header of requests, and also verifying that all
requests for .hts pages originate from 127.0.0.1 (the loopback).
By appending certain illegal characters to the requested filename, it is
possible to cause BadBlue to interpret .hts files from a remote system,
thereby yielding administrative control of the server to the attacker.
By issuing a specially-crafted request, such as:
An attacker can perform any administrative action on the server. The
example above adds a '/root' virtual directory that maps to the '\' path.
The attacker can then request the ext.ini file with the following request:
This will vary depending on the version/path of BadBlue's installation on
the system, but listing of virtual directories is enabled by default,
meaning that an attacker can traverse through the system, scanning for files
IV. Vendor Response
Working Resources was contacted on April 12, 2003. The latest version
(2.16) fixes this vulnerability. Personal Edition users may download this
Enterprise Edition customers should contact Working Resources for an