Path traversal in uftpd - CVE-2020-5221
Published: January 31, 2020
Vulnerability identifier: #VU24805
CSH Severity: Medium
CVSS v4: 6.9 [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]
CVE-ID: CVE-2020-5221
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
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.
Affected software
uftpd
How to mitigate CVE-2020-5221
Install update from vendor's website.
uftpd - update to 2.11