MidnightBSD

Advisories for awstats

CVE-2005-0116 HIGH

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.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-20,

Products Affected

Vendor Product Version
awstats awstats *
CVE-2005-0362 MEDIUM

awstats.pl in AWStats 6.2 allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) "pluginmode", (2) "loadplugin", or (3) "noloadplugin" parameters.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats 6.2
awstats awstats 5.0
awstats awstats 6.0
awstats awstats 6.3
awstats awstats 4.0
awstats awstats 5.8
awstats awstats 5.2
awstats awstats 5.1
awstats awstats 6.1
awstats awstats 5.4
awstats awstats 5.3
awstats awstats 5.5
awstats awstats 5.7
awstats awstats 5.9
CVE-2005-0363 HIGH

awstats.pl in AWStats 4.0 and 6.2 allows remote attackers to execute arbitrary commands via shell metacharacters in the config parameter.

CVSS 2.0

Severity: HIGH

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats 6.2
awstats awstats 4.0
CVE-2005-0435 MEDIUM

awstats.pl in AWStats 6.3 and 6.4 allows remote attackers to read server web logs by setting the loadplugin and pluginmode parameters to rawlog.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats 6.4
awstats awstats 6.3
CVE-2005-0436 HIGH

Direct 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 parameter.

CVSS 2.0

Severity: HIGH

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats 6.4
awstats awstats 6.3
CVE-2005-0437 HIGH

Directory traversal vulnerability in awstats.pl in AWStats 6.3 and 6.4 allows remote attackers to include arbitrary Perl modules via .. (dot dot) sequences in the loadplugin parameter.

CVSS 2.0

Severity: HIGH

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats 6.4
awstats awstats 6.3
CVE-2005-0438 MEDIUM

awstats.pl in AWStats 6.3 and 6.4 allows remote attackers to obtain sensitive information by setting the debug parameter.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats 6.4
awstats awstats 6.3
CVE-2005-1527 MEDIUM

Eval injection vulnerability in awstats.pl in AWStats 6.4 and earlier, when a URLPlugin is enabled, allows remote attackers to execute arbitrary Perl code via the HTTP Referrer, which is used in a $url parameter that is inserted into an eval function call.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-94,

Products Affected

Vendor Product Version
canonical ubuntu_linux 5.04
debian debian_linux 3.0
debian debian_linux 3.1
awstats awstats *
CVE-2005-2732 MEDIUM

AWStats 6.4, and possibly earlier versions, allows remote attackers to obtain sensitive information via a file that does not exist in the config parameter, which reveals the path in an error message.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats *
CVE-2006-1945 LOW

Cross-site scripting (XSS) vulnerability in awstats.pl in AWStats 6.5 and earlier allows remote attackers to inject arbitrary web script or HTML via the config parameter. NOTE: this might be the same core issue as CVE-2005-2732.

CVSS 2.0

Severity: LOW

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats 6.2
awstats awstats 6.0
awstats awstats 6.1
awstats awstats 6.4
awstats awstats *
awstats awstats 6.3
awstats awstats 6.5
CVE-2006-2237 MEDIUM

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.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats 6.4
awstats awstats 6.5
CVE-2006-2644 MEDIUM

AWStats 6.5, and possibly other versions, allows remote authenticated users to execute arbitrary code by using the configdir parameter to awstats.pl to upload a configuration file whose name contains shell metacharacters, then access that file using the LogFile directive.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats 6.5_1
awstats awstats 6.4_1
awstats awstats 6.5
CVE-2006-3681 LOW

Multiple cross-site scripting (XSS) vulnerabilities in awstats.pl in AWStats 6.5 build 1.857 and earlier allow remote attackers to inject arbitrary web script or HTML via the (1) refererpagesfilter, (2) refererpagesfilterex, (3) urlfilterex, (4) urlfilter, (5) hostfilter, or (6) hostfilterex parameters, a different set of vectors than CVE-2006-1945.

CVSS 2.0

Severity: LOW

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats *
CVE-2006-3682 MEDIUM

awstats.pl in AWStats 6.5 build 1.857 and earlier allows remote attackers to obtain the installation path via the (1) year, (2) pluginmode or (3) month parameters.

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
awstats awstats *
CVE-2008-5080 MEDIUM

awstats.pl in AWStats 6.8 and earlier does not properly remove quote characters, which allows remote attackers to conduct cross-site scripting (XSS) attacks via the query_string parameter. NOTE: this issue exists because of an incomplete fix for CVE-2008-3714.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-79,

Products Affected

Vendor Product Version
awstats awstats 6.2
awstats awstats 5.0
awstats awstats 6.0
awstats awstats 6.6
awstats awstats 6.3
awstats awstats 6.7
awstats awstats 5.6
awstats awstats 5.8
awstats awstats 5.2
awstats awstats 5.1
awstats awstats 6.1
awstats awstats 6.4
awstats awstats *
awstats awstats 5.4
awstats awstats 5.3
awstats awstats 5.5
awstats awstats 5.7
awstats awstats 5.9
awstats awstats 6.5
CVE-2009-5020 MEDIUM

Open redirect vulnerability in awredir.pl in AWStats before 6.95 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via unspecified vectors.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-20,

Products Affected

Vendor Product Version
awstats awstats 6.2
awstats awstats 5.0
awstats awstats 6.0
awstats awstats 4.1
awstats awstats 6.3
awstats awstats 5.6
awstats awstats 1.0
awstats awstats 5.8
awstats awstats 6.1
awstats awstats 3.0
awstats awstats *
awstats awstats 6.8
awstats awstats 3.1
awstats awstats 5.7
awstats awstats 2.2.4
awstats awstats 5.9
awstats awstats 6.5
awstats awstats 2.2.3
awstats awstats 6.6
awstats awstats 4.0
awstats awstats 2.1.
awstats awstats 6.7
awstats awstats 3.2
awstats awstats 5.2
awstats awstats 5.1
awstats awstats 6.4
awstats awstats 5.4
awstats awstats 5.3
awstats awstats 5.5
CVE-2010-4367 HIGH

