Date: Tue, 10 Mar 2009 23:34:59 +0100
From: Pierre-Yves Rofes <py@gentoo.org.>
To: [email protected]Subject: [ GLSA 200903-24 ] Shadow: Privilege escalation
X-Enigmail-Version: 0.95.7
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enigB7AC46D54240224105FD341B"
X-Virus-Scanned: antivirus-gw at tyumen.ru
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB7AC46D54240224105FD341B
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200903-24
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: High
Title: Shadow: Privilege escalation
Date: March 10, 2009
Bugs: #251320
ID: 200903-24
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D
An insecure temporary file usage in Shadow may allow local users to
gain root privileges.
Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Shadow is a set of tools to deal with user accounts.
Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 sys-apps/shadow < 4.1.2.2 >=3D 4.1.2.2
Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Paul Szabo reported a race condition in the "login" executable when
setting up tty permissions.
Impact
=3D=3D=3D=3D=3D=3D
A local attacker belonging to the "utmp" group could use symlink
attacks to overwrite arbitrary files and possibly gain root privileges.
Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
There is no known workaround at this time.
Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All Shadow users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=3Dsys-apps/shadow-4.1.2.2"
References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[ 1 ] CVE-2008-5394
http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-5394
Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200903-24.xml
Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D
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
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=3D=3D=3D=3D=3D=3D=3D
Copyright 2009 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.5
--------------enigB7AC46D54240224105FD341B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkm26xMACgkQuhJ+ozIKI5gHjQCcCNfl7trVP9VljQE1o0FFefv5
gr8An07w5Pha2El70pX/83+bOBwL83JZ
=mNxP
-----END PGP SIGNATURE-----
--------------enigB7AC46D54240224105FD341B--