GLSA-200508-07 : AWStats: Arbitrary code execution using malicious Referrer information

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-200508-07
(AWStats: Arbitrary code execution using malicious Referrer information)

When using a URLPlugin, AWStats fails to sanitize Referrer URL
data before using them in a Perl eval() routine.

Impact :

A remote attacker can include arbitrary Referrer information in a
HTTP request to a web server, therefore injecting tainted data in the
log files. When AWStats is run on this log file, this can result in the
execution of arbitrary Perl code with the rights of the user running
AWStats.

Workaround :

Disable all URLPlugins in the AWStats configuration.

See also :

http://www.nessus.org/u?21540da6
http://www.gentoo.org/security/en/glsa/glsa-200508-07.xml

Solution :

All AWStats users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=www-misc/awstats-6.5'
Note: Users with the vhosts USE flag set should manually use
webapp-config to finalize the update.

Risk factor :

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

Family: Gentoo Local Security Checks

Nessus Plugin ID: 19440 (gentoo_GLSA-200508-07.nasl)

Bugtraq ID:

CVE ID: CVE-2005-1527