Description
Stack-based buffer overflow in freeSSHd 1.2.1 allows remote authenticated users to cause a denial of service (service crash) and potentially execute arbitrary code via a long argument to the (1) rename and (2) realpath parameters.
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) SFTP 'rename' Remote Buffer Overflow (PoC) EDB-6800 · dos · Oct 22, 2008 · verified
- freeSSHd 1.2.1 - (Authenticated) SFTP 'realpath' Remote Buffer Overflow (PoC) EDB-6812 · dos · Oct 22, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 1021096 vdb-entry
- 32366 third-party-advisory
- 31872 vdb-entry
- 4515 third-party-advisory
- 20081022 freeSSHd (stf - rename) Buffer Overflow Vulnerability mailing-list
- 6812 exploit
- freesshd-rename-realpath-dos(46046) vdb-entry
- ADV-2008-2897 vdb-entry
- 6800 exploit