FreeBSD : lighttpd -- multiple vulnerabilities (fb911e31-8ceb-11dd-bb29-000c6e274733)

high Nessus Plugin ID 34310

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Lighttpd seurity announcement :

lighttpd 1.4.19, and possibly other versions before 1.5.0, does not decode the url before matching against rewrite and redirect patterns, which allows attackers to bypass rewrites rules. this can be a security problem in certain configurations if these rules are used to hide certain urls.

lighttpd 1.4.19, and possibly other versions before 1.5.0, does not lowercase the filename after generating it from the url in mod_userdir on case insensitive (file)systems.

As other modules are case sensitive, this may lead to information disclosure; for example if one configured php to handle files ending on '.php', an attacker will get the php source with http://example.com/~user/file.PHP

lighttpd 1.4.19 does not always release a header if it triggered a 400 (Bad Request) due to a duplicate header.

Solution

Update the affected package.

See Also

http://download.lighttpd.net/lighttpd/security/lighttpd_sa_2008_05.txt

http://download.lighttpd.net/lighttpd/security/lighttpd_sa_2008_06.txt

http://download.lighttpd.net/lighttpd/security/lighttpd_sa_2008_07.txt

http://www.nessus.org/u?fc648025

Plugin Details

Severity: High

ID: 34310

File Name: freebsd_pkg_fb911e318ceb11ddbb29000c6e274733.nasl

Version: 1.25

Type: local

Published: 9/29/2008

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:lighttpd, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 9/27/2008

Vulnerability Publication Date: 9/26/2008

Reference Information

CVE: CVE-2008-4298, CVE-2008-4359, CVE-2008-4360

BID: 31434

CWE: 200, 399