CVE-2005-0707
CVSS7.2
发布时间 :2005-05-02 00:00:00
修订时间 :2008-09-05 16:47:04
NMCOPS    

[原文]Buffer overflow in the IMAP daemon (IMAP4d32.exe) for Ipswitch Collaboration Suite (ICS) before 8.15 Hotfix 1 allows remote authenticated users to execute arbitrary code via a long EXAMINE command.


[CNNVD]Ipswitch Collaboration Suite IMAP EXAMINE命令缓冲区溢出漏洞(CNNVD-200505-692)

        Ipswitch Collaboration Suite (ICS)是Microsoft Windows的综合性通讯和协作解决方案。
        Ipswitch Collaboration Suite的IMAP守护程序中的远程缓冲区溢出可能允许攻击者以管理员权限执行任意代码。

- CVSS (基础分值)

CVSS分值: 7.2 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: LOCAL [漏洞利用需要具有物理访问权限或本地帐户]
身份认证: NONE [漏洞利用无需身份认证]

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

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

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

未找到相关OVAL定义

- 官方数据库链接

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

- 其它链接及资源

http://securitytracker.com/id?1013410
(PATCH)  SECTRACK  1013410
http://secunia.com/advisories/14546
(PATCH)  SECUNIA  14546
http://xforce.iss.net/xforce/xfdb/19655
(UNKNOWN)  XF  ipswitch-imail-imapexamine-bo(19655)
http://www.securityfocus.com/bid/12780
(UNKNOWN)  BID  12780
http://www.idefense.com/application/poi/display?id=216&type=vulnerabilities
(UNKNOWN)  IDEFENSE  20050310 Ipswitch Collaboration Suite IMAP EXAMINE Buffer Overflow Vulnerability

- 漏洞信息

Ipswitch Collaboration Suite IMAP EXAMINE命令缓冲区溢出漏洞
高危 缓冲区溢出
2005-05-02 00:00:00 2006-08-30 00:00:00
远程  
        Ipswitch Collaboration Suite (ICS)是Microsoft Windows的综合性通讯和协作解决方案。
        Ipswitch Collaboration Suite的IMAP守护程序中的远程缓冲区溢出可能允许攻击者以管理员权限执行任意代码。

- 公告与补丁

        目前厂商已经发布了升级补丁以修复这个安全问题,请到厂商的主页下载IMail Server 8.15 Hotfix 1:
        ftp://ftp.ipswitch.com/Ipswitch/Product_Support/IMail/IM815HF1.exe

- 漏洞信息 (F36591)

iDEFENSE Security Advisory 2005-03-10.t (PacketStormID:F36591)
2005-03-15 00:00:00
iDefense Labs  idefense.com
advisory,remote,overflow,arbitrary,imap
CVE-2005-0707
[点击下载]

iDEFENSE Security Advisory 03.10.05 - Exploitation of a remote buffer overflow within the IMAP daemon of Ipswitch Collaboration Suite allows attackers to execute arbitrary code with administrator privileges.

Ipswitch Collaboration Suite IMAP EXAMINE Buffer Overflow Vulnerability 

iDEFENSE Security Advisory 03.10.05
www.idefense.com/application/poi/display?id=216&type=vulnerabilities
March 10, 2005

I. BACKGROUND

Ipswitch Collaboration Suite (ICS) is a comprehensive communication and 
collaboration solution for Microsoft Windows with a customer base of 
over 53 million users. More information is available on the vendor's 
website:

     http://www.ipswitch.com/products/IMail_Server/index.html

II. DESCRIPTION

Exploitation of a remote buffer overflow within the IMAP daemon of 
Ipswitch Collaboration Suite allows attackers to execute arbitrary code
with administrator privileges.

The vulnerability specifically exists due to insufficient handling of
overly long arguments passed to the EXAMINE handler function. The 
EXAMINE command selects a mailbox so that messages within the mailbox 
may be accessed with read-only privileges. EXAMINE requests with 
malformed mailbox names of 259 bytes will overwrite the saved stack 
frame pointer, resulting in potential process execution control. It 
should be noted that IMAP will append a '/' character to your supplied 
mailbox name so the most significant byte of the frame pointer will be 
0x2e. The output below shows successful control of the frame pointer.

