Vulnerability Note VU#272296
AWStats fails to properly filter user-supplied input
A lack of input validation in AWStats may allow a remote attacker to execute arbitrary commands.
AWStats is a Perl CGI script that collects and graphically displays statistics from web, FTP, and mail servers. The configdir parameter, within the awstats.pl Perl script, is supplied user-controlled data and then passed as a parameter to the Perl routine open(). A lack of input validation on the configdir parameter may allow an attacker to compromise a vulnerable server. If an attacker supplies this parameter with arbitrary commands prefixed with the '|' character, those commands will be executed on the server.
Please note that according to public reports, this vulnerability is being actively exploited.
If a remote attacker supplies AWStats with specially crafted input, that attacker may be able to execute arbitrary commands with the privileges of the attacked server process, in most cases user nobody.
Systems Affected (Learn More)
|Vendor||Status||Date Notified||Date Updated|
|AWStats||Affected||-||10 Feb 2005|
CVSS Metrics (Learn More)
This vulnerability was reported by iDEFENSE.
This document was written by Jeff Gennari.
- CVE IDs: CAN-2005-0116
- Date Public: 18 Jan 2005
- Date First Published: 10 Feb 2005
- Date Last Updated: 21 Feb 2005
- Severity Metric: 13.39
- Document Revision: 44
If you have feedback, comments, or additional information about this vulnerability, please send us email.