blob: 76ed830ee10634dd21e397b7183ae900896b0385 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200701-28">
<title>thttpd: Unauthenticated remote file access</title>
The default configuration of the Gentoo thttpd package potentially allows
unauthenticated access to system files when used with newer versions of
<product type="ebuild">thttpd</product>
<announced>January 31, 2007</announced>
<revised>March 11, 2007: 02</revised>
<package name="www-servers/thttpd" auto="yes" arch="*">
<unaffected range="ge">2.25b-r6</unaffected>
<vulnerable range="lt">2.25b-r6</vulnerable>
thttpd is a webserver designed to be simple, small, and fast.
thttpd is vulnerable to an underlying change made to the
start-stop-daemon command in the current stable Gentoo baselayout
package (version 1.12.6). In the new version, the start-stop-daemon
command performs a "chdir /" command just before starting the thttpd
process. In the Gentoo default configuration, this causes thttpd to
start with the document root set to "/", the sytem root directory.
<impact type="low">
When thttpd starts with the document root set to the system root
directory, all files on the system that are readable by the thttpd
process can be remotely accessed by unauthenticated users.
Alter the THTTPD_OPTS variable in /etc/conf.d/thttpd to include the
"-d" option to specify the document root. Alternatively, modify the
THTTPD_OPTS variable in /etc/conf.d/thttpd to specify a thttpd.conf
file using the "-C" option, and then configure the "dir=" directive in
that thttpd.conf file.
All thttpd users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=www-servers/thttpd-2.25b-r5&quot;</code>
<uri link="">CVE-2007-0664</uri>
<metadata tag="requester" timestamp="Fri, 26 Jan 2007 12:41:44 +0000">
<metadata tag="submitter" timestamp="Sat, 27 Jan 2007 17:49:26 +0000">
<metadata tag="bugReady" timestamp="Wed, 31 Jan 2007 21:45:13 +0000">