Mandriva Linux Security Advisory : imap (MDVSA-2009:146-1)

Critical Nessus Plugin ID 39573


The remote Mandriva Linux host is missing one or more security updates.


Security vulnerabilities has been identified and fixed in University of Washington IMAP Toolkit :

Multiple stack-based buffer overflows in (1) University of Washington IMAP Toolkit 2002 through 2007c, (2) University of Washington Alpine 2.00 and earlier, and (3) Panda IMAP allow (a) local users to gain privileges by specifying a long folder extension argument on the command line to the tmail or dmail program; and (b) remote attackers to execute arbitrary code by sending e-mail to a destination mailbox name composed of a username and '+' character followed by a long string, processed by the tmail or possibly dmail program (CVE-2008-5005).

smtp.c in the c-client library in University of Washington IMAP Toolkit 2007b allows remote SMTP servers to cause a denial of service (NULL pointer dereference and application crash) by responding to the QUIT command with a close of the TCP connection instead of the expected 221 response code (CVE-2008-5006).

Off-by-one error in the rfc822_output_char function in the RFC822BUFFER routines in the University of Washington (UW) c-client library, as used by the UW IMAP toolkit before imap-2007e and other applications, allows context-dependent attackers to cause a denial of service (crash) via an e-mail message that triggers a buffer overflow (CVE-2008-5514).

The updated packages have been patched to prevent this. Note that the software was renamed to c-client starting from Mandriva Linux 2009.0 and only provides the shared c-client library for the imap functions in PHP.

Update :

Packages for 2008.0 are provided for Corporate Desktop 2008.0 customers.


Update the affected packages.

Plugin Details

Severity: Critical

ID: 39573

File Name: mandriva_MDVSA-2009-146.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2009/06/30

Modified: 2016/11/28

Dependencies: 12634

Risk Information

Risk Factor: Critical


Base Score: 10

Temporal Score: 8.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:imap, p-cpe:/a:mandriva:linux:imap-devel, p-cpe:/a:mandriva:linux:imap-utils, p-cpe:/a:mandriva:linux:lib64c-client-php-devel, p-cpe:/a:mandriva:linux:lib64c-client-php0, p-cpe:/a:mandriva:linux:libc-client-php-devel, p-cpe:/a:mandriva:linux:libc-client-php0, cpe:/o:mandriva:linux:2008.0

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2009/12/28

Reference Information

CVE: CVE-2008-5005, CVE-2008-5006, CVE-2008-5514

BID: 32958

MDVSA: 2009:146-1

CWE: 119, 399