portage-ng / portage / www-misc / awstats / 7.8-r1
portage-ng glsa
4 advisories reference www-misc/awstats · none place version 7.8-r1 in a vulnerable range
▸ GLSA 202007-37 AWStats: Multiple vulnerabilities this version unaffected high remote 2020-07-27

Multiple vulnerabilities have been found in AWStats, the worst of which could result in the arbitrary execution of code.

Announced
2020-07-27
Revised
2020-07-27
Access
remote
Bugs
#646786
Advisory
https://security.gentoo.org/glsa/202007-37

Affected packages

PackageArchVulnerableUnaffected
www-misc/awstats*< 7.8>= 7.8

Background

AWStats is an advanced log file analyzer and statistics generator.

Description

Multiple vulnerabilities have been discovered in AWStats. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All AWStats users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-misc/awstats-7.8"

References

▸ GLSA 200606-06 AWStats: Remote execution of arbitrary code this version unaffected high remote 2006-06-07

AWStats contains a bug in the sanitization of the input parameters which can lead to the remote execution of arbitrary code.

Announced
2006-06-07
Revised
2009-05-28 (revision 2)
Access
remote
Bugs
#130487
Advisory
https://security.gentoo.org/glsa/200606-06

Affected packages

PackageArchVulnerableUnaffected
www-misc/awstats*< 6.5-r1>= 6.5-r1

Background

AWStats is an advanced log file analyzer and statistics generator.

Description

Hendrik Weimer has found that if updating the statistics via the web frontend is enabled, it is possible to inject arbitrary code via a pipe character in the "migrate" parameter. Additionally, r0t has discovered that AWStats fails to properly sanitize user-supplied input in awstats.pl.

Impact

A remote attacker can execute arbitrary code on the server in the context of the application running the AWStats CGI script if updating of the statistics via web frontend is allowed. Nonetheless, all configurations are affected by a cross-site scripting vulnerability in awstats.pl, allowing a remote attacker to execute arbitrary scripts running in the context of the victim's browser.

Workaround

Disable statistics updates using the web frontend to avoid code injection. However, there is no known workaround at this time concerning the cross-site scripting vulnerability.

Resolution

All AWStats users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-misc/awstats-6.5-r1"

References

▸ GLSA 200508-07 AWStats: Arbitrary code execution using malicious Referrer information this version unaffected high remote 2005-08-16

AWStats fails to validate certain log input, which could lead to the execution of arbitrary Perl code during the generation of the statistics.

Announced
2005-08-16
Revised
2009-05-28 (revision 2)
Access
remote
Bugs
#102145
Advisory
https://security.gentoo.org/glsa/200508-07

Affected packages

PackageArchVulnerableUnaffected
www-misc/awstats*< 6.5>= 6.5

Background

AWStats is an advanced log file analyzer and statistics generator. In HTTP reports it parses Referrer information in order to display the most common Referrer values that caused users to visit the website.

Description

When using a URLPlugin, AWStats fails to sanitize Referrer URL data before using them in a Perl eval() routine.

Impact

A remote attacker can include arbitrary Referrer information in a HTTP request to a web server, therefore injecting tainted data in the log files. When AWStats is run on this log file, this can result in the execution of arbitrary Perl code with the rights of the user running AWStats.

Workaround

Disable all URLPlugins in the AWStats configuration.

Resolution

All AWStats users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-misc/awstats-6.5"

Note: Users with the vhosts USE flag set should manually use webapp-config to finalize the update.

References

▸ GLSA 200501-36 AWStats: Remote code execution this version unaffected high remote 2005-01-25

AWStats fails to validate certain input, which could lead to the remote execution of arbitrary code or to the leak of information.

Announced
2005-01-25
Revised
2009-05-28 (revision 4)
Access
remote
Bugs
#77963 #81775
Advisory
https://security.gentoo.org/glsa/200501-36

Affected packages

PackageArchVulnerableUnaffected
www-misc/awstats*< 6.3-r2>= 6.3-r2

Background

AWStats is an advanced log file analyzer and statistics generator.

Description

When 'awstats.pl' is run as a CGI script, it fails to validate specific inputs which are used in a Perl open() function call. Furthermore, a user could read log file content even when plugin rawlog was not enabled.

Impact

A remote attacker could supply AWStats malicious input, potentially allowing the execution of arbitrary code with the rights of the web server. He could also access raw log contents.

Workaround

Making sure that AWStats does not run as a CGI script will avoid the issue, but we recommend that users upgrade to the latest version, which fixes these bugs.

Resolution

All AWStats users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=www-misc/awstats-6.3-r2"

Note: Users with the vhosts USE flag set should manually use webapp-config to finalize the update.

References