Path traversal in uftpd - CVE-2020-5221

 

Path traversal in uftpd - CVE-2020-5221

Published: January 31, 2020


Vulnerability identifier: #VU24805
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-5221
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Joachim Nilsson
Affected software:
uftpd

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to the lack of a well-written chroot jail in "compose_abspath()" function. A remote attacker can use multiple different FTP commands and read and write to arbitrary locations on the filesystem.


How to mitigate CVE-2020-5221

Install update from vendor's website.

Sources