SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#272296

AWStats fails to properly filter user-supplied input

Overview

A lack of input validation in AWStats may allow a remote attacker to execute arbitrary commands.

I. Description

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.

II. Impact

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.

III. Solution

Upgrade


This issue has been corrected in AWStats version 6.3. Users are strongly encouraged to upgrade to this version.

Systems Affected

VendorStatusDate Updated
AWStatsVulnerable10-Feb-2005

References


http://awstats.sourceforge.net/docs/awstats_changelog.txt
http://www.idefense.com/application/poi/display?id=185&type=vulnerabilities
http://secunia.com/advisories/13893/

Credit

This vulnerability was reported by iDEFENSE.

This document was written by Jeff Gennari.

Other Information

Date Public01/18/2005
Date First Published02/10/2005 02:21:28 PM
Date Last Updated02/21/2005
CERT Advisory 
CVE NameCAN-2005-0116
US-CERT Technical Alerts 
Metric13.39
Document Revision44

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2005 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader