Gentoo Logo

rssh: Privilege escalation


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200512-15 / rssh
Release Date December 27, 2005
Latest Revision December 27, 2005: 01
Impact high
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
app-shells/rssh < 2.3.0 >= 2.3.0 All supported architectures

Related bugreports: #115082


Local users could gain root privileges by chrooting into arbitrary directories.

2.  Impact Information


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.


Max Vozeler discovered that the rssh_chroot_helper command allows local users to chroot into arbitrary directories.


A local attacker could exploit this vulnerability to gain root privileges by chrooting into arbitrary directories.

3.  Resolution Information


There is no known workaround at this time.


All rssh users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-shells/rssh-2.3.0"

4.  References


Page updated December 27, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.