summaryrefslogtreecommitdiff
blob: 82e3be9e856e8155889c5c3b3352d952da91e9d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200409-18">
  <title>cdrtools: Local root vulnerability in cdrecord if set SUID root</title>
  <synopsis>
    cdrecord, if manually set SUID root, is vulnerable to a local root exploit
    allowing users to escalate privileges.
  </synopsis>
  <product type="ebuild">cdrtools</product>
  <announced>2004-09-14</announced>
  <revised count="01">2004-09-14</revised>
  <bug>63187</bug>
  <access>local</access>
  <affected>
    <package name="app-cdr/cdrtools" auto="yes" arch="*">
      <unaffected range="ge">2.01_alpha37-r1</unaffected>
      <unaffected range="rge">2.01_alpha28-r2</unaffected>
      <vulnerable range="le">2.01_alpha37</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    The cdrtools package is a set of tools for CD recording, including the
    popular cdrecord command-line utility.
    </p>
  </background>
  <description>
    <p>
    Max Vozeler discovered that the cdrecord utility, when set to SUID root,
    fails to drop root privileges before executing a user-supplied RSH program.
    By default, Gentoo does not ship the cdrecord utility as SUID root and
    therefore is not vulnerable. However, many users (and CD-burning
    front-ends) set this manually after installation.
    </p>
  </description>
  <impact type="high">
    <p>
    A local attacker could specify a malicious program using the $RSH
    environment variable and have it executed by the SUID cdrecord, resulting
    in root privileges escalation.
    </p>
  </impact>
  <workaround>
    <p>
    As a workaround, you could remove the SUID rights from your cdrecord
    utility :
    </p>
    <code>
    # chmod a-s /usr/bin/cdrecord</code>
  </workaround>
  <resolution>
    <p>
    All cdrtools users should upgrade to the latest version:
    </p>
    <code>
    # emerge sync

    # emerge -pv "&gt;=app-cdr/cdrtools-2.01_alpha37-r1"
    # emerge "&gt;=app-cdr/cdrtools-2.01_alpha37-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0806">CAN-2004-0806</uri>
  </references>
  <metadata tag="requester" timestamp="2004-09-14T07:01:02Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2004-09-14T15:13:17Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2004-09-14T20:25:30Z">
    jaervosz
  </metadata>
</glsa>