Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200606-06] AWStats: Remote execution of arbitrary code


Vulnerability Assessment Details

[GLSA-200606-06] AWStats: Remote execution of arbitrary code

Vulnerability Assessment Summary
AWStats: Remote execution of arbitrary code

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200606-06
(AWStats: Remote execution of arbitrary code)


Hendrik Weimer has found that if updating the statistics via the
web frontend is enabled, it is possible to inject arbitrary code via a
pipe character in the "migrate" parameter. Additionally, r0t has
discovered that AWStats fails to properly sanitize user-supplied input
in awstats.pl.

Impact

A remote attacker can execute arbitrary code on the server in the
context of the application running the AWStats CGI script if updating
of the statistics via web frontend is permited. Nonetheless, all
configurations are affected by a cross-site scripting vulnerability in
awstats.pl, permiting a remote attacker to execute arbitrary scripts
running in the context of the victim's browser.

Workaround

Disable statistics updates using the web frontend to avoid code
injection. However, there is no known workaround at this time
concerning the cross-site scripting vulnerability.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1945
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2237


Solution:
All AWStats users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-www/awstats-6.5-r1"


Network Security Threat Level: High


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2006 Michel Arboi

Cables, Connectors

Original SanDisk Cruzer Blade 16G CZ50 16GB 16 G USB 2.0 Flash Thumb Pen Drive
$0.99
Original SanDisk Cruzer Blade 16G CZ50 16GB 16 G USB 2.0 Flash Thumb Pen Drive pictureNew 8GB USB 2.0 U-Disk Flash Drive Bracelet Fashion Memory Stick Pen Storage
$13.99
New 8GB USB 2.0 U-Disk Flash Drive Bracelet Fashion Memory Stick Pen Storage pictureFusion-IO 640GB MLC IoDuo PCI-Express Flash Drive SSD Storage Accelerator
$599.0
Fusion-IO 640GB MLC IoDuo PCI-Express Flash Drive SSD Storage Accelerator pictureUSB 2.0 Micro SD TF T-Flash Memory Card Reader Adapter High Speed HOT7 HOT7
$0.01
USB 2.0 Micro SD TF T-Flash Memory Card Reader Adapter High Speed  HOT7 HOT7 picture


Discussions

No Discussions have been posted on this vulnerability.