GLSA 200512-15: rssh: Privilege escalation

Severity:high
Title:rssh: Privilege escalation
Date:12/27/2005
Bugs: #115082
ID:200512-15

Synopsis

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

Background

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.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-shells/rssh < 2.3.0 >= 2.3.0 All supported architectures

Description

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

Impact

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

Workaround

There is no known workaround at this time.

Resolution

All rssh users should upgrade to the latest version:

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

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200512-15.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!