← Vulnerability feed

Vulnerability record · CVE-2005-0116 · published 18 January 2005

CVE-2005-0116: AWStats configdir parameter command injection

Awstats · Awstats

AWStats versions before 6.3 pass the configdir parameter to awstats.pl without sanitizing shell metacharacters, allowing command injection. A remote attacker can run arbitrary commands with the privileges of the web server process, which is a serious risk for any exposed AWStats installation.

7.5 CVSS 2.0 High EPSS 75% · top 0.5% CWE-20 · Improper input validation
7.5CVSS 2.0 base score
75%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
14References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

AWStats 6.1, and other versions before 6.3, allows remote attackers to execute arbitrary commands via shell metacharacters in the configdir parameter to aswtats.pl.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityUnauthenticated remote command execution with a high EPSS score and public exploit code, though not currently in KEV.

What it is

AWStats versions before 6.3 pass the configdir parameter to awstats.pl without sanitizing shell metacharacters, allowing command injection. A remote attacker can run arbitrary commands with the privileges of the web server process, which is a serious risk for any exposed AWStats installation.

Impact

An unauthenticated attacker can execute arbitrary operating system commands on the host running AWStats, leading to data theft, web shell deployment, or full server compromise depending on the process privileges.

Attack surface

Reachable over the network through the awstats.pl CGI script by supplying a crafted configdir parameter; no authentication or user interaction is required per the AV:N/AC:L/Au:N vector.

Exploitation

Not listed in CISA KEV, but EPSS is 0.749 (99.5th percentile) and a reference is tagged Exploit, indicating public exploit code and active interest.

What to do

  • Upgrade AWStats to version 6.3 or later, which contains the vendor fix.
  • If upgrade is not possible, restrict access to awstats.pl to trusted networks or authenticated users.
  • Run AWStats under a low-privilege account with no shell access and limited filesystem permissions.
  • Validate and sanitize the configdir parameter at the web server or application layer, rejecting shell metacharacters.

Detection

  • Inspect web server and AWStats logs for requests containing shell metacharacters (;, |, `, $(), &&) in the configdir parameter.
  • Monitor for unexpected child processes spawned by the web server user, especially shells or command interpreters.
  • Alert on outbound network connections or file writes originating from the AWStats process.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2005-0116 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-29600Awstats path traversal vulnerabilityIn AWStats through 7.7, cgi-bin/awstats.pl?config= accepts an absolute pathname, even though it was intended to only read a file in the /etc/awstats/…EPSS 3.8%9.8CVE-2017-1000501Awstats path traversal vulnerabilityAwstats version 7.6 and earlier is vulnerable to a path traversal flaw in the handling of the "config" and "migrate" parameters resulting in unauthen…EPSS 4.4%7.8CVE-2025-63261Awstats os command injection vulnerabilityAWStats 8.0 is vulnerable to Command Injection via the open functionEPSS 1.0%7.5CVE-2010-4367Awstats code injection vulnerabilityawstats.cgi in AWStats before 7.0 accepts a configdir parameter in the URL, which allows remote attackers to execute arbitrary commands via a crafted…EPSS 28%7.5CVE-2010-4368Awstats code injection vulnerabilityawstats.cgi in AWStats before 7.0 on Windows accepts a configdir parameter in the URL, which allows remote attackers to execute arbitrary commands vi…EPSS 2.5%7.5CVE-2005-0363Awstats vulnerabilityawstats.pl in AWStats 4.0 and 6.2 allows remote attackers to execute arbitrary commands via shell metacharacters in the config parameter.EPSS 2.0%7.5CVE-2005-0436Awstats vulnerabilityDirect code injection vulnerability in awstats.pl in AWStats 6.3 and 6.4 allows remote attackers to execute portions of Perl code via the PluginMode …EPSS 7.0%7.5CVE-2005-0437Awstats vulnerabilityDirectory traversal vulnerability in awstats.pl in AWStats 6.3 and 6.4 allows remote attackers to include arbitrary Perl modules via .. (dot dot) seq…EPSS 1.8%

Source: NIST National Vulnerability Database (record CVE-2005-0116), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.