GLSA-200804-08 : lighttpd: Multiple vulnerabilities

medium Nessus Plugin ID 31955

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-200804-08 (lighttpd: Multiple vulnerabilities)

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 :

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 :

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

Solution

All lighttpd users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=www-servers/lighttpd-1.4.19-r2'

See Also

https://security.gentoo.org/glsa/200804-08

Plugin Details

Severity: Medium

ID: 31955

File Name: gentoo_GLSA-200804-08.nasl

Version: 1.15

Type: local

Published: 4/17/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:lighttpd, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 4/10/2008

Reference Information

CVE: CVE-2008-1270, CVE-2008-1531

CWE: 200

GLSA: 200804-08