blob: c8f25a6a45078f125bd54bbfb9ef835329ef9fa1 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200606-02">
<title>shadow: Privilege escalation</title>
A security issue in shadow allows a local user to perform certain actions
with escalated privileges.
<product type="ebuild">shadow</product>
<announced>June 07, 2006</announced>
<revised>June 07, 2006: 01</revised>
<package name="sys-apps/shadow" auto="yes" arch="*">
<unaffected range="ge">4.0.15-r2</unaffected>
<vulnerable range="lt">4.0.15-r2</vulnerable>
shadow provides a set of utilities to deal with user accounts.
When the mailbox is created in useradd, the "open()" function does
not receive the three arguments it expects while O_CREAT is present,
which leads to random permissions on the created file, before fchmod()
is executed.
<impact type="normal">
Depending on the random permissions given to the mailbox file
which is at this time owned by root, a local user may be able to open
this file for reading or writing, or even executing it, maybe as the
root user.
There is no known workaround at this time.
All shadow users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=sys-apps/shadow-4.0.15-r2&quot;</code>
<uri link="">CVE-2006-1174</uri>
<metadata tag="requester" timestamp="Thu, 01 Jun 2006 07:06:38 +0000">
<metadata tag="submitter" timestamp="Thu, 01 Jun 2006 15:23:57 +0000">
<metadata tag="bugReady" timestamp="Mon, 05 Jun 2006 17:20:29 +0000">