IBM Lotus Domino IMAP Server (nimap.exe) CRAM-MD5 Authentication Remote Overflow

This script is Copyright (C) 2007-2011 Tenable Network Security, Inc.


Synopsis :

The remote IMAP server is affected by a buffer overflow vulnerability.

Description :

The IMAP server component of IBM Lotus Domino Server installed on the
remote host fails to check the length of the supplied username in its
CRAM-MD5 authentication mechanism before processing it. By supplying
a username over 256 bytes, an unauthenticated, remote attacker can
leverage this issue to crash the affected service and possibly execute
arbitrary code remotely.

See also :

http://www.zerodayinitiative.com/advisories/ZDI-07-011.html
http://archives.neohapsis.com/archives/bugtraq/2007-03/0370.html
http://www-1.ibm.com/support/docview.wss?uid=swg21257028

Solution :

Upgrade to Lotus Domino 6.5.6 / 7.0.2 Fix Pack 1 or later.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.3
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: Gain a shell remotely

Nessus Plugin ID: 24903 (domino_imap_crammd5_overflow.nasl)

Bugtraq ID: 23172

CVE ID: CVE-2007-1675