GLSA-200502-21 : lighttpd: Script source disclosure

medium Nessus Plugin ID 16472

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.

Solution

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

See Also

http://article.gmane.org/gmane.comp.web.lighttpd/1171

https://security.gentoo.org/glsa/200502-21

Plugin Details

Severity: Medium

ID: 16472

File Name: gentoo_GLSA-200502-21.nasl

Version: 1.16

Type: local

Published: 2/16/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:lighttpd, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2/15/2005

Vulnerability Publication Date: 2/12/2005

Reference Information

CVE: CVE-2005-0453

GLSA: 200502-21