Vulnerability identifier: #VU24401
Vulnerability risk: High
CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]
CVE-ID:
CWE-ID:
CWE-119
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 execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in "handle_PORT" in "ftpcmd.c" file when a buffer that is 16 bytes large being filled via "sprintf()" with user input based on the format specifier string %d.%d.%d.%d. A remote attacker can trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
uftpd: 0.1 - 2.10
External links
https://lists.opensuse.org/opensuse-security-announce/2020-01/msg00034.html
https://github.com/troglobit/uftpd/commit/0fb2c031ce0ace07cc19cd2cb2143c4b5a63c9dd
https://github.com/troglobit/uftpd/security/advisories/GHSA-wrpr-xw7q-9wvq
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.