Description
Odin Secure FTP <= 4.1 is vulnerable to a stack-based buffer overflow when parsing directory listings received in response to an FTP LIST command. A malicious FTP server can send an overly long filename in the directory listing, which overflows a fixed-size stack buffer in the client and overwrites the Structured Exception Handler (SEH). This allows remote attackers to execute arbitrary code on the client system.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Odin Software | Odin Secure FTP | ≤ 4.1 | — |
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
-
Odin Secure FTP 4.1 Stack Buffer Overflow (LIST)
exploit/windows/ftp/odin_list_reply
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://web.archive.org/web/20111007123101/http://odinshare.com/secure-ftp-expert.html product
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/ftp/odin_list_reply.rb exploit
- https://www.exploit-db.com/exploits/16716 exploit
- https://web.archive.org/web/20111016194057/https://www.corelan.be/index.php/2010/10/12/death-of-an-ftp-client/ technical-description exploit
- https://www.vulncheck.com/advisories/odin-secure-ftp-stack-buffer-overflow-via-list-response third-party-advisory