* [gentoo-announce] [ GLSA 200701-28 ] thttpd: Unauthenticated remote file access
@ 2007-01-31 21:45 Raphael Marichez
0 siblings, 0 replies; only message in thread
From: Raphael Marichez @ 2007-01-31 21:45 UTC (permalink / raw
To: gentoo-announce; +Cc: bugtraq, full-disclosure, security-alerts
[-- Attachment #1: Type: text/plain, Size: 3004 bytes --]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200701-28
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Low
Title: thttpd: Unauthenticated remote file access
Date: January 31, 2007
Bugs: #142047
ID: 200701-28
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
The default configuration of the Gentoo thttpd package potentially
allows unauthenticated access to system files when used with newer
versions of baselayout.
Background
==========
thttpd is a webserver designed to be simple, small, and fast.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-servers/thttpd < 2.25b-r6 >= 2.25b-r6
Description
===========
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
======
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.
Workaround
==========
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.
Resolution
==========
All thttpd users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=www-servers/thttpd-2.25b-r5"
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200701-28.xml
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2007 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
[-- Attachment #2: Type: application/pgp-signature, Size: 481 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-31 23:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-31 21:45 [gentoo-announce] [ GLSA 200701-28 ] thttpd: Unauthenticated remote file access Raphael Marichez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox