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-200501-36] AWStats: Remote code execution


Vulnerability Assessment Details

[GLSA-200501-36] AWStats: Remote code execution

Vulnerability Assessment Summary
AWStats: Remote code execution

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


When 'awstats.pl' is run as a CGI script, it fails to validate specific
inputs which are used in a Perl open() function call. Furthermore, a
user could read log file content even when test rawlog was not
enabled.

Impact

A remote attacker could supply AWStats malicious input, potentially
permiting the execution of arbitrary code with the rights of the web
server. He could also access raw log contents.

Workaround

Making sure that AWStats does not run as a CGI script will avoid the
issue, but we recommend that users upgrade to the latest version, which
fixes these bugs.

References:
http://awstats.sourceforge.net/docs/awstats_changelog.txt
http://www.idefense.com/application/poi/display?id=185
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0116
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0362
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0363


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


Network Security Threat Level: High


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors

IBM 7995-G3U HS21 BLADECENTER w/ 2 x 2.5GHz QC, 8GB RAM (4x2GB), 73GB SAS HD
$86.99
IBM 7995-G3U HS21 BLADECENTER w/ 2 x 2.5GHz QC, 8GB RAM (4x2GB), 73GB SAS HD  pictureIBM 2.5" Blank Server Hard Drive Filler Trays - 44T2248, PN 46C5497
$4.99
IBM 2.516GB Samsung M392B2G70AM0-YH9 PC3L-10600R Server Memory RAM IBM P/N: 47J0518
$54.99
16GB Samsung M392B2G70AM0-YH9 PC3L-10600R Server Memory RAM IBM P/N: 47J0518 pictureIBM System X3250 M4 E3-1230V2 Quad core 3.3Ghz Server(2x 300GB SAS & 16GB DDR3)
$399.0
IBM System X3250 M4 E3-1230V2 Quad core 3.3Ghz Server(2x 300GB SAS & 16GB DDR3) picture


Discussions

No Discussions have been posted on this vulnerability.