← Vulnerability feed

Vulnerability record · CVE-2006-2237 · published 8 May 2006

CVE-2006-2237: AWStats web interface command injection via migrate parameter

Awstats · Awstats

AWStats 6.4 and 6.5 expose a web interface that, when statistics updates are enabled, passes the migrate parameter to a shell without sanitizing shell metacharacters. An unauthenticated remote attacker can therefore inject commands that execute with the privileges of the AWStats process. The flaw matters because it turns a statistics reporting tool into a remote code execution vector on any host running an affected version with updates enabled.

5.1 CVSS 2.0 Medium EPSS 58% · top 0.9%
5.1CVSS 2.0 base score
58%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
32References
16 Jun 2026Last modified by NVD

Description

The web interface for AWStats 6.4 and 6.5, when statistics updates are enabled, allows remote attackers to execute arbitrary code via shell metacharacters in the migrate parameter.

AV:N/AC:H/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 19 September 2026. Confidence: medium.

high priorityUnauthenticated remote command execution with a very high EPSS score, though the CVSS 2.0 base of 5.1 and the requirement that statistics updates be enabled temper the rating.

What it is

AWStats 6.4 and 6.5 expose a web interface that, when statistics updates are enabled, passes the migrate parameter to a shell without sanitizing shell metacharacters. An unauthenticated remote attacker can therefore inject commands that execute with the privileges of the AWStats process. The flaw matters because it turns a statistics reporting tool into a remote code execution vector on any host running an affected version with updates enabled.

Impact

An attacker gains arbitrary command execution on the server hosting AWStats, under the web server or AWStats process account. That access can be used to read or alter data, pivot to other services, or establish persistence.

Attack surface

Reached over the network through the AWStats web interface, per the AV:N vector, with no authentication required (Au:N). The description ties exploitability to statistics updates being enabled, so deployments with that feature off are not exposed.

Exploitation

Not listed in CISA KEV and no reference carries an exploit tag, but EPSS is 0.58356 (99th percentile), indicating a high modeled likelihood of exploitation activity. No public exploit code is confirmed by the supplied record.

What to do

  • Upgrade AWStats past 6.4 and 6.5 to a fixed release; vendor and distro advisories (Secunia, Debian DSA-1058, Gentoo GLSA-200606-06, Ubuntu USN-285-1, Novell) list patched packages.
  • If upgrading is not immediately possible, disable statistics updates in the AWStats web interface so the migrate parameter is not processed.
  • Restrict access to the AWStats web interface to trusted networks or authenticated users via web server access controls.
  • Run AWStats under a low-privilege account with no shell access and limit its filesystem and network reach.
  • Monitor vendor and distribution advisories for the affected AWStats versions and apply the corresponding package updates.

Detection

  • Inspect web server and AWStats logs for requests containing shell metacharacters (;, |, `, $(), &&) in the migrate parameter.
  • Alert on AWStats processes spawning unexpected child processes such as sh, bash, curl, wget, or nc.
  • Review AWStats configuration to confirm whether statistics updates are enabled and flag hosts where they are.
  • Baseline outbound connections from the AWStats host and alert on new destinations following web interface requests.

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

LinkTags
http://awstats.sourceforge.net/awstats_security_news.php
http://secunia.com/advisories/19969 PatchVendor Advisory
http://secunia.com/advisories/20170
http://secunia.com/advisories/20186
http://secunia.com/advisories/20496
http://secunia.com/advisories/20710
http://security.gentoo.org/glsa/glsa-200606-06.xml
http://www.debian.org/security/2006/dsa-1058
http://www.novell.com/linux/security/advisories/2006_33_awstats.html
http://www.osreviews.net/reviews/comm/awstats
http://www.osvdb.org/25284 Patch
http://www.securityfocus.com/bid/17844
http://www.vupen.com/english/advisories/2006/1678
http://www.vuxml.org/freebsd/2df297a2-dc74-11da-a22b-000c6ec775d9.html
https://exchange.xforce.ibmcloud.com/vulnerabilities/26287
https://usn.ubuntu.com/285-1/
http://awstats.sourceforge.net/awstats_security_news.php
http://secunia.com/advisories/19969 PatchVendor Advisory
http://secunia.com/advisories/20170
http://secunia.com/advisories/20186
http://secunia.com/advisories/20496
http://secunia.com/advisories/20710
http://security.gentoo.org/glsa/glsa-200606-06.xml
http://www.debian.org/security/2006/dsa-1058
http://www.novell.com/linux/security/advisories/2006_33_awstats.html
http://www.osreviews.net/reviews/comm/awstats
http://www.osvdb.org/25284 Patch
http://www.securityfocus.com/bid/17844
http://www.vupen.com/english/advisories/2006/1678
http://www.vuxml.org/freebsd/2df297a2-dc74-11da-a22b-000c6ec775d9.html
https://exchange.xforce.ibmcloud.com/vulnerabilities/26287
https://usn.ubuntu.com/285-1/

Track CVE-2006-2237 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-2006-2237), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.