Lighttpd: Buffer overflow Lighttpd is vulnerable to the remote execution of arbitrary code. lighttpd 2007-09-27 2007-09-27 191912 remote 1.4.18 1.4.18

Lighttpd is a lightweight HTTP web server.

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.

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.

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

All Lighttpd users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=www-servers/lighttpd-1.4.18"
CVE-2007-4727 p-y p-y p-y