blob: 1d756bf69fa143d641e61684b23010c703b2ca46 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200903-24">
<title>Shadow: Privilege escalation</title>
<synopsis>
An insecure temporary file usage in Shadow may allow local users to gain
root privileges.
</synopsis>
<product type="ebuild">shadow</product>
<announced>March 10, 2009</announced>
<revised>March 10, 2009: 01</revised>
<bug>251320</bug>
<access>local</access>
<affected>
<package name="sys-apps/shadow" auto="yes" arch="*">
<unaffected range="ge">4.1.2.2</unaffected>
<vulnerable range="lt">4.1.2.2</vulnerable>
</package>
</affected>
<background>
<p>
Shadow is a set of tools to deal with user accounts.
</p>
</background>
<description>
<p>
Paul Szabo reported a race condition in the "login" executable when
setting up tty permissions.
</p>
</description>
<impact type="high">
<p>
A local attacker belonging to the "utmp" group could use symlink
attacks to overwrite arbitrary files and possibly gain root privileges.
</p>
</impact>
<workaround>
<p>
There is no known workaround at this time.
</p>
</workaround>
<resolution>
<p>
All Shadow users should upgrade to the latest version:
</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=sys-apps/shadow-4.1.2.2&quot;</code>
</resolution>
<references>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5394">CVE-2008-5394</uri>
</references>
<metadata tag="requester" timestamp="Thu, 12 Feb 2009 19:41:17 +0000">
craig
</metadata>
<metadata tag="submitter" timestamp="Sun, 08 Mar 2009 19:05:06 +0000">
p-y
</metadata>
<metadata tag="bugReady" timestamp="Sun, 08 Mar 2009 19:05:15 +0000">
p-y
</metadata>
</glsa>