awstats.cgi in AWStats before 7.0 accepts a configdir parameter in the URL, which allows remote attackers to execute arbitrary commands via a crafted configuration file located on a (1) WebDAV server or (2) NFS server.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-94,

Products Affected

Vendor Product Version
awstats awstats 6.2
awstats awstats 6.5_1
awstats awstats 5.0
awstats awstats 6.0
awstats awstats 4.1
awstats awstats 6.3
awstats awstats 5.6
awstats awstats 1.0
awstats awstats 5.8
awstats awstats 6.4_1
awstats awstats 6.1
awstats awstats 3.0
awstats awstats *
awstats awstats 6.8
awstats awstats 3.1
awstats awstats 5.7
awstats awstats 2.2.4
awstats awstats 5.9
awstats awstats 6.5
awstats awstats 2.2.3
awstats awstats 6.6
awstats awstats 6.5_1.857
awstats awstats 4.0
awstats awstats 2.1.
awstats awstats 6.7
awstats awstats 3.2
awstats awstats 5.2
awstats awstats 6.9
awstats awstats 5.1
awstats awstats 6.4
awstats awstats 5.4
awstats awstats 5.3
awstats awstats 5.5
CVE-2010-4368 HIGH

awstats.cgi in AWStats before 7.0 on Windows accepts a configdir parameter in the URL, which allows remote attackers to execute arbitrary commands via a crafted configuration file located at a UNC share pathname.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-94,

Products Affected

Vendor Product Version
awstats awstats 6.2
awstats awstats 6.5_1
awstats awstats 5.0
awstats awstats 6.0
awstats awstats 4.1
awstats awstats 6.3
awstats awstats 5.6
awstats awstats 1.0
awstats awstats 5.8
awstats awstats 6.4_1
awstats awstats 6.1
awstats awstats 3.0
awstats awstats *
awstats awstats 6.8
awstats awstats 3.1
awstats awstats 5.7
awstats awstats 2.2.4
awstats awstats 5.9
awstats awstats 6.5
awstats awstats 2.2.3
awstats awstats 6.6
awstats awstats 6.5_1.857
awstats awstats 4.0
awstats awstats 2.1.
awstats awstats 6.7
awstats awstats 3.2
awstats awstats 5.2
awstats awstats 6.9
awstats awstats 5.1
awstats awstats 6.4
awstats awstats 5.4
awstats awstats 5.3
awstats awstats 5.5
CVE-2010-4369 MEDIUM

Directory traversal vulnerability in AWStats before 7.0 allows remote attackers to have an unspecified impact via a crafted LoadPlugin directory.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-22,

Products Affected

Vendor Product Version
awstats awstats 6.2
awstats awstats 6.5_1
awstats awstats 5.0
awstats awstats 6.0
awstats awstats 4.1
awstats awstats 6.3
awstats awstats 5.6
awstats awstats 1.0
awstats awstats 5.8
awstats awstats 6.4_1
awstats awstats 6.1
awstats awstats 3.0
awstats awstats *
awstats awstats 6.8
awstats awstats 3.1
awstats awstats 5.7
awstats awstats 2.2.4
awstats awstats 5.9
awstats awstats 6.5
awstats awstats 2.2.3
awstats awstats 6.6
awstats awstats 6.5_1.857
awstats awstats 4.0
awstats awstats 2.1.
awstats awstats 6.7
awstats awstats 3.2
awstats awstats 5.2
awstats awstats 6.9
awstats awstats 5.1
awstats awstats 6.4
awstats awstats 5.4
awstats awstats 5.3
awstats awstats 5.5
CVE-2017-1000501 HIGH

Awstats version 7.6 and earlier is vulnerable to a path traversal flaw in the handling of the "config" and "migrate" parameters resulting in unauthenticated remote code execution.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-22,

Products Affected

Vendor Product Version
debian debian_linux 7.0
debian debian_linux 8.0
awstats awstats *
debian debian_linux 9.0
CVE-2018-10245 MEDIUM

A Full Path Disclosure vulnerability in AWStats through 7.6 allows remote attackers to know where the config file is allocated, obtaining the full path of the server, a similar issue to CVE-2006-3682. The attack can, for example, use the awstats.pl framename and update parameters.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-200,

Products Affected

Vendor Product Version
awstats awstats *
CVE-2020-29600 HIGH

In 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/awstats.conf format. NOTE: this issue exists because of an incomplete fix for CVE-2017-1000501.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 3.9 5.9

CVSS 2.0

Severity: HIGH

Problem Type: CWE-22,

Products Affected

Vendor Product Version
fedoraproject fedora 32
awstats awstats *
debian debian_linux 9.0
CVE-2020-35176 MEDIUM

In AWStats through 7.8, cgi-bin/awstats.pl?config= accepts a partial absolute pathname (omitting the initial /etc), even though it was intended to only read a file in the /etc/awstats/awstats.conf format. NOTE: this issue exists because of an incomplete fix for CVE-2017-1000501 and CVE-2020-29600.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 5.3 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N 3.9 1.4

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-22,

Products Affected

Vendor Product Version
fedoraproject fedora 32
awstats awstats *
debian debian_linux 9.0
fedoraproject fedora 33
CVE-2022-46391

AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.

Products Affected

Vendor Product Version
fedoraproject fedora 36
awstats awstats *
debian debian_linux 10.0
fedoraproject fedora 37