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

Vtg RADIO SHACK TRS 80 Computer Graphic X-PAD Tablet GT 116 Cat No 26-1196 J260
$249.99
Vtg RADIO SHACK TRS 80 Computer Graphic X-PAD Tablet GT 116 Cat No 26-1196 J260 pictureAcer MIO-400KF Vintage 16 Bit ISA IDE Multi I/O Serial Parallel Controller Card
$19.99
Acer MIO-400KF Vintage 16 Bit ISA IDE Multi I/O Serial Parallel Controller Card pictureVintage Apple IBM DataStor Storage Internal Tape Drive SCSI DAT
$57.99
Vintage Apple IBM DataStor Storage Internal Tape Drive SCSI DAT pictureVintage Radio Shack TRS80 Desk, Computers, Accessories
$500.0
Vintage Radio Shack TRS80 Desk, Computers, Accessories picture


Discussions

No Discussions have been posted on this vulnerability.