From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9223 invoked from network); 23 Sep 2004 21:03:54 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 23 Sep 2004 21:03:54 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CAaks-0005g6-PB for arch-gentoo-announce@lists.gentoo.org; Thu, 23 Sep 2004 21:03:54 +0000 Received: (qmail 14726 invoked by uid 89); 23 Sep 2004 21:03:10 +0000 Mailing-List: contact gentoo-announce-help@lists.gentoo.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-announce@lists.gentoo.org Received: (qmail 8542 invoked from network); 23 Sep 2004 20:59:54 +0000 From: Sune Kloppenborg Jeppesen Organization: Gentoo Linux Security Team To: gentoo-announce@lists.gentoo.org Date: Thu, 23 Sep 2004 23:00:05 +0200 User-Agent: KMail/1.7 Cc: bugtraq@securityfocus.com, full-disclosure@lists.netsys.com, security-alerts@linuxsecurity.com MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1312102.FceOXUnPAK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200409232300.09034.jaervosz@gentoo.org> Subject: [gentoo-announce] [ GLSA 200409-32 ] getmail: Filesystem overwrite vulnerability X-Archives-Salt: a1dcd0d0-a68d-4430-980b-5023270e0a24 X-Archives-Hash: 5bab940517353422e899b38b47e6ed39 --nextPart1312102.FceOXUnPAK Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 200409-32 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: High Title: getmail: Filesystem overwrite vulnerability Date: September 23, 2004 Bugs: #64643 ID: 200409-32 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======== 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. Background ========== getmail is a reliable fetchmail replacement that supports Maildir, Mboxrd and external MDA delivery. Affected packages ================= ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 net-mail/getmail < 4.2.0 >= 4.2.0 Description =========== 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. Impact ====== 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. Workaround ========== Do not run getmail as a privileged user; or, in version 4, use an external MDA with explicitly configured user and group privileges. Resolution ========== 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" References ========== [ 1 ] getmail ChangeLog http://www.qcc.ca/~charlesc/software/getmail-4/CHANGELOG [ 2 ] getmail Mailing List http://article.gmane.org/gmane.mail.getmail.user/1430 Availability ============ This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200409-32.xml Concerns? ========= Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at http://bugs.gentoo.org. License ======= Copyright 2004 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license. http://creativecommons.org/licenses/by-sa/1.0 --nextPart1312102.FceOXUnPAK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBUzlZzKC5hMHO6rkRAkyZAJ9Q09sRxvpVxLgbnFuPv/Tr1xGeBACggv8b wT2IVC8upvu4vkR/+n/c2Ps= =Xlh3 -----END PGP SIGNATURE----- --nextPart1312102.FceOXUnPAK--