lighttpd mod_fastcgi HTTP Request Header Remote Overflow

This script is Copyright (C) 2007-2011 Tenable Network Security, Inc.


Synopsis :

The remote web server is susceptible to a buffer overflow
vulnerability.

Description :

The remote web server appears to be lighttpd running with the FastCGI
module (mod_fastcgi).

The version of that module on the remote host appears to be
affected by a buffer overflow vulnerability. By sending a specially
crafted request with a long header, a remote attacker may be able to
exploit this issue to add or replace headers passed to PHP, such as
SCRIPT_FILENAME, which in turn could result in arbitrary code
execution.

See also :

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

Solution :

Either disable the FastCGI module or upgrade to lighttpd 1.4.18 or
later.

Risk factor :

Medium / CVSS Base Score : 6.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 5.6
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Web Servers

Nessus Plugin ID: 26057 (lighttpd_fastcgi_overflow.nasl)

Bugtraq ID: 25622

CVE ID: CVE-2007-4727