CVE-2020-8793 Path traversal in n/a
Local attackers can read arbitrary files via untrusted search paths and race conditions in OpenSMTPD's offline functionality.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-8793?
CVE-2020-8793 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 25 Feb 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
OpenSMTPD before 6.6.4 allows local users to read arbitrary files (e.g., on some Linux distributions) because of a combination of an untrusted search path in makemap.c and race conditions in the offline functionality in smtpd.c.
Which versions are affected by CVE-2020-8793?
It affects 3 products.
Products include Canonical Ubuntu Linux, Fedoraproject Fedora, Opensmtpd Opensmtpd.
How do I fix CVE-2020-8793?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2020-8793 being exploited?
There is no known exploitation of CVE-2020-8793 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2020-8793, GHSA-m2cf-xghm-rxmc, UBUNTU-CVE-2020-8793.