Distro advisory · Debian 3.1
awstats - programming error
Description
Vulnerability : programming error Problem type : remote Debian-specific: no Debian Bug : 365910
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 accidently, it was not fixed yet.
The new default behaviour is not ao 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.
Manual fix · Debian 3.1
sudo apt-get updatesudo apt-get install --only-upgrade awstatsdpkg -s awstats | grep VersionSources