AWStats 'awstats.pl' Cross-Site Scripting Vulnerability

BID:30730

Info

AWStats 'awstats.pl' Cross-Site Scripting Vulnerability

Bugtraq ID: 30730
Class: Input Validation Error
CVE: CVE-2008-3714
CVE-2008-5080
Remote: Yes
Local: No
Published: Aug 18 2008 12:00AM
Updated: Apr 13 2015 09:30PM
Credit: Morgan Todd
Vulnerable: Ubuntu Ubuntu Linux 8.10 sparc
Ubuntu Ubuntu Linux 8.10 powerpc
Ubuntu Ubuntu Linux 8.10 lpia
Ubuntu Ubuntu Linux 8.10 i386
Ubuntu Ubuntu Linux 8.10 amd64
Ubuntu Ubuntu Linux 8.04 LTS sparc
Ubuntu Ubuntu Linux 8.04 LTS powerpc
Ubuntu Ubuntu Linux 8.04 LTS lpia
Ubuntu Ubuntu Linux 8.04 LTS i386
Ubuntu Ubuntu Linux 8.04 LTS amd64
Ubuntu Ubuntu Linux 7.10 sparc
Ubuntu Ubuntu Linux 7.10 powerpc
Ubuntu Ubuntu Linux 7.10 lpia
Ubuntu Ubuntu Linux 7.10 i386
Ubuntu Ubuntu Linux 7.10 amd64
Ubuntu Ubuntu Linux 6.06 LTS sparc
Ubuntu Ubuntu Linux 6.06 LTS powerpc
Ubuntu Ubuntu Linux 6.06 LTS i386
Ubuntu Ubuntu Linux 6.06 LTS amd64
MandrakeSoft Enterprise Server 5 x86_64
MandrakeSoft Enterprise Server 5
MandrakeSoft Corporate Server 4.0 x86_64
MandrakeSoft Corporate Server 4.0
Debian Linux 4.0 sparc
Debian Linux 4.0 s/390
Debian Linux 4.0 powerpc
Debian Linux 4.0 mipsel
Debian Linux 4.0 mips
Debian Linux 4.0 m68k
Debian Linux 4.0 ia-64
Debian Linux 4.0 ia-32
Debian Linux 4.0 hppa
Debian Linux 4.0 arm
Debian Linux 4.0 amd64
Debian Linux 4.0 alpha
Debian Linux 4.0
AWStats AWStats 6.8
Not Vulnerable: AWStats AWStats 6.9 beta

Discussion

AWStats 'awstats.pl' Cross-Site Scripting Vulnerability

AWStats is prone to a cross-site scripting vulnerability because the application fails to properly sanitize user-supplied input.

An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

AWStats 6.8 is vulnerable; other versions may also be affected.

Exploit / POC

AWStats 'awstats.pl' Cross-Site Scripting Vulnerability

An attacker can exploit this issue by enticing an unsuspecting user to follow a malicious URI.

The following example URI is available:

http://www.example.com/awstats/awstats.pl?config=www.example.com&%22onload=%22alert(document.domain)//

Solution / Fix

AWStats 'awstats.pl' Cross-Site Scripting Vulnerability

Solution:
The vendor has released an update. Please see the references for more information.


Ubuntu Ubuntu Linux 7.10 powerpc

Debian Linux 4.0 arm

Ubuntu Ubuntu Linux 8.04 LTS powerpc

Ubuntu Ubuntu Linux 8.10 powerpc

Debian Linux 4.0 powerpc

Ubuntu Ubuntu Linux 8.10 i386

Ubuntu Ubuntu Linux 8.04 LTS sparc

MandrakeSoft Enterprise Server 5 x86_64

Debian Linux 4.0 m68k

Ubuntu Ubuntu Linux 6.06 LTS sparc

Ubuntu Ubuntu Linux 8.04 LTS amd64

Ubuntu Ubuntu Linux 6.06 LTS powerpc

MandrakeSoft Enterprise Server 5

Ubuntu Ubuntu Linux 7.10 sparc

Ubuntu Ubuntu Linux 8.04 LTS lpia

Ubuntu Ubuntu Linux 6.06 LTS i386

Ubuntu Ubuntu Linux 7.10 lpia

Ubuntu Ubuntu Linux 8.10 lpia

Ubuntu Ubuntu Linux 7.10 i386

Debian Linux 4.0 amd64

Ubuntu Ubuntu Linux 6.06 LTS amd64

Debian Linux 4.0 ia-32

Debian Linux 4.0 hppa

Debian Linux 4.0 sparc

Debian Linux 4.0 s/390

Ubuntu Ubuntu Linux 8.10 sparc

Debian Linux 4.0 alpha

Ubuntu Ubuntu Linux 7.10 amd64

MandrakeSoft Corporate Server 4.0

Ubuntu Ubuntu Linux 8.04 LTS i386

Debian Linux 4.0

Debian Linux 4.0 mipsel

Ubuntu Ubuntu Linux 8.10 amd64

Debian Linux 4.0 ia-64

Debian Linux 4.0 mips

MandrakeSoft Corporate Server 4.0 x86_64

References

AWStats 'awstats.pl' Cross-Site Scripting 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