Executive Summary

Summary
Title Lighttpd: Buffer overflow
Informations
Name GLSA-200709-16 First vendor Publication 2007-09-27
Vendor Gentoo Last vendor Modification 2007-09-27
Severity (Vendor) High Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:P/I:P/A:P)
Cvss Base Score 6.8 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

Lighttpd is vulnerable to the remote execution of arbitrary code.

Background

Lighttpd is a lightweight HTTP web server.

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:
# emerge --sync
# emerge --ask --oneshot --verbose ">=www-servers/lighttpd-1.4.18"

References

[ 1 ] CVE-2007-4727 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4727

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200709-16.xml

Original Source

Url : http://security.gentoo.org/glsa/glsa-200709-16.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-119 Failure to Constrain Operations within the Bounds of a Memory Buffer

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:18620
 
Oval ID: oval:org.mitre.oval:def:18620
Title: DSA-1362-1 lighttpd - several vulnerabilities
Description: Several vulnerabilities were discovered in lighttpd, a fast webserver with minimal memory footprint, which could allow the execution of arbitrary code via the overflow of CGI variables when mod_fcgi was enabled.
Family: unix Class: patch
Reference(s): DSA-1362-1
CVE-2007-3946
CVE-2007-3947
CVE-2007-3949
CVE-2007-3950
CVE-2007-4727
Version: 7
Platform(s): Debian GNU/Linux 4.0
Product(s): lighttpd
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 55

OpenVAS Exploits

Date Description
2009-02-27 Name : Fedora Update for lighttpd FEDORA-2007-2132
File : nvt/gb_fedora_2007_2132_lighttpd_fc7.nasl
2008-09-24 Name : Gentoo Security Advisory GLSA 200709-16 (lighttpd)
File : nvt/glsa_200709_16.nasl
2008-09-24 Name : Gentoo Security Advisory GLSA 200710-02 (php)
File : nvt/glsa_200710_02.nasl
2008-09-04 Name : FreeBSD Ports: lighttpd
File : nvt/freebsd_lighttpd0.nasl
2008-01-17 Name : Debian Security Advisory DSA 1362-2 (lighttpd)
File : nvt/deb_1362_2.nasl

Open Source Vulnerability Database (OSVDB)

Id Description
36933 lighttpd mod_fastcgi HTTP Request Header Overflow

Snort® IPS/IDS

Date Description
2014-01-10 Lighttpd mod_fastcgi Extension CGI Variable Overwriting Vulnerability attempt
RuleID : 17386 - Revision : 10 - Type : SERVER-WEBAPP

Nessus® Vulnerability Scanner

Date Description
2007-11-06 Name : The remote Fedora host is missing a security update.
File : fedora_2007-2132.nasl - Type : ACT_GATHER_INFO
2007-10-17 Name : The remote openSUSE host is missing a security update.
File : suse_lighttpd-4532.nasl - Type : ACT_GATHER_INFO
2007-10-09 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200710-02.nasl - Type : ACT_GATHER_INFO
2007-10-03 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-200709-16.nasl - Type : ACT_GATHER_INFO
2007-09-17 Name : The remote web server is affected by a buffer overflow vulnerability.
File : lighttpd_fastcgi_overflow.nasl - Type : ACT_ATTACK
2007-09-14 Name : The remote FreeBSD host is missing a security-related update.
File : freebsd_pkg_4b673ae75f9a11dc84dd000102cc8983.nasl - Type : ACT_GATHER_INFO
2007-09-03 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-1362.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:35:08
  • Multiple Updates