GLSA-200911-03 : UW IMAP toolkit: Multiple vulnerabilities

Critical Nessus Plugin ID 42913


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200911-03 (UW IMAP toolkit: Multiple vulnerabilities)

Multiple vulnerabilities were found in the UW IMAP toolkit:
Aron Andersson and Jan Sahlin of Bitsec reported boundary errors in the 'tmail' and 'dmail' utilities when processing overly long mailbox names, leading to stack-based buffer overflows (CVE-2008-5005).
An error in smtp.c in the c-client library was found, leading to a NULL pointer dereference vulnerability (CVE-2008-5006).
Ludwig Nussel reported an off-by-one error in the rfc822_output_char() function in the RFC822BUFFER routines in the c-client library, as used by the UW IMAP toolkit (CVE-2008-5514).
Impact :

A remote attacker could send an e-mail to a destination mailbox name composed of a username and '+' character followed by a long string, possibly leading to the execution of arbitrary code. A local attacker could gain privileges by specifying a long folder extension argument to the tmail or dmail program. Furthermore, a remote attacker could send a specially crafted mail message to the UW IMAP toolkit or another daemon using the c-client library, leading to a Denial of Service. A remote SMTP server could respond to the QUIT command with a close of the TCP connection instead of the expected 221 response code, possibly leading to a Denial of Service.
Workaround :

There is no known workaround at this time.


All c-client library users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-libs/c-client-2007e' All UW IMAP toolkit users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=net-mail/uw-imap-2007e'

See Also

Plugin Details

Severity: Critical

ID: 42913

File Name: gentoo_GLSA-200911-03.nasl

Version: $Revision: 1.11 $

Type: local

Published: 2009/11/30

Modified: 2016/11/11

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:gentoo:linux:c-client, p-cpe:/a:gentoo:linux:uw-imap, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2009/11/25

Reference Information

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

BID: 32958

OSVDB: 49484, 49485, 49793, 52905

GLSA: 200911-03

CWE: 119, 399