summaryrefslogtreecommitdiff
blob: 2c7685683e07c8e55f9a753ea98a8c94f3a635bc (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
74
75
76
77
78
79
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200602-11">
  <title>OpenSSH, Dropbear: Insecure use of system() call</title>
  <synopsis>
    A flaw in OpenSSH and Dropbear allows local users to elevate their
    privileges via scp.
  </synopsis>
  <product type="ebuild">OpenSSH</product>
  <announced>2006-02-20</announced>
  <revised>2006-02-20: 01</revised>
  <bug>119232</bug>
  <access>local</access>
  <affected>
    <package name="net-misc/openssh" auto="yes" arch="*">
      <unaffected range="ge">4.2_p1-r1</unaffected>
      <vulnerable range="lt">4.2_p1-r1</vulnerable>
    </package>
    <package name="net-misc/dropbear" auto="yes" arch="*">
      <unaffected range="ge">0.47-r1</unaffected>
      <vulnerable range="lt">0.47-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    OpenSSH is a free application suite consisting of server and
    clients that replace tools like telnet, rlogin, rcp and ftp with more
    secure versions offering additional functionality. Dropbear is an SSH
    server and client designed with a small memory footprint that includes
    OpenSSH scp code.
    </p>
  </background>
  <description>
    <p>
    To copy from a local filesystem to another local filesystem, scp
    constructs a command line using 'cp' which is then executed via
    system(). Josh Bressers discovered that special characters are not
    escaped by scp, but are simply passed to the shell.
    </p>
  </description>
  <impact type="low">
    <p>
    By tricking other users or applications to use scp on maliciously
    crafted filenames, a local attacker user can execute arbitrary commands
    with the rights of the user running scp.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All OpenSSH users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-misc/openssh-4.2_p1-r1"</code>
    <p>
    All Dropbear users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=net-misc/dropbear-0.47-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0225">CVE-2006-0225</uri>
  </references>
  <metadata tag="requester" timestamp="2006-02-06T20:22:40Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2006-02-07T06:29:22Z">
    frilled
  </metadata>
  <metadata tag="bugReady" timestamp="2006-02-20T20:03:36Z">
    koon
  </metadata>
</glsa>