(668.f8): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.

eax=00000006 ebx=008943b0 ecx=42424242
edx=00c8fad4 esi=008943b0 edi=00000013
eip=0078626d esp=00c9fd20 ebp=2e434343
iopl=0         nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023
fs=0038 gs=0000 efl=00000246
0078626d ??               ???

Frame pointer overwrites may allow attackers to redirect program flow 
when the current function returns. It should be noted that the IMAP 
EXAMINE command is only available after successful authentication.

III. ANALYSIS

Successful exploitation allows remote attackers to execute arbitrary 
code under administrator privileges. The EXAMINE IMAP command is only 
valid after authentication has occurred, however due to the nature of 
IMAP servers serving a large user base, this requirement only slightly 
reduces exposure to the vulnerability.

IV. DETECTION

iDEFENSE has confirmed that the IMAP4 daemon (IMAP4d32.exe ver. 
12.8.27.14) shipping with IMail Server version 8.13 is vulnerable. 
IMail Server is now packaged as part of Ipswitch Collaboration Suite.
It is suspected that earlier versions are vulnerable as well.
 
V. WORKAROUND

Use application level content filtering on overly long IMAP commands.

VI. VENDOR RESPONSE

This vulnerability is addressed in IMail Server 8.15 Hotfix 1 (February
3, 2005), which is available for download at:

   ftp://ftp.ipswitch.com/Ipswitch/Product_Support/IMail/IM815HF1.exe

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CAN-2005-0707 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org), which standardizes names for
security problems. 

VIII. DISCLOSURE TIMELINE

03/02/2005  Initial vendor notification
03/08/2005  Initial vendor response
03/10/2005  Public disclosure

IX. CREDIT

Nico Steinhardt is credited with this discovery.

Get paid for vulnerability research
http://www.idefense.com/poi/teams/vcp.jsp

Free tools, research and upcoming events
http://labs.idefense.com

X. LEGAL NOTICES

Copyright (c) 2005 iDEFENSE, Inc.

Permission is granted for the redistribution of this alert
electronically. It may not be edited in any way without the express
written consent of iDEFENSE. If you wish to reprint the whole or any
part of this alert in any other medium other than electronically, please
email customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate
at the time of publishing based on currently available information. Use
of the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on,
this information.
    

- 漏洞信息

14657
Ipswitch Collaboration Suite IMAP EXAMINE Remote Overflow
Remote / Network Access Input Manipulation
Loss of Integrity Patch / RCS
Vendor Verified

- 漏洞描述

- 时间线

2005-03-10 2005-02-03
Unknow Unknow

- 解决方案

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

- 相关参考

- 漏洞作者

Unknown or Incomplete

- 漏洞信息

Ipswitch Collaboration Suite IMail Server IMAP EXAMINE Argument Buffer Overflow Vulnerability
Boundary Condition Error 12780
Yes No
2005-03-10 12:00:00 2009-07-12 10:56:00
Discovery of this vulnerability is credited to Nico Steinhardt.

- 受影响的程序版本

