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

Cisco Catalyst 3524XL Enterprise Edition - switch - managed - 24 ports
$14.94
Cisco Catalyst 3524XL Enterprise Edition - switch - managed - 24 ports pictureCisco Catalyst WS-C2960S-48LPS-L V04 48-Port Gigabit PoE+ Switch
$99.99
Cisco Catalyst WS-C2960S-48LPS-L V04 48-Port Gigabit PoE+ Switch pictureCisco WS-X4908-10G-RJ45 8 Port RJ-45 10GE Gigabit Ethernet WS-C4900M Module
$374.95
Cisco WS-X4908-10G-RJ45 8 Port RJ-45 10GE Gigabit Ethernet WS-C4900M Module picture(LOT OF 2) CISCO CISCO2911/K9 V07 Gigabit Enterprise Router w/ rack ears
$190.0
(LOT OF 2) CISCO CISCO2911/K9 V07 Gigabit Enterprise Router w/ rack ears picture


Discussions

No Discussions have been posted on this vulnerability.