summaryrefslogtreecommitdiff
blob: 1a70dac06277a3d0e4877354802f1dd65697189c (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
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200410-28">
  <title>rssh: Format string vulnerability</title>
  <synopsis>
    rssh is vulnerable to a format string vulnerability that allows arbitrary
    execution of code with the rights of the connected user, thereby bypassing
    rssh restrictions.
  </synopsis>
  <product type="ebuild">rssh</product>
  <announced>2004-10-27</announced>
  <revised count="02">2006-05-22</revised>
  <bug>66988</bug>
  <access>remote</access>
  <affected>
    <package name="app-shells/rssh" auto="yes" arch="*">
      <unaffected range="ge">2.2.2</unaffected>
      <vulnerable range="lt">2.2.2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    rssh is a restricted shell, allowing only a few commands like scp or
    sftp. It is often used as a complement to OpenSSH to provide limited
    access to users.
    </p>
  </background>
  <description>
    <p>
    Florian Schilhabel from the Gentoo Linux Security Audit Team found a
    format string vulnerability in rssh syslogging of failed commands.
    </p>
  </description>
  <impact type="high">
    <p>
    Using a malicious command, it may be possible for a remote
    authenticated user to execute arbitrary code on the target machine with
    user rights, effectively bypassing any restriction of rssh.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All rssh users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=app-shells/rssh-2.2.2"</code>
  </resolution>
  <references>
    <uri link="http://www.pizzashack.org/rssh/security.shtml">rssh security announcement</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-1628">CVE-2004-1628</uri>
  </references>
  <metadata tag="requester" timestamp="2004-10-25T13:31:44Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2004-10-25T13:31:54Z">
    koon
  </metadata>
  <metadata tag="submitter" timestamp="2004-10-26T13:24:10Z">
    koon
  </metadata>
</glsa>