CVE-2020-29600 Path traversal in n/a

Critical 9.8 Published Updated

An attacker can read arbitrary files by providing an absolute path to the config parameter in AWStats, bypassing intended directory restrictions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-29600?

CVE-2020-29600 is a critical path traversal vulnerability in Debian Debian Linux, published on 7 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In AWStats through 7.7, cgi-bin/awstats.pl?config= accepts an absolute pathname, 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.

Weakness: CWE-22

Which versions are affected by CVE-2020-29600?

It affects 3 products.

Products include Awstats Awstats, Debian Debian Linux, Fedoraproject Fedora.

How do I fix CVE-2020-29600?

Apply the vendor's patch.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-29600 being exploited?

There is no known exploitation of CVE-2020-29600 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2020-29600, DEBIAN-CVE-2020-29600, GHSA-43g3-5cf8-2gm2, MGASA-2021-0024, UBUNTU-CVE-2020-29600.

Is CVE-2020-29600 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free