fetchmail: Password exposure in fetchmailconf fetchmailconf fails to properly handle file permissions, temporarily exposing sensitive information to other local users. fetchmail 2005-11-06 2005-11-06 110366 local 6.2.5.2-r1 6.2.5.2-r1

fetchmail is a utility that retrieves and forwards mail from remote systems using IMAP, POP, and other protocols. It ships with fetchmailconf, a graphical utility used to create configuration files.

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.

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

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

All fetchmail users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=net-mail/fetchmail-6.2.5.2-r1"
Fetchmail Security Advisory CVE-2005-3088 koon koon