GLSA-200502-21 : lighttpd: Script source disclosure

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


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-200502-21
(lighttpd: Script source disclosure)

lighttpd uses file extensions to determine which elements are programs
that should be executed and which are static pages that should be sent
as-is. By appending %00 to the filename, you can evade the extension
detection mechanism while still accessing the file.

Impact :

A remote attacker could send specific queries and access the source of
scripts that should have been executed as CGI or FastCGI applications.

Workaround :

There is no known workaround at this time.

See also :

http://article.gmane.org/gmane.comp.web.lighttpd/1171
http://www.gentoo.org/security/en/glsa/glsa-200502-21.xml

Solution :

All lighttpd users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=www-servers/lighttpd-1.3.10-r1'

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 16472 (gentoo_GLSA-200502-21.nasl)

Bugtraq ID:

CVE ID: CVE-2005-0453