Description
LeapFTP < 3.1.x contains a stack-based buffer overflow vulnerability in its FTP client parser. When the client receives a directory listing containing a filename longer than 528 bytes, the application fails to properly bound-check the input and overwrites the Structured Exception Handler (SEH) chain. This allows an attacker operating a malicious FTP server to execute arbitrary code on the victim’s machine when the file is listed or downloaded.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
LeapWare LeapFTP
Default version status: unaffected
0 to < 3.1.*affected
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/ftp/leapftp_list_reply.rb ↗
- https://www.exploit-db.com/exploits/16704 ↗
- https://web.archive.org/web/20111016194057/https://www.corelan.be/index.php/2010/10/12/death-of-an-ftp-client/ ↗
- https://web.archive.org/web/20111013232627/http://www.leapware.com/ ↗
- https://www.vulncheck.com/advisories/leapftp-stack-buffer-overflow ↗