From koon@gentoo.org Fri Feb 25 18:12:18 2005 From: Thierry Carrez To: gentoo-announce@lists.gentoo.org Cc: security-alerts@linuxsecurity.com, bugtraq@securityfocus.com, full-disclosure@lists.netsys.com Date: Fri, 25 Feb 2005 22:30:34 +0100 Subject: [Full-Disclosure] [ GLSA 200502-30 ] cmd5checkpw: Local password leak vulnerability - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 200502-30 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: Low Title: cmd5checkpw: Local password leak vulnerability Date: February 25, 2005 Bugs: #78256 ID: 200502-30 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======== cmd5checkpw contains a flaw allowing local users to access other users cmd5checkpw passwords. Background ========== cmd5checkpw is a checkpassword compatible authentication program that uses CRAM-MD5 authentication mode. Affected packages ================= ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 net-mail/cmd5checkpw <= 0.22-r1 >= 0.22-r2 Description =========== Florian Westphal discovered that cmd5checkpw is installed setuid cmd5checkpw but does not drop privileges before calling execvp(), so the invoked program retains the cmd5checkpw euid. Impact ====== Local users that know at least one valid /etc/poppasswd user/password combination can read the /etc/poppasswd file. Workaround ========== There is no known workaround at this time. Resolution ========== All cmd5checkpw users should upgrade to the latest available version: # emerge --sync # emerge --ask --oneshot --verbose ">=net-mail/cmd5checkpw-0.22-r2" Availability ============ This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200502-30.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 2005 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/2.0 [ Part 1.2, "OpenPGP digital signature" Application/PGP-SIGNATURE ] [ 264bytes. ] [ Unable to print this part. ] [ Part 2: "Attached Text" ] _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html