Description
In AWStats through 7.8, cgi-bin/awstats.pl?config= accepts a partial absolute pathname (omitting the initial /etc), even though it was intended to only read a file in the /etc/awstats/awstats.conf format. NOTE: this issue exists because of an incomplete fix for CVE-2017-1000501 and CVE-2020-29600.
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 | 7.8-2 | — |
| Debian 13 | awstats | 7.8-2 | — |
| Debian 12 | awstats | 7.8-2 | — |
| Debian 9 | awstats | 7.6+dfsg-1+deb9u2 | DLA-2506-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | awstats | 7.6+dfsg-2ubuntu0.20.04.1 | USN-4953-1 |
| Ubuntu 18.04 LTS | awstats | 7.6+dfsg-2ubuntu0.18.04.1 | USN-4953-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | awstats | 7.4+dfsg-1ubuntu0.4+esm1 | USN-4953-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | awstats | 7.8-r1 | — |
| Alpine v3.23 | awstats | 7.8-r1 | — |
| Alpine v3.22 | awstats | 7.8-r1 | — |
| Alpine v3.21 | awstats | 7.8-r1 | — |
| Alpine v3.20 | awstats | 7.8-r1 | — |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | awstats | 7.8-r1 | — |
| Alpine v3.18 | awstats | 7.8-r1 | — |
| Alpine v3.17 | awstats | 7.8-r1 | — |
| Alpine v3.16 | awstats | 7.8-r1 | — |
| Alpine v3.15 | awstats | 7.8-r1 | — |
| Alpine v3.14 | awstats | 7.8-r1 | — |
| Alpine v3.13 | awstats | 7.8-r1 | — |
| Alpine v3.12 | awstats | 7.8-r1 | — |
| Alpine v3.11 | awstats | 7.8-r0 | — |
| Alpine v3.10 | awstats | 7.8-r0 | — |
Advisories 2
- USN-4953-1 awstats vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-2506-1 awstats - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/eldy/awstats/issues/195
- [debian-lts-announce] 20201223 [SECURITY] [DLA 2506-1] awstats security update mailing-list
- FEDORA-2020-4cba5f2846 vendor-advisory
- FEDORA-2020-d1aa0e030c vendor-advisory