Bug 1911644 (CVE-2020-35176)

Summary: CVE-2020-35176 awstats: path traversal in awstats.pl
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aurelien, plautrba, rpm
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-30 18:27:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1911645, 1911646    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-12-30 14:14:04 UTC
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.

Reference:
https://github.com/eldy/awstats/issues/195

Comment 1 Guilherme de Almeida Suckevicz 2020-12-30 14:14:22 UTC
Created awstats tracking bugs for this issue:

Affects: epel-all [bug 1911646]
Affects: fedora-all [bug 1911645]

Comment 2 Product Security DevOps Team 2020-12-30 18:27:38 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.

Comment 3 Fedora Update System 2021-01-08 02:51:15 UTC
FEDORA-2020-d1aa0e030c has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2021-01-08 03:05:03 UTC
FEDORA-2020-4cba5f2846 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2021-01-15 01:15:51 UTC
FEDORA-EPEL-2020-d4406c9c75 has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2021-01-15 01:36:13 UTC
FEDORA-EPEL-2020-ab8d229496 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.