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

High Nessus Plugin ID 24249


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


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.


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

See Also

Plugin Details

Severity: High

ID: 24249

File Name: gentoo_GLSA-200701-13.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2007/01/26

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.8

Temporal Score: 6.8

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

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:fetchmail, cpe:/o:gentoo:linux

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2007/01/22

Vulnerability Publication Date: 2007/01/04

Reference Information

CVE: CVE-2006-5867, CVE-2006-5974

BID: 21902, 21903

OSVDB: 31580, 31836

GLSA: 200701-13

CWE: 20