Gentoo 2478 Published by

A new security update has been released for Gentoo Linux - lighttpd: Multiple vulnerabilities. Here the announcement:



Gentoo Linux Security Advisory GLSA 200804-08
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: lighttpd: Multiple vulnerabilities
Date: April 10, 2008
Bugs: #212930, #214892
ID: 200804-08

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

Multiple vulnerabilities in lighttpd may lead to information disclosure
or a Denial of Service.

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

lighttpd is a lightweight high-performance web server.

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 www-servers/lighttpd < 1.4.19-r2 >=3D 1.4.19-r2

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Julien Cayzax discovered that an insecure default setting exists in
mod_userdir in lighttpd. When userdir.path is not set the default value
used is $HOME. It should be noted that the "nobody" user's $HOME is "/"
(CVE-2008-1270). An error also exists in the SSL connection code which
can be triggered when a user prematurely terminates his connection
(CVE-2008-1531).

Impact
=3D=3D=3D=3D=3D=3D

A remote attacker could exploit the first vulnerability to read
arbitrary files. The second vulnerability can be exploited by a remote
attacker to cause a Denial of Service by terminating a victim's SSL
connection.

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

As a workaround for CVE-2008-1270 you can set userdir.path to a
sensible value, e.g. "public_html".

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All lighttpd users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=3Dwww-servers/lighttpd-1.4.19-r=
2"

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

[ 1 ] CVE-2008-1270
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-1270
[ 2 ] CVE-2008-1531
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-1531

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200804-08.xml

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
=3D=3D=3D=3D=3D=3D=3D

Copyright 2008 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