CVE-2020-20277 Path traversal in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can exploit directory traversal in uftpd to read or write arbitrary files, leak memory, or execute code remotely.

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

What is CVE-2020-20277?

CVE-2020-20277 is a critical path traversal vulnerability in n/a, published on 18 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

There are multiple unauthenticated directory traversal vulnerabilities in different FTP commands in uftpd FTP server versions 2.7 to 2.10 due to improper implementation of a chroot jail in common.c's compose_abspath function that can be abused to read or write to arbitrary files on the filesystem, leak process memory, or potentially lead to remote code execution.

Weakness: CWE-22

Which versions are affected by CVE-2020-20277?

It affects 1 product.

Products include Troglobit Uftpd.

How do I fix CVE-2020-20277?

No fix has been published for CVE-2020-20277 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2020-20277 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-p2qh-598h-6m3x.

Is CVE-2020-20277 in your software?

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

Check your SBOMs for free