Description
Xftp FTP Client version up to and including 3.0 (build 0238) contain a stack-based buffer overflow vulnerability triggered by a maliciously crafted PWD response from an FTP server. When the client connects to a server and receives an overly long directory string in response to the PWD command, the client fails to properly validate the length of the input before copying it into a fixed-size buffer. This results in memory corruption and allows remote attackers to execute arbitrary code on the client system.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NetSarang Computer | Xftp FTP Client | ≤ 3.0 (build 0238) | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Xftp FTP Client 3.0 PWD Remote Buffer Overflow
exploit/windows/ftp/xftp_client_pwd
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/ftp/xftp_client_pwd.rb exploit
- https://www.exploit-db.com/exploits/12332 exploit
- https://www.exploit-db.com/exploits/16739 exploit
- https://web.archive.org/web/20090312072219/http://www.netsarang.com/download/down_xft3.html product
- https://www.vulncheck.com/advisories/xftp-ftp-client-pwd-response-buffer-overflow third-party-advisory