Lucene search

K
archlinuxArchLinuxASA-202103-15
HistoryMar 25, 2021 - 12:00 a.m.

[ASA-202103-15] awstats: directory traversal

2021-03-2500:00:00
security.archlinux.org
174
awstats vulnerability
directory traversal
filesystem access

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

0.083

Percentile

94.5%

Arch Linux Security Advisory ASA-202103-15

Severity: High
Date : 2021-03-25
CVE-ID : CVE-2020-35176
Package : awstats
Type : directory traversal
Remote : Yes
Link : https://security.archlinux.org/AVG-1356

Summary

The package awstats before version 7.8-3 is vulnerable to directory
traversal.

Resolution

Upgrade to 7.8-3.

pacman -Syu “awstats>=7.8-3”

The problem has been fixed upstream but no release is available yet.

Workaround

None.

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.
This issue exists because of an incomplete fix for CVE-2017-1000501 and
CVE-2020-29600.

Impact

A malicious user could access files on the filesystem.

References

https://bugs.archlinux.org/task/69301
https://github.com/eldy/awstats/issues/195
https://github.com/eldy/awstats/pull/196
https://github.com/eldy/AWStats/commit/0d4d4c05f8e73be8f71dd361dc55cbd52858b823
https://security.archlinux.org/CVE-2020-35176

OSVersionArchitecturePackageVersionFilename
ArchLinuxanyanyawstats< 7.8-3UNKNOWN

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS

0.083

Percentile

94.5%