GLSA-200709-16 : Lighttpd: Buffer overflow

medium Nessus Plugin ID 26214

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-200709-16 (Lighttpd: Buffer overflow)

Mattias Bengtsson and Philip Olausson have discovered a buffer overflow vulnerability in the function fcgi_env_add() in the file mod_fastcgi.c when processing overly long HTTP headers.
Impact :

A remote attacker could send a specially crafted request to the vulnerable Lighttpd server, resulting in the remote execution of arbitrary code with privileges of the user running the web server. Note that mod_fastcgi is disabled in Gentoo's default configuration.
Workaround :

Edit the file /etc/lighttpd/lighttpd.conf and comment the following line: 'include mod_fastcgi.conf'

Solution

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

See Also

https://security.gentoo.org/glsa/200709-16

Plugin Details

Severity: Medium

ID: 26214

File Name: gentoo_GLSA-200709-16.nasl

Version: 1.16

Type: local

Published: 10/3/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/27/2007

Vulnerability Publication Date: 9/10/2007

Exploitable With

CANVAS (D2ExploitPack)

Core Impact

Reference Information

CVE: CVE-2007-4727

CWE: 119

GLSA: 200709-16