GLSA-200511-06 : fetchmail: Password exposure in fetchmailconf

low Nessus Plugin ID 20156

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-200511-06 (fetchmail: Password exposure in fetchmailconf)

Thomas Wolff discovered that fetchmailconf opens the configuration file with default permissions, writes the configuration to it, and only then restricts read permissions to the owner.
Impact :

A local attacker could exploit the race condition to retrieve sensitive information like IMAP/POP passwords.
Workaround :

Run 'umask 077' to temporarily strengthen default permissions, then run 'fetchmailconf' from the same shell.

Solution

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

See Also

http://fetchmail.berlios.de/fetchmail-SA-2005-02.txt

https://security.gentoo.org/glsa/200511-06

Plugin Details

Severity: Low

ID: 20156

File Name: gentoo_GLSA-200511-06.nasl

Version: 1.15

Type: local

Published: 11/7/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Low

Base Score: 2.1

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

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

Patch Publication Date: 11/6/2005

Vulnerability Publication Date: 10/21/2005

Reference Information

CVE: CVE-2005-3088

GLSA: 200511-06