summaryrefslogtreecommitdiff
blob: ad4c79db6af3180f04f36c60d93cefaab0c3935e (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200701-19">
  <title>OpenLDAP: Insecure usage of /tmp during installation</title>
  <synopsis>
    A shell script commonly released with OpenLDAP makes insecure usage of
    files in /tmp during the emerge process.
  </synopsis>
  <product type="ebuild">openldap</product>
  <announced>2007-01-23</announced>
  <revised>2007-03-11: 02</revised>
  <bug>159508</bug>
  <access>local</access>
  <affected>
    <package name="net-nds/openldap" auto="yes" arch="*">
      <unaffected range="ge">2.1.30-r10</unaffected>
      <unaffected range="ge">2.2.28-r7</unaffected>
      <unaffected range="ge">2.3.30-r2</unaffected>
      <vulnerable range="lt">2.1.30-r10</vulnerable>
      <vulnerable range="lt">2.2.28-r7</vulnerable>
      <vulnerable range="lt">2.3.30-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    OpenLDAP Software is an open source implementation of the Lightweight
    Directory Access Protocol.
    </p>
  </background>
  <description>
    <p>
    Tavis Ormandy of the Gentoo Linux Security Team has discovered that the
    file gencert.sh distributed with the Gentoo ebuild for OpenLDAP does
    not exit upon the existence of a directory in /tmp during installation
    allowing for directory traversal.
    </p>
  </description>
  <impact type="low">
    <p>
    A local attacker could create a symbolic link in /tmp and potentially
    overwrite arbitrary system files upon a privileged user emerging
    OpenLDAP.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All OpenLDAP users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "net-nds/openldap"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0476">CVE-2007-0476</uri>
  </references>
  <metadata tag="requester" timestamp="2007-01-13T21:20:49Z">
    falco
  </metadata>
  <metadata tag="bugReady" timestamp="2007-01-14T21:54:19Z">
    falco
  </metadata>
  <metadata tag="submitter" timestamp="2007-01-15T00:28:23Z">
    shellsage
  </metadata>
</glsa>