IBM Lotus Domino IMAP Server CRAM-MD5 Authentication Buffer Overflow VulnerabilityZDI-07-011: March 28th, 2007
TippingPoint™ IPS Customer ProtectionTippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 4033. For further product information on the TippingPoint IPS:
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of IBM Lotus Domino Server. Authentication is not required to exploit this vulnerability.
The specific flaw exists in the CRAM-MD5 authentication mechanism of nimap.exe which binds by default to TCP port 143. No check is done on the length on the supplied username prior to processing it through a custom copy loop. If the username is longer than 256 bytes, a pointer overwrite may occur in the function nnotes.dll.CStream::ToBase64() which is later called and can therefore result in execution of arbitrary code.
Vendor ResponseIBM has issued an update to correct this vulnerability. More details can be found at:
2006-08-31 - Vulnerability reported to vendor
2007-03-28 - Coordinated public release of advisory
CreditThis vulnerability was discovered by: