AWStats Remote Command Execution Vulnerability

BID:12298

Info

AWStats Remote Command Execution Vulnerability

Bugtraq ID: 12298
Class: Input Validation Error
CVE: CVE-2005-0116
Remote: Yes
Local: No
Published: Jan 15 2005 12:00AM
Updated: Dec 13 2006 03:43PM
Credit: The discoverer of this issue wishes to remain anonymous.
Vulnerable: SuSE Linux 8.1
SuSE Linux 8.0 i386
SuSE Linux 8.0
S.u.S.E. Linux Personal 9.2
S.u.S.E. Linux Personal 9.1
S.u.S.E. Linux Personal 9.0 x86_64
S.u.S.E. Linux Personal 9.0
S.u.S.E. Linux Personal 8.2
Gentoo Linux
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
Not Vulnerable: AWStats AWStats 6.3

Discussion

AWStats Remote Command Execution Vulnerability

AWStats is reported prone to a remote arbitrary-command-execution vulnerability because the software fails to sufficiently sanitize user-supplied data.

An attacker can prefix arbitrary commands with the '|' character and have them execute in the context of the server through a URI parameter.

This issue was originally specified in BID 12270 (AWStats Multiple Unspecified Remote Input Validation Vulnerabilities). Due to the availability of further details, it is being assigned a new BID.

Exploit / POC

AWStats Remote Command Execution Vulnerability

An exploit is not required.

The following proof of concept supplied by <[email protected]> is available:

http://www.example.com/awstats/awstats.pl?configdir=|/bin/ls|

Proof of concept GHCaws.pl has been supplied by GHC.

Proof of concept awexpl.c has been supplied by Thunder <[email protected]>.

Solution / Fix

AWStats Remote Command Execution Vulnerability

Solution:
The vendor has released an upgrade to address this issue. Please see the references for more information.


AWStats AWStats 5.0

AWStats AWStats 5.1

AWStats AWStats 5.2

AWStats AWStats 5.3

AWStats AWStats 5.4

AWStats AWStats 5.5

AWStats AWStats 5.6

AWStats AWStats 5.7

AWStats AWStats 5.8

AWStats AWStats 5.9

AWStats AWStats 6.0

AWStats AWStats 6.1

AWStats AWStats 6.2

References

AWStats Remote Command Execution Vulnerability

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