Debian DSA-1075-1 : awstats - programming error

medium Nessus Plugin ID 22617

Synopsis

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

Description

Hendrik Weimer discovered that awstats can execute arbitrary commands under the user id the web-server runs when users are allowed to supply arbitrary configuration files. Even though, this bug was referenced in DSA 1058 accidentally, it was not fixed yet.

The new default behaviour is not to accept arbitrary configuration directories from the user. This can be overwritten by the AWSTATS_ENABLE_CONFIG_DIR environment variable when users are to be trusted.

The old stable distribution (woody) does not seem to be affected by this problem.

Solution

Upgrade the awstats package.

For the stable distribution (sarge) this problem has been fixed in version 6.4-1sarge3.

See Also

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365910

http://www.debian.org/security/2006/dsa-1075

Plugin Details

Severity: Medium

ID: 22617

File Name: debian_DSA-1075.nasl

Version: 1.17

Type: local

Agent: unix

Published: 10/14/2006

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 4

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:3.1, p-cpe:/a:debian:debian_linux:awstats

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

Patch Publication Date: 5/26/2006

Vulnerability Publication Date: 5/26/2006

Reference Information

CVE: CVE-2006-2644

DSA: 1075