1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200410-28 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: High |
8 |
Title: rssh: Format string vulnerability |
9 |
Date: October 27, 2004 |
10 |
Bugs: #66988 |
11 |
ID: 200410-28 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
rssh is vulnerable to a format string vulnerability that allows |
19 |
arbitrary execution of code with the rights of the connected user, |
20 |
thereby bypassing rssh restrictions. |
21 |
|
22 |
Background |
23 |
========== |
24 |
|
25 |
rssh is a restricted shell, allowing only a few commands like scp or |
26 |
sftp. It is often used as a complement to OpenSSH to provide limited |
27 |
access to users. |
28 |
|
29 |
Affected packages |
30 |
================= |
31 |
|
32 |
------------------------------------------------------------------- |
33 |
Package / Vulnerable / Unaffected |
34 |
------------------------------------------------------------------- |
35 |
1 app-shells/rssh < 2.2.2 >= 2.2.2 |
36 |
|
37 |
Description |
38 |
=========== |
39 |
|
40 |
Florian Schilhabel from the Gentoo Linux Security Audit Team found a |
41 |
format string vulnerability in rssh syslogging of failed commands. |
42 |
|
43 |
Impact |
44 |
====== |
45 |
|
46 |
Using a malicious command, it may be possible for a remote |
47 |
authenticated user to execute arbitrary code on the target machine with |
48 |
user rights, effectively bypassing any restriction of rssh. |
49 |
|
50 |
Workaround |
51 |
========== |
52 |
|
53 |
There is no known workaround at this time. |
54 |
|
55 |
Resolution |
56 |
========== |
57 |
|
58 |
All rssh users should upgrade to the latest version: |
59 |
|
60 |
# emerge --sync |
61 |
# emerge --ask --oneshot --verbose ">=app-shells/rssh-2.2.2" |
62 |
|
63 |
References |
64 |
========== |
65 |
|
66 |
[ 1 ] rssh security announcement |
67 |
http://www.pizzashack.org/rssh/security.shtml |
68 |
|
69 |
Availability |
70 |
============ |
71 |
|
72 |
This GLSA and any updates to it are available for viewing at |
73 |
the Gentoo Security Website: |
74 |
|
75 |
http://security.gentoo.org/glsa/glsa-200410-28.xml |
76 |
|
77 |
Concerns? |
78 |
========= |
79 |
|
80 |
Security is a primary focus of Gentoo Linux and ensuring the |
81 |
confidentiality and security of our users machines is of utmost |
82 |
importance to us. Any security concerns should be addressed to |
83 |
security@g.o or alternatively, you may file a bug at |
84 |
http://bugs.gentoo.org. |
85 |
|
86 |
License |
87 |
======= |
88 |
|
89 |
Copyright 2004 Gentoo Foundation, Inc; referenced text |
90 |
belongs to its owner(s). |
91 |
|
92 |
The contents of this document are licensed under the |
93 |
Creative Commons - Attribution / Share Alike license. |
94 |
|
95 |
http://creativecommons.org/licenses/by-sa/1.0 |