Directory Traversal Affecting awstats package, versions <7.8-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
2.17% (81st 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 IDSNYK-ALPINE310-AWSTATS-1278574
  • published1 May 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 Alpine:3.10 awstats to version 7.8-r0 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 Alpine. See How to fix? for Alpine:3.10 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 Base Scores

version 3.1