Directory Traversal Affecting awstats package, versions <7.6+dfsg-2ubuntu0.20.04.1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.31% (70th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2004-AWSTATS-1055422
  • published5 Jan 2021
  • disclosed12 Dec 2020

Introduced: 12 Dec 2020

CVE-2020-35176  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 awstats to version 7.6+dfsg-2ubuntu0.20.04.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream awstats package and not the awstats package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1