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.14

Type: local

Published: 2007/10/03

Updated: 2018/08/10

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

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: 2007/09/27

Vulnerability Publication Date: 2007/09/10

Exploitable With

CANVAS (D2ExploitPack)

Core Impact

Reference Information

CVE: CVE-2007-4727

GLSA: 200709-16

CWE: 119