GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Thu Sep 27, 2007 9:26 pm Post subject: [ GLSA 200709-16 ] Lighttpd: Buffer overflow |
|
|
Gentoo Linux Security Advisory
Title: Lighttpd: Buffer overflow (GLSA 200709-16)
Severity: high
Exploitable: remote
Date: September 27, 2007
Bug(s): #191912
ID: 200709-16
Synopsis
Lighttpd is vulnerable to the remote execution of arbitrary code.
Background
Lighttpd is a lightweight HTTP web server.
Affected Packages
Package: www-servers/lighttpd
Vulnerable: < 1.4.18
Unaffected: >= 1.4.18
Architectures: All supported architectures
Description
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"
Resolution
All Lighttpd users should upgrade to the latest version:
Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=www-servers/lighttpd-1.4.18" |
References
CVE-2007-4727
Last edited by GLSA on Sat Aug 23, 2014 4:24 am; edited 2 times in total |
|