Joined: 13 Jun 2003
Location: Barcelona, Spain
|Posted: Fri Sep 24, 2004 7:29 am Post subject: [ GLSA 200409-32 ] getmail: Filesystem overwrite vulnerabili
|Gentoo Linux Security Advisory
Title: getmail: Filesystem overwrite vulnerability (GLSA 200409-32)
Date: September 23, 2004
Updated: May 22, 2006
getmail contains a vulnerability that could potentially allow any local user to create or overwrite files in any directory on the system. This flaw can be escalated further and possibly lead to a complete system compromise.
getmail is a reliable fetchmail replacement that supports Maildir, Mboxrd and external MDA delivery.
Vulnerable: < 4.2.0
Unaffected: >= 4.2.0
Architectures: All supported architectures
David Watson discovered a vulnerability in getmail when it is configured to run as root and deliver mail to the maildirs/mbox files of untrusted local users. A malicious local user can then exploit a race condition, or a similar symlink attack, and potentially cause getmail to create or overwrite files in any directory on the system.
An untrusted local user could potentially create or overwrite files in any directory on the system. This vulnerability may also be exploited to have arbitrary commands executed as root.
Do not run getmail as a privileged user; or, in version 4, use an external MDA with explicitly configured user and group privileges.
All getmail users should upgrade to the latest version:
|# emerge sync
# emerge -pv ">=net-mail/getmail-4.2.0"
# emerge ">=net-mail/getmail-4.2.0"
getmail Mailing List
Last edited by GLSA on Tue May 23, 2006 4:18 am; edited 2 times in total