#VU24805 Path traversal in uftpd


Published: 2020-01-31

Vulnerability identifier: #VU24805

Vulnerability risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-5221

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
uftpd
Server applications / File servers (FTP/HTTP)

Vendor: Joachim Nilsson

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

uftpd: 2.0 - 2.10


External links
http://github.com/troglobit/uftpd/commit/455b47d3756aed162d2d0ef7f40b549f3b5b30fe
http://github.com/troglobit/uftpd/security/advisories/GHSA-wmx8-v7mx-6x9h


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability