Debian DSA-2649-1 : lighttpd - fixed socket name in world-writable directory

low Nessus Plugin ID 65585

Synopsis

The remote Debian host is missing a security-related update.

Description

Stefan Buhler discovered that the Debian specific configuration file for lighttpd webserver FastCGI PHP support used a fixed socket name in the world-writable /tmp directory. A symlink attack or a race condition could be exploited by a malicious user on the same machine to take over the PHP control socket and for example force the webserver to use a different PHP version.

As the fix is in a configuration file lying in /etc, the update won't be enforced if the file has been modified by the administrator. In that case, care should be taken to manually apply the fix.

Solution

Upgrade the lighttpd packages.

For the stable distribution (squeeze), this problem has been fixed in version 1.4.28-2+squeeze1.3.

See Also

https://packages.debian.org/source/squeeze/lighttpd

https://www.debian.org/security/2013/dsa-2649

Plugin Details

Severity: Low

ID: 65585

File Name: debian_DSA-2649.nasl

Version: 1.10

Type: local

Agent: unix

Published: 3/17/2013

Updated: 1/11/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 1.4

CVSS v2

Risk Factor: Low

Base Score: 1.9

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:lighttpd, cpe:/o:debian:debian_linux:6.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Patch Publication Date: 3/15/2013

Reference Information

CVE: CVE-2013-1427

DSA: 2649