Description
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.
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.4-1.1 | — |
| Debian 13 | awstats | 6.4-1.1 | — |
| Debian 12 | awstats | 6.4-1.1 | — |
| Debian 3.1 | awstats | 6.4-1sarge1 | DSA-892-1 |
Advisories 1
- DSA-892-1 awstats - missing input sanitising Debian Security (DSA / DLA) · Mar 9, 2026
References
- 18696 vdb-entry
- USN-167-1 vendor-advisory
- http://www.securiteam.com/unixfocus/5DP0J00GKE.html
- SUSE-SR:2005:019 vendor-advisory
- DSA-892 vendor-advisory
- 17463 third-party-advisory
- awstats-eval-execute-commands(21769) vdb-entry
- 20050809 AWStats ShowInfoURL Remote Command Execution Vulnerability third-party-advisory
- 16412 third-party-advisory
- 1014636 vdb-entry
- 14525 vdb-entry