The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[ GLSA 200701-28 ] thttpd: Unauthenticated remote file access


<< Previous INDEX Search src / Print Next >>
Date: Wed, 31 Jan 2007 22:45:49 +0100
From: Raphael Marichez <falco@gentoo.org.>
To: [email protected]
Subject: [ GLSA 200701-28 ] thttpd: Unauthenticated remote file access
Message-ID: <20070131214549.GC29873@falco.falcal.net.>
Mail-Followup-To: [email protected],
        [email protected], [email protected],
        [email protected]
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
        protocol="application/pgp-signature"; boundary="JgQwtEuHJzHdouWu"
Content-Disposition: inline
X-Web: http://falco.bz/
X-GPG-fingerprint: 04EB 153A 6B28 3E80 87A9  9B4F A77C 4BDE 021C 5BD2
X-GPG-Key: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0x021C5BD2
X-GPG-Subkey: http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0x0114FC45
Organization: Gentoo Linux Security Team
User-Agent: mutt-ng/devel-r804 (Linux)
X-Virus-Scanned: antivirus-gw at tyumen.ru


--JgQwtEuHJzHdouWu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
[email protected] 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

--JgQwtEuHJzHdouWu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRcEODTvRww8BFPxFAQJSGwf/dHSiGhvhm6Nzd/znf8Dys3Ai/LU2vTHH
yM4DRt9lSLhZ9BLuI73s1XkFOLCvb2oV08ApfXlWXg1LrhmFbgIovbjnQ4QomhVc
cUav0oZ7mPyxEw+2pwyvSnXstm1zxLPBDcH8J7BUu1R2kYP42fTYvMVxynOS5Ry7
LgbAoV4p9x7I6rMQW4Mpa61Y11AaxeRr/izVCiPOcBQlcEAwaO8GV//jWzO899uP
F8dElcX5e4AmaWz2ivq3bEzd9afn7eSBHfzM0ijf8MMFA6JnnaUzcZSWbeZlhqpN
Up5EzI11KPlaeh9VOKKfGbjxDdF/xcl5tBva9GbjVfeluDyOBV7I0g==
=Vch2
-----END PGP SIGNATURE-----

--JgQwtEuHJzHdouWu--


<< Previous INDEX Search src / Print Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру