GLSA 200903-24: Shadow: Privilege escalation
Severity: | high |
Title: | Shadow: Privilege escalation |
Date: | 03/10/2009 |
Bugs: |
|
ID: | 200903-24 |
Synopsis
An insecure temporary file usage in Shadow may allow local users to gain root privileges.Background
Shadow is a set of tools to deal with user accounts.
Affected packages
Package | Vulnerable | Unaffected | Architecture(s) |
---|---|---|---|
sys-apps/shadow | < 4.1.2.2 | >= 4.1.2.2 | All supported architectures |
Description
Paul Szabo reported a race condition in the "login" executable when setting up tty permissions.
Impact
A local attacker belonging to the "utmp" group could use symlink attacks to overwrite arbitrary files and possibly gain root privileges.
Workaround
There is no known workaround at this time.
Resolution
All Shadow users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/shadow-4.1.2.2"
References
Availability
This GLSA and any updates to it are available for viewing at the Gentoo Security Website:
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 https://bugs.gentoo.org.
License
Copyright 2010 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.