Description
Cross-site scripting (XSS) vulnerability in awstats.pl in AWStats 6.8 allows remote attackers to inject arbitrary web script or HTML via the query_string, a different vulnerability than CVE-2006-3681 and CVE-2006-1945.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | awstats | 6.7.dfsg-5.1 | — |
| Debian 13 | awstats | 6.7.dfsg-5.1 | — |
| Debian 12 | awstats | 6.7.dfsg-5.1 | — |
| Debian 4.0 | awstats | 6.5+dfsg-1+etch1 | DSA-1679-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- AWStats 6.8 - 'AWStats.pl' Cross-Site Scripting EDB-32258 · webapps · Aug 18, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-1679-1 awstats - cross-site scripting Debian Security (DSA / DLA) · Mar 9, 2026
References
- 32939 third-party-advisory
- 31519 third-party-advisory
- 33002 third-party-advisory
- 31759 third-party-advisory
- DSA-1679 vendor-advisory
- ADV-2008-2399 vdb-entry
- 1020704 vdb-entry
- http://sourceforge.net/tracker/index.php?func=detail&aid=2001151&group_id=13764&atid=113764
- awstats-awstats-xss(44504) vdb-entry
- MDVSA-2008:203 vendor-advisory
- FEDORA-2008-7663 vendor-advisory
- 30730 vdb-entry
- FEDORA-2008-7684 vendor-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495432
- http://awstats.sourceforge.net/docs/awstats_changelog.txt
- USN-686-1 vendor-advisory