Description
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.
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.5-2 | — |
| Debian 13 | awstats | 6.5-2 | — |
| Debian 12 | awstats | 6.5-2 | — |
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.4 - 'AWStats.pl' Multiple Full Path Disclosures EDB-32870 · webapps · Apr 19, 2009 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://pridels0.blogspot.com/2006/04/awstats-65x-multiple-vuln.html
- USN-360-1 vendor-advisory
- ADV-2006-1421 vdb-entry
- awstats-multiple-path-disclosure(25880) vdb-entry
- 22306 third-party-advisory
- 19725 third-party-advisory