Shadow: Privilege escalation An insecure temporary file usage in Shadow may allow local users to gain root privileges. shadow March 10, 2009 March 10, 2009: 01 251320 local 4.1.2.2 4.1.2.2

Shadow is a set of tools to deal with user accounts.

Paul Szabo reported a race condition in the "login" executable when setting up tty permissions.

A local attacker belonging to the "utmp" group could use symlink attacks to overwrite arbitrary files and possibly gain root privileges.

There is no known workaround at this time.

All Shadow users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=sys-apps/shadow-4.1.2.2"
CVE-2008-5394 craig p-y p-y