IBM Lotus Domino IMAP Buffer Overflow Vulnerability
iDefense Security Advisory 10.23.07
Oct 23, 2007
IBM Lotus Domino Server software provides messaging, calendaring and
scheduling capabilities on a variety of operating systems. More
information about the product is available at the following URL.
Remote exploitation of a buffer overflow vulnerability within IBM
Corp.'s Lotus Domino allows attackers to execute arbitrary code in the
context of the IMAP service.
This vulnerability exists within the IMAP component of a Domino Server.
The problem specifically lies in the handling of mailbox names within
specific commands. If a user has subscribed to a mailbox with an overly
long name, certain commands will copy the user-supplied mailbox name
into a fixed-size stack buffer without proper validation.
Exploitation allows attackers to execute arbitrary code in the context
of the IMAP service. In order to conduct the attack, the attacker must
be able to establish a TCP session with the IMAP service on TCP port
143. Valid credentials are required to access the vulnerable code.
Under Windows, the privileges gained are (by default) that of the SYSTEM
user. This allows an attacker to take complete control of the
Although the UNIX version of the service does not run as root, it does
run as the same user as many other components of the Lotus Domino
Server. Because of this an attacker may gain access to sensitive
information or be able to maliciously subvert the system in other ways.
iDefense has confirmed the existence of this vulnerability within
version 188.8.131.52 of Lotus Domino running on Linux as well as Windows
Server 2003. Previous versions, as well as builds for other platforms,
are suspected to be vulnerable.
Employing firewalls to limit access to the affected service will
mitigate exposure to this vulnerability.
VI. VENDOR RESPONSE
IBM Lotus has addressed this vulnerability within versions 6.5.6 Fix
Pack 2 (FP2), 7.0.3 and 8.0 of Lotus Domino. For more information,
visit the following URL.
VII. CVE INFORMATION
The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2007-3510 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org/), which standardizes names for
VIII. DISCLOSURE TIMELINE
06/27/2007 Initial vendor notification
06/28/2007 Initial vendor response
10/23/2007 Coordinated public disclosure
This vulnerability was reported to iDefense by Manuel Santamarina
Get paid for vulnerability research
Free tools, research and upcoming events
X. LEGAL NOTICES
Copyright =A9 2007 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 e-mail firstname.lastname@example.org 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.