The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


iDEFENSE Security Advisory 03.10.05: Ipswitch Collaboration Suite IMAP EXAMINE Buffer Overflow Vulnerability


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Subject: iDEFENSE Security Advisory 03.10.05: Ipswitch Collaboration Suite IMAP EXAMINE Buffer Overflow Vulnerability
Date: Thu, 10 Mar 2005 15:07:03 -0500
Message-ID: <FB24803D1DF2A34FA59FC157B77C970504032089@idserv04.idef.com.>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: iDEFENSE Security Advisory 03.10.05: Ipswitch Collaboration Suite IMAP EXAMINE Buffer Overflow Vulnerability
Thread-Index: AcUlrMyXLsTxK/x9QgWi6qagNSrhVA==
From: "iDEFENSE Labs" <labs-no-reply@idefense.com.>
To: <bugtraq@securityfocus.com.>, <vulnwatch@vulnwatch.org.>
X-Virus-Scanned: antivirus-gw at tyumen.ru

Ipswitch Collaboration Suite IMAP EXAMINE Buffer Overflow Vulnerability=20

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

I. BACKGROUND

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

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


II. DESCRIPTION

Exploitation of a remote buffer overflow within the IMAP daemon of=20
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=20
EXAMINE command selects a mailbox so that messages within the mailbox=20
may be accessed with read-only privileges. EXAMINE requests with=20
malformed mailbox names of 259 bytes will overwrite the saved stack=20
frame pointer, resulting in potential process execution control. It=20
should be noted that IMAP will append a '/' character to your supplied=20
mailbox name so the most significant byte of the frame pointer will be=20
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=3D00000006 ebx=3D008943b0 ecx=3D42424242
edx=3D00c8fad4 esi=3D008943b0 edi=3D00000013
eip=3D0078626d esp=3D00c9fd20 ebp=3D2e434343
iopl=3D0         nv up ei pl zr na po nc
cs=3D001b ss=3D0023 ds=3D0023 es=3D0023
fs=3D0038 gs=3D0000 efl=3D00000246
0078626d ??               ???

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

III. ANALYSIS

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

IV. DETECTION

iDEFENSE has confirmed that the IMAP4 daemon (IMAP4d32.exe ver.=20
12.8.27.14) shipping with IMail Server version 8.13 is vulnerable.=20
IMail Server is now packaged as part of Ipswitch Collaboration Suite.
It is suspected that earlier versions are vulnerable as well.
=20
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.=20

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 [email protected] 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.


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру