Path traversal in AWStats - CVE-2020-35176

 

Path traversal in AWStats - CVE-2020-35176

Published: December 12, 2020 / Updated: December 15, 2020


Vulnerability identifier: #VU49005
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-35176
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in the "config" parameter in the cgi-bin/awstats.pl script. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


Affected software

AWStats
Arch Linux
Fedora
Ubuntu
awstats (Ubuntu package)
awstats

How to mitigate CVE-2020-35176

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

awstats (Ubuntu package) - addressed in versions 7.6+dfsg-2ubuntu0.18.04.1, 7.6+dfsg-2ubuntu0.20.04.1, 7.6+dfsg-2ubuntu0.20.10.1
awstats - addressed in versions 7.8-2.el7, 7.8-2.el8, 7.8-2.fc32, 7.8-2.fc33

External References

Related Security Bulletins