Ipswitch Ipswitch Collaboration Suite
Ipswitch IMail 8.14
Ipswitch IMail 8.13
Ipswitch IMail 8.1
Ipswitch IMail 8.0.5
Ipswitch IMail 8.0.3
Ipswitch IMail 7.12
Ipswitch IMail 7.1
Ipswitch IMail 7.0.7
Ipswitch IMail 7.0.6
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows NT Workstation 4.0 SP6a
- Microsoft Windows NT Workstation 4.0 SP5
- Microsoft Windows NT Workstation 4.0 SP4
- Microsoft Windows NT Workstation 4.0 SP3
- Microsoft Windows NT Workstation 4.0 SP2
- Microsoft Windows NT Workstation 4.0 SP1
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows XP Home
Ipswitch IMail 7.0.5
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows NT Workstation 4.0 SP6a
- Microsoft Windows NT Workstation 4.0 SP5
- Microsoft Windows NT Workstation 4.0 SP4
- Microsoft Windows NT Workstation 4.0 SP3
- Microsoft Windows NT Workstation 4.0 SP2
- Microsoft Windows NT Workstation 4.0 SP1
- Microsoft Windows NT Workstation 4.0
- Microsoft Windows XP Home
Ipswitch IMail 7.0.4
- Microsoft Windows 2000 Professional SP3
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
- Microsoft Windows NT 4.0
Ipswitch IMail 7.0.3
Ipswitch IMail 7.0.2
Ipswitch IMail 7.0.1
Ipswitch IMail 6.4
Ipswitch IMail 6.3
Ipswitch IMail 6.2
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
- Microsoft Windows NT 4.0
Ipswitch IMail 6.1
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
- Microsoft Windows NT 4.0
Ipswitch IMail 6.0.6
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0
Ipswitch IMail 6.0.5
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0
Ipswitch IMail 6.0.4
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0
Ipswitch IMail 6.0.3
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0
Ipswitch IMail 6.0.2
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
- Microsoft Windows NT 4.0
Ipswitch IMail 6.0.1
- Microsoft Windows 2000 Professional SP2
- Microsoft Windows 2000 Professional SP1
- Microsoft Windows 2000 Professional
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
- Microsoft Windows NT 4.0
Ipswitch IMail 6.0
- Microsoft Windows NT 3.5.1
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
- Microsoft Windows NT 4.0
Ipswitch IMail 5.0.8
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
- Microsoft Windows NT 4.0
Ipswitch IMail 5.0.7
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
+ Microsoft Windows NT 4.0
Ipswitch IMail 5.0.6
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
+ Microsoft Windows NT 4.0
Ipswitch IMail 5.0.5
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
+ Microsoft Windows NT 4.0
Ipswitch IMail 5.0
- Microsoft Windows NT 4.0 SP6a
- Microsoft Windows NT 4.0 SP6
- Microsoft Windows NT 4.0 SP5
- Microsoft Windows NT 4.0 SP4
- Microsoft Windows NT 4.0 SP3
- Microsoft Windows NT 4.0 SP2
- Microsoft Windows NT 4.0 SP1
- Microsoft Windows NT 4.0
Ipswitch IMail 8.15 Hotfix 1

- 不受影响的程序版本

Ipswitch IMail 8.15 Hotfix 1

- 漏洞讨论

The Ipswitch Collaboration Suite IMail IMAP service is reported prone to a buffer overflow vulnerability. The issue exists due to a lack of sufficient boundary checks performed on arguments that are passed to the EXAMINE command.

It is conjectured that a remote authenticated attacker may exploit this vulnerability to execute arbitrary code in the context of the affected service. Immediate consequences of a failed exploit attempt would be a denial of service due to the application crashing on an access violation.

IMail Server version 8.13 an earlier are reported prone to this vulnerability.

- 漏洞利用

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: vuldb@securityfocus.com <mailto:vuldb@securityfocus.com>.

- 解决方案

The vendor has released a hotfix to address this vulnerability:


Ipswitch IMail 5.0

Ipswitch IMail 5.0.5

Ipswitch IMail 5.0.6

Ipswitch IMail 5.0.7

Ipswitch IMail 5.0.8

Ipswitch IMail 6.0

Ipswitch IMail 6.0.1

Ipswitch IMail 6.0.2

Ipswitch IMail 6.0.3

Ipswitch IMail 6.0.4

Ipswitch IMail 6.0.5

Ipswitch IMail 6.0.6

Ipswitch IMail 6.1

Ipswitch IMail 6.2

Ipswitch IMail 6.3

Ipswitch IMail 6.4

Ipswitch IMail 7.0.1

Ipswitch IMail 7.0.2

Ipswitch IMail 7.0.3

Ipswitch IMail 7.0.4

Ipswitch IMail 7.0.5

Ipswitch IMail 7.0.6

Ipswitch IMail 7.0.7

Ipswitch IMail 7.1

Ipswitch IMail 7.12

Ipswitch IMail 8.0.3

Ipswitch IMail 8.0.5

Ipswitch IMail 8.1

Ipswitch IMail 8.13

Ipswitch IMail 8.14

- 相关参考

 

 

关于SCAP中文社区

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

版权声明

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