GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Sun Nov 06, 2005 6:39 pm Post subject: [ GLSA 200511-06 ] fetchmail: Password exposure in fetchmail |
|
|
Gentoo Linux Security Advisory
Title: fetchmail: Password exposure in fetchmailconf (GLSA 200511-06)
Severity: normal
Exploitable: local
Date: November 06, 2005
Bug(s): #110366
ID: 200511-06
Synopsis
fetchmailconf fails to properly handle file permissions, temporarily exposing sensitive information to other local users.
Background
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.
Affected Packages
Package: net-mail/fetchmail
Vulnerable: < 6.2.5.2-r1
Unaffected: >= 6.2.5.2-r1
Architectures: All supported architectures
Description
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.
Resolution
All fetchmail users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/fetchmail-6.2.5.2-r1" |
References
Fetchmail Security Advisory
CVE-2005-3088
Last edited by GLSA on Sun May 07, 2006 4:59 pm; edited 1 time in total |
|