IBM Lotus Domino Server LDAP Request Invalid DN Message Heap Overflow
iDefense Security Advisory 03.28.07
Mar 28, 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 heap overflow vulnerability in the LDAP
IBM Corp.'s Lotus Domino Server 7.0.1 may allow a remote attacker to cause
denial of service or execute arbitrary code.
When a malformed request is made to the LDAP component of a Lotus Domino
Enterprise Server, a heap overflow can be triggered. The vulnerability
specifically exists in the handling of strings larger than 65535 bytes. When
a string longer than this value is encountered, the service allocates memory
using only the lower 16-bits of the string length. Since the entire
subsequently copied into the newly allocated buffer, a heap-overflow occurs.
Exploitation of this vulnerability allows attackers to crash the LDAP
or potentially execute arbitrary code on the affected host.
In order to attempt exploitation, attackers must be able to connect to the
Although 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
may gain access to sensitive information or be able to maliciously
server in other ways.
This vulnerability has been confirmed to exist within versions 7.0.1 and
220.127.116.11 the Directory Service (LDAP) component of Lotus Domino Server.
iDefense is currently unaware of any effective workaround for this issue.
VI. VENDOR RESPONSE
IBM Lotus has addressed this vulnerability in the 6.5.6 and 7.0.2 FP1
of Domino. For more information consult IBM Technote swg21257248 via the
VII. CVE INFORMATION
A Mitre Corp. Common Vulnerabilities and Exposures (CVE) number has not
been assigned yet.
VIII. DISCLOSURE TIMELINE
10/09/2006 Initial vendor notification
10/10/2006 Initial vendor response
03/28/2007 Coordinated public disclosure
The discoverer of this vulnerability wishes to remain anonymous.
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