Description
Stack-based buffer overflow in SFTP in freeSSHd 1.2.1 allows remote authenticated users to execute arbitrary code via a long directory name in an SSH_FXP_OPENDIR (aka opendir) command.
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.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 2
- freeSSHd 1.2.1 - (Authenticated) Remote Overflow (SEH) EDB-5751 · remote · Jun 6, 2008 · verified
- freeSSHd 1.2.1 - (Authenticated) Remote Stack Overflow (PoC) EDB-5709 · dos · May 31, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20080606 FreeSSHD 1.2.1 (Post Auth) Remote Seh Overflow Exploit mailing-list
- ADV-2008-1711 vdb-entry
- 1020212 vdb-entry
- 5751 exploit
- 5709 exploit
- 30498 third-party-advisory
- 29453 vdb-entry