GLSA-200701-13 : Fetchmail: Denial of Service and password disclosure

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


Synopsis :

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

Description :

The remote host is affected by the vulnerability described in GLSA-200701-13
(Fetchmail: Denial of Service and password disclosure)

Neil Hoggarth has discovered that when delivering messages to a message
delivery agent by means of the 'mda' option, Fetchmail passes a NULL
pointer to the ferror() and fflush() functions when refusing a message.
Isaac Wilcox has discovered numerous means of plain-text password
disclosure due to errors in secure connection establishment.

Impact :

An attacker could deliver a message via Fetchmail to a message delivery
agent configured to refuse the message, and crash the Fetchmail
process. SMTP and LMTP delivery modes are not affected by this
vulnerability. An attacker could also perform a Man-in-the-Middle
attack, and obtain plain-text authentication credentials of users
connecting to a Fetchmail process.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200701-13.xml

Solution :

All fetchmail users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-mail/fetchmail-6.3.6'

Risk factor :

High / CVSS Base Score : 7.8
(CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 24249 (gentoo_GLSA-200701-13.nasl)

Bugtraq ID:

CVE ID: CVE-2006-5867
CVE-2006